4 ms·
Currently browsers only support JS. If you want another language you have to transpile to JS or implement your language in JS, etc. If the browser vendors wer
by ericfrederich 9y ago
Currently browsers only support JS. If you want another language you have to transpile to JS or implement your language in JS, etc.
If the browser vendors were going to add another language I would have hoped it would be something so generic like LLVM instead of this WebASM which is too tied to JS.
- Skuzzzy 9y agoLlvm has a web assembly backend
- krallja 9y ago> Currently browsers only support JS. Except Chrome and Firefox, which both support WebAssembly.
- bzbarsky 9y agoLLVM bitcode doesn't make a great interchange format, because it's not really hardware agnostic, last I checked. Obviously you _can_ run it on hardware it's not created for, e.g. in an emulator or via some extra transpiling. But now you're introducing some serious inefficiency into the pipeline.