logoalt Hacker News

WhyNotHugolast Wednesday at 11:43 PM3 repliesview on HN

1328 bytes for a hello world? BLOAT!


Replies

runlevel1last Thursday at 9:34 AM

That 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

ptsptslast Thursday at 12:24 AM

My 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.

ramon156last Wednesday at 11:51 PM

Time to rice my unix!

show 1 reply