Hacker News new | ask | show | jobs
by root_axis 1602 days ago
How so? Your source code is still in Rust so seems like you'd still be tied to it.
1 comments

The source code is in Rust. But the compilation target is WASM instruction set.
Why does that matter with respect to being less tied to rust? Yes, it compiles to WASM but your engineers still have to write rust in order to make changes to the software. I mean I suppose they could edit the WASM directly since it's technically human readable, but if you're doing that why bother with rust at all?
In terms of platform support - if you target a VM you don’t have to worry about moving from Rust because another language might not support that runtime. Now any language that can work on a WASM VM is okay. Also, if the app isn’t monolithic it means supporting services can be in other languages than Rust too.