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
https://twitter.com/MStrehovsky/status/1669502394827419648
I’m pretty sure that 70MB is including the entire .NET standard library, which is massive. Enabling NativeAOT or trimming reduces the size down to a few MB