A fully self-contained natively compiled C# Hello World, including GC and everything can be as small as ~440 kB

Open link in next tab

https://twitter.com/MStrehovsky/status/1669502394827419648

See all comments

Which languages with a full runtime and memory management are in the same ballpark? Go, maybe? Obviously these are unimpressive figures for unmanaged languages.

Nim can compile helloworld to 800 Kb (or, with some tricks, to 50 Kb). This includes static linked libc, garbadge collection, nim std/system, and no compression.