3 ms·
Definitely not the end of JavaScript. But it is the end of JavaScript-only. It's likely we'll see other languages targeting WebAssembly in the next few years.
by judah 10y ago
Definitely not the end of JavaScript. But it is the end of JavaScript-only.
It's likely we'll see other languages targeting WebAssembly in the next few years. I heard rumors Microsoft is working on something in that area. If I were to guess, I'd expect a TypeScript-to-WASM and C#-to-WASM to follow. Java, Rust, Go, and others will likely have something too.
Additionally, I expect to see some JS-heavy frameworks (React, Angular, etc.) write performance-critical sections with WASM, thus benefiting a great number of web apps.
- bluejekyll 10y agoRust already has something: https://hackernoon.com/compiling-rust-to-webassembly-guide-411066a69fde#.4nukotm6s https://hackernoon.com/compiling-rust-to-webassembly-guide-4...
- k__ 10y agoRust on WASM is probably trivial. But C#, Java and Go are GC languages, porting them is probably a much heavier venture.
- tmccrmck 10y agoWhere did you hear these rumors? I could see a WebAssembly target for MSVC in the near future (say hello to Office in the browser) but the CoreCLR needs GC so it's currently out of the question.
- judah 10y agoI heard this directly from a higher up at MS during a conference afterparty. He said he couldn't wait for browser support for Web Assembly to go live so he can show the things they're working on. And yeah, for C# to WASM, we'd need garbage collection support in WASM. That doesn't exist yet, though it's on the list of future enhancements[0]. [0]: https://hacks.mozilla.org/2017/02/where-is-webassembly-now-and-whats-next/ https://hacks.mozilla.org/2017/02/where-is-webassembly-now-a...