News for hackers. Stuff that matters.
Re:Rust Is the Future of JavaScript Infrastructure by skohan on Thursday November 11, 2021 @03:42PM (#29192894)
It seems to me the future is rather in gradually replacing JS engines with a WASM back-end. The whole webpack/babel ecosystem could be replaced by a toolchain which targets WASM, and browsers could ship with a JS engine which just translates es5 to WASM for legacy support.

I guess the WASM api is lacking a lot of features which would be required to make this work, but I don't see why it shouldn't be the goal.

Re:Rust Is the Future of JavaScript Infrastructure by sroussey on Thursday November 11, 2021 @03:54PM (#29193036)
JS is too complex for that. But you can have a look at AssemblyScript.