3 ms·
I wonder how tinygo works for wasm. I’m not sure how much of the bloat is runtime (which I assume is smallish) vs how much of the standard library is just inclu
by todd3834 5y ago
I wonder how tinygo works for wasm. I’m not sure how much of the bloat is runtime (which I assume is smallish) vs how much of the standard library is just included by default.
- justinclift 5y agoTinygo produces very small binaries (kb rather than mb), through using the LLVM tool chain (which does tree shaking), and only (presently) supporting a subset of the standard library. Plus their own (simplified) subset of the standard library, which is getting more comprehensive over time, but is nowhere near complete yet.
- pjmlp 5y agoYou can have a go at it over here, https://ebiten.org/examples/ https://ebiten.org/examples/