Hacker GitHub

← All repos

MichalStrehovsky/sizegame

View on GitHub ↗ ★ 263 Scala

Compare binary sizes of canonical Hello World in 18 different languages

8 mentions on Hacker News by 7 people: 1 story, 7 comments · first 2023-02-23 · latest 2026-05-08

Mentions per year 8 mentions · busiest year 2024 (3)
20082026
  1. …as a single file with no dependancies. A hello world in .NET is half the size of one in Go: https://github.com/MichalStrehovsky/sizegame
    comment by MarkSweep · 2026-05-08 · in Just Use Go
  2. …have never been 9MB or 13MB, they definitely weren't in the 90s. Also these are rust binaries. https://github.com/MichalStrehovsky/sizegame
  3. Do you have data backing that up? Per https://github.com/MichalStrehovsky/sizegame : C#: 945 kB Go: 2174 kB Both are EXEs you just copy to the machine, no separate runtime needed, talks directly to the OS.
    comment by MStrehovsky · 2025-03-12 · in A 10x Faster TypeScript
  4. https://github.com/MichalStrehovsky/sizegame C#: 945 kB Go: 2174 kB
    comment by zigzag312 · 2025-03-11 · in A 10x Faster TypeScript
  5. …of various languages as of August 2024 when I'm commenting, but this is Swift 5.10 for Windows: https://github.com/MichalStrehovsky/sizegame Build actions here: https://github.com/MichalStrehovsky/sizegame/blob/master/.gi... What you want,…
  6. You can get much smaller native binaries with .NET's NativeAOT nowadays: https://github.com/MichalStrehovsky/sizegame Funnily enough, I'm using C# to solve quite a similar type of tasks. It's a really pleasant experience.
    comment by neonsunset · 2024-09-06 · in Swift is a more convenient Rust
  7. …help optimize further [3]. [1] https://learn.microsoft.com/dotnet/core/deploying/native-aot... [2] https://github.com/MichalStrehovsky/sizegame?tab=readme-ov-f... [3] https://learn.microsoft.com/dotnet/core/deploying/native-aot...