3 ms·
I really expected WASM to support higher level languages like Java, Python or even Visual Basic by now. I dont like JS front ends but Rust/C++ seems worse for f
by rr808 4y ago
I really expected WASM to support higher level languages like Java, Python or even Visual Basic by now. I dont like JS front ends but Rust/C++ seems worse for front end work.
- IggleSniggle 4y agoWASM is still really not appropriate for frontend work. It’s for backend work that happens to run on a client. All the traditional browser stuff is still done on the js side.
- chrismorgan 4y agoThat was never the intention for WASM—frontend WASM, at least—since all of those languages have heavy runtimes that would need to be shipped, quite apart from the difficulty of arranging their garbage collection techniques. It’s all stuff that can be done (and has been done), but it’s very inefficient by comparison. The situations may improve somewhat in the future with lighter, more WASM-attuned runtimes for the languages in question (especially as WASM gets some degree of GC integration), but they’ll never be as suitable as straight JavaScript or the likes of Rust via WASM.
- lordnacho 4y agoFor rudimentary GUIs I like rust, specifically the immediate mode lib called egui. It won't be super fancy but you can do enough with it, it feels responsive, and I can show my basic controls without too much effort. Mind you, what I use it for is not sexy at all, really just something one might use a spreadsheet for.