logoalt Hacker News

WhyNotHugo02/19/20253 repliesview on HN

1328 bytes for a hello world? BLOAT!


Replies

runlevel102/20/2025

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

ptspts02/20/2025

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.

show 1 reply
ramon15602/19/2025

Time to rice my unix!

show 1 reply