4 ms·
1328 bytes for a hello world? BLOAT!
by WhyNotHugo 2y ago
1328 bytes for a hello world? BLOAT!
- ramon156 2y agoTime to rice my unix!
- yjftsjthsd-h 2y agoHm. I wonder how hard it would be to write a neofetch (...er, "oldfetch"?) for v1 Unix. Maybe hardcode some of it? Should work.
- ptspts 2y agoMy https://github.com/pts/minilibc686 https://github.com/pts/minilibc686 can do printf-hello-world on i386 in less than 1 KiB. write-hello-world is less than 170 bytes.
- kragen 2y agoVery nice!
- runlevel1 2y agoThat reminded me of the compiler that used to include a large poem in every binary, just for shits and giggles. You've heard of a magic number, it had a magic sonnet. I thought it was early versions of the Rust compiler, but I can't seem to find any references to it. Maybe it was Go? EDIT: Found it: 'rust-lang/rust#13871: "hello world" contains Lovecraft quotes' https://github.com/rust-lang/rust/issues/13871 https://github.com/rust-lang/rust/issues/13871