3 ms·
But in that case we already have all that with Electron. Unless you want to program in C/C++ or Rust, compiling your language to JS would probably result in an
by pron 7y ago
But in that case we already have all that with Electron. Unless you want to program in C/C++ or Rust, compiling your language to JS would probably result in an image that's both smaller (because you won't need to bring your own GC) and faster (because you'll be enjoying JS's JIT) than WASM.
JS is a better compilation target (you don't have to use JS directly) than WASM for the vast majority of languages. WASM is great for when you have a bit of code you'd like to write in C and use as a library from JS (or a language compiled to JS).
- oaiey 7y agoYeah valid point. I am quite comfortable with HTML but only tolerate JS with heavy use of TypeScript. For me C# and Blazor sound quite cool. The size is my biggest concern as well.