SizeCoding.org: creating very tiny programs for the 80x86 family of CPUs
sizecoding.org
sizecoding.org
I was organizer of a small demo party called 0a000h. 4k intro competitions were quite common, 256 bytes happened sometimes, I think we were the first to go even lower. We had some impressive results especially in the 64b.
We also did fast-size-coding competitions. We showed a simple effect and then asked people to come up with the smallest way to replicate that within a couple of hours.
Results are all linked on the webpage: https://www.0a000h.de/
Most of them should run in dosbox, unfortunately some make problems.
A little bit of assembly writing (and more importantly, reading) should be a part of a good CS curriculum but these tiny programs aren't a good place to start.
AFAIK Linux has a higher minimum size, as the ELF header alone has to be at least 45 bytes:
http://www.muppetlabs.com/~breadbox/software/tiny/teensy.htm...
Linux supports some other executable formats for embedded systems, but they don't have much less overhead than ELF.