3 ms·
I thought that without runtime rust would be easy to compile to bare webassembly (no emscripten). But you lose stdout, backtraces. lto doesn’t seem to be worki
by iTokio 9y ago
I thought that without runtime rust would be easy to compile to bare webassembly (no emscripten).
But you lose stdout, backtraces. lto doesn’t seem to be working.
Which is okay except that there is no easy way to override/replace what’s missing without hacks.
So wasm is an ideal exotic enough target to test if rust is truly portable and if libstd design isn’t too coupled with Linux/Windows/macOS.
- steveklabnik 9y agoWasm is an intense focus of this year. There's a ton of activity going on. We'll get there! I agree with you 100%, by the way. That's why I think wasm is important for Rust, even disregarding feelings about it as a specific technology. It's like a very small embedded platform.