seven programming languages on one floppy (Developers)
> I agree with what you say about bloat, but I'm a bit confused about this
> proposal.
It's not a proposal, just me thinking aloud about it. I'm just saying that some things are less than ideal. There's a reason I want to keep it small.
> AWK is a different language. If you prefer that language fine, but you have
> now compared interpretation to compilation.
I did not mean to imply that AWK (usually written in C) is overall better than C. (There's also REXX, TCL, and others.)
> There are C interpreters. And the Forth thing you quoted said it compiled
> just in time too I think.
I already mentioned PicoC (which I compiled with DJGPP in 2012), which I have sometimes used. It's imperfect but still better than nothing. (Detlef Reimers built a DJGPP version of EiC, which is more compatible with C89.)
> So - what's wrong with either a C interpreter or something that compiles
> your C program before running it?
Nothing's wrong with it. I'm just saying modern GCC isn't quite simple enough for what I want. (Older versions were smaller, e.g. 2.95.3, which I often use.)
TinyC has the -run option. The Win32 version relies on MSVCRT (same as MinGW).
> 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.
BC-Fortran77 (for DOS, circa 1990) used a TSR for its runtime (needed by both the compiler and .EXEs it produced).
> 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.
I'm just saying that a lot of compiled C programs are inefficient for various reasons. (And it's not only C, but C is more popular.)
You know Microsoft got their start with their BASIC. They were well-known for their compilers (and MS-DOS, which was mainly for them to keep selling their compilers to IBM). In some ways I'm comparing languages, but overall it's more just an idea for a good base collection of programming tools, better than the generic "just use GCC" nonsense.
I don't think including DEBUG is enough. I don't think including SubC is enough. I don't think including P5 Pascal is enough. We need good tools, and just one or two won't cut it. (But 130 MB is probably too much.) Look how much cool stuff was done back in the day in (limited) QBASIC. Why can no one do that anymore? Is Python the new BASIC? What happened to Perl? Why are they better than AWK? Turbo C or Turbo Pascal were insanely popular. Why can nothing good be written with them anymore?
Look at Menuet64. Look how much they crammed on their floppy. Look at the QEMU Advent Calendar(s). Look how many cool things work.
Complete thread:
- seven programming languages on one floppy - Rugxulo, 19.03.2023, 03:16 (Developers)
- 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