2 ms·
I’ve been thinking about this a lot in the last few years, and recently did a deep dive on Rust wasm. I think it’s unlikely to be a single new language that re
by theptip 4y ago
I’ve been thinking about this a lot in the last few years, and recently did a deep dive on Rust wasm.
I think it’s unlikely to be a single new language that replaces the current JS hegemony. My bet is that wasm makes it possible for any backend language to embed frontend logic, and each language will have framework(s) to take advantage of this capability in idiomatic ways.
I want to avoid specific language comparisons because they tend to veer into religious territory and shed more heat than light, but perhaps I can just note that Java, Rails, Elixir, Python and may others have great productive backend frameworks which could easily be extended to build and ship wasm to clients.
(I think the model of the new JS framework Fresh is interesting to hold as a comparison for what sort of thing you can do with unified FE/BE stack; shipping client JS only when the specific page needs interactivity is one cool feature for example. But with wasm you’re free to pick any point along the MPA - SPA spectrum.)