16 ms·
How about compiling client-side with wasm, fully or partially? Feasible? Was it considered?
by wild_pointer 1y ago
How about compiling client-side with wasm, fully or partially? Feasible? Was it considered?
- petabyt 1y agoSome of the compilers they use (msvc) are not open source and are not allowed to run in wasm. And porting entire compiler toolchains to wasm would be a gargantuan task.
- charcircuit 1y agoWASM has x86 emulators.
- tempay 1y agoIt would be a lot of data to download and would likely be uncomfortably slow for many cases. Also, as is mentioned in the article in a few places, the website is optimised for low effort rather than low cost.
- jenadine 1y agoThat would imply compiling each compiler to wasm, which might not be supported. Plus challenges like making a virtual file system to get the header files and other files needed for the compilation. Edit: also, you couldn't execute the resulting binary