seven programming languages on one floppy (Developers)
> There are C interpreters. And the Forth thing you quoted said it compiled
> just in time too I think.
> So - what's wrong with either a C interpreter or something that compiles
> your C program before running it?
Does it actually reach the goal? IOW is the sourcecode (+ whatever you do with the libs) smaller than the compiled binary? My gut says that C is not expressive enough to make it a space efficient scripting language
> Also what's wrong with putting the C library in either the OS or in a DLL
> like msvcrt.dll? That will produce a small executable too.
Yes, but a single deployment (exe+dll) will be larger. Only multiple compiled files will actually save something. This due to unused code (by this program) in the DLL, and the DLL glue code itself.
Same goes for memory. If the DLL can't be shared in memory (and page out unused sections), the memory footprint of running multiple binaries will be larger in the memory.
> If you don't like even a few k for a hello world because of the executable
> overhead, then even that can be changed with a simpler executable format.
Small hello world is pointless in a dos forum, as there is always the hard to beat "echo" in the command interpreter. @echo<space> has 6 bytes overhead.
Complete thread:
- seven programming languages on one floppy - Rugxulo, 19.03.2023, 03:16
- seven programming languages on one floppy - kerravon, 21.03.2023, 05:39
- seven programming languages on one floppy - Rugxulo, 25.03.2023, 04:12
- seven programming languages on one floppy - kerravon, 25.03.2023, 05:34
- seven programming languages on one floppy - Rugxulo, 27.03.2023, 09:25
- seven programming languages on one floppy - kerravon, 28.03.2023, 04:00
- seven programming languages on one floppy - Rugxulo, 28.03.2023, 12:29
- seven programming languages on one floppy - DosWorld, 03.04.2023, 12:03
- seven programming languages on one floppy - Rugxulo, 02.04.2023, 08:08
- seven programming languages on one floppy - kerravon, 03.04.2023, 03:04
- seven programming languages on one floppy - Rugxulo, 03.04.2023, 10:33
- seven programming languages on one floppy - kerravon, 03.04.2023, 10:55
- seven programming languages on one floppy - Rugxulo, 14.04.2023, 02:30
- seven programming languages on one floppy - DosWorld, 15.04.2023, 23:42
- seven programming languages on one floppy - kerravon, 26.05.2023, 02:17
- seven programming languages on one floppy - kerravon, 26.05.2023, 11:07
- seven programming languages on one floppy - DosWorld, 26.05.2023, 23:23
- seven programming languages on one floppy - kerravon, 31.05.2023, 17:36
- seven programming languages on one floppy - DosWorld, 02.06.2023, 23:07
- seven programming languages on one floppy - Rugxulo, 15.06.2023, 04:16
- seven programming languages on one floppy - DosWorld, 02.06.2023, 23:07
- seven programming languages on one floppy - kerravon, 31.05.2023, 17:36
- seven programming languages on one floppy - DosWorld, 16.04.2023, 00:32
- seven programming languages on one floppy - kerravon, 16.04.2023, 01:32
- seven programming languages on one floppy - Rugxulo, 14.01.2024, 10:00
- seven programming languages on one floppy - kerravon, 16.04.2023, 01:32
- seven programming languages on one floppy - Rugxulo, 14.04.2023, 02:30
- seven programming languages on one floppy - kerravon, 03.04.2023, 10:55
- seven programming languages on one floppy - marcov, 04.04.2023, 10:49
- seven programming languages on one floppy - Rugxulo, 03.04.2023, 10:33
- seven programming languages on one floppy - kerravon, 03.04.2023, 03:04
- seven programming languages on one floppy - Rugxulo, 10.04.2023, 06:57
- seven programming languages on one floppy - Rugxulo, 28.03.2023, 12:29
- seven programming languages on one floppy - kerravon, 28.03.2023, 04:00
- seven programming languages on one floppy - jhall, 27.03.2023, 17:56
- seven programming languages on one floppy - kerravon, 28.03.2023, 04:04
- seven programming languages on one floppy - Rugxulo, 27.03.2023, 09:25
- seven programming languages on one floppy - kerravon, 25.03.2023, 05:34
- seven programming languages on one floppy - Rugxulo, 25.03.2023, 04:12
- seven programming languages on one floppy - kerravon, 21.03.2023, 05:39