Comment by simlevesque

23 days ago

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.

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)

Jeez, and I thought 100 KB was absurd.

  • Do you do a lot of work in WASM? What is a reasonable size? Or just against the every increasing internet bloat in general?

    • 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.