News for hackers. Stuff that matters.
Re:A New Go API for JSON by simlevesque on Wednesday November 04, 2026 @04:17PM (#50371672)
My only issue with it is that you can't ship a wasm go app in under 2mb. With rust you can make it under 100kb.
Re:A New Go API for JSON by jazzypants on Wednesday November 04, 2026 @05:54PM (#50372600)
[deleted]
Re:A New Go API for JSON by groundzeros2015 on Wednesday November 04, 2026 @10:05PM (#50374635)
Jeez, and I thought 100 KB was absurd.
Re:A New Go API for JSON by citizenpaul on Thursday November 05, 2026 @02:57PM (#50383666)
Do you do a lot of work in WASM? What is a reasonable size? Or just against the every increasing internet bloat in general?
Re:A New Go API for JSON by groundzeros2015 on Thursday November 05, 2026 @11:52PM (#50388378)
Think about how many instructions fit in 100 KB. Why are they in your hello world?

Binary bloat is not just about size; it impacts startup time and icache. It’s basically the speed of light launch time.

So you’re telling me rust is not good for UNIX style tools.

Re:A New Go API for JSON by xarope on Thursday November 05, 2026 @02:37AM (#50376274)
isn't that one of TinyGo's raison d'etre's? I've never tried wasm, but executables are typically a magnitude smaller than go's (assuming your go code is compatible with tinygo, of course)