News for hackers. Stuff that matters.
Re:How small is the smallest .NET Hello World binary? by stickfigure on Sunday July 09, 2023 @11:44AM (#36655428)
> echo "hello world"

I count 18 bytes in that program. Too long!

I left a definitive answer on Quora some years ago:

https://www.quora.com/What-programming-language-has-the-shor...

[dead]
Re:How small is the smallest .NET Hello World binary? by cvoss on Sunday July 09, 2023 @06:39PM (#36659746)
If you insist on categorizing `echo "hello world"` as the invocation, rather than the program, then what is the program under your categorization? I'll submit that it is the `echo` binary, which is a whopping 35kB on my machine.

I'll just observe that there is no way to compress "hello world" below a certain size (definitely not to size 0). If you think you have, you've just "moved" it into, say, the framework/os/input/algorithm/etc.

But this fun little debate we're having here is actually connected to some deep theoretical questions, like Kolmogorov complexity, its invariance theorem, and applications to the concept of data compression [0].

[0] https://en.wikipedia.org/wiki/Kolmogorov_complexity