3 ms·
Hmm, what if VS Code was done in WASM with the ability to write extensions in any language with compilers that can produce WASM? Any obvious reasons this would
by bborud 5y ago
Hmm, what if VS Code was done in WASM with the ability to write extensions in any language with compilers that can produce WASM?
Any obvious reasons this would be a good/bad idea?
- ReleaseCandidat 5y agoThat wouldn't work, because WASM can't (directly, you need some JS bridge) interact with the DOM. Btw. you can transpile many languages to JS. Webassembly is the same as being able to call C libs (which don't have to be written in C) from Python. It's there to speed up bottlenecks.
- bborud 5y agoWouldn't it make more sense to design browsers where a WASM runtime interacts with the DOM (and architecturally make it look more like a device driver)? And you could just compile JS to WASM on demand (and possibly keep a cache).