3 ms·
On their github repo: > Simple "hello world" at about 65kb, comparable to React I assume that is minified and compressed. That's quite bloat. I wonder if they
by Existenceblinks 4y ago
On their github repo:
> Simple "hello world" at about 65kb, comparable to React
I assume that is minified and compressed. That's quite bloat. I wonder if they try https://github.com/johnthagen/min-sized-rust https://github.com/johnthagen/min-sized-rust ?
Also I feel like the BytecodeAlliance too much focus on their cloud runtime use case while seamless wasm + dom interop is where its adoption will skyrocking. I would rather write Rust/Go/Roc/any-sane-typing instead of TS.
- sroussey 4y agoHow about assemblyscript?
- Existenceblinks 4y agoIt's okay. It actually produces the smallest wasm binary size AFAIK. I'm just tired of niche languages already. If I were to go niche why not https://grain-lang.org/ https://grain-lang.org/ ? It's even a wasm-first lang. Zig is also good and produces small wasm binary. That said, I think Rust/Go is fine.
- jitl 4y agoAssemblyScript seems like a pointless also-ran. Why pick a language with very little support or community for your native code when you could pick Rust or C++? For any substantial app, I think an investment with Rust would be much better than an equal sized investment into AssemblyScript. I think Rust will be around in 5 years. Will AssemblyScript?
- sroussey 4y agoIt’s just a subset of TypeScript that compiles more directly to WASM and just as easily to JavaScript itself.