3 ms·
Serious question, because a lot of people have had this sentiment; what is it you think you'll get from WebAssembly as far as new languages that you don't alrea
by Touche 11y ago
Serious question, because a lot of people have had this sentiment; what is it you think you'll get from WebAssembly as far as new languages that you don't already get from transpile-to-JS languages today? There's everything from very dynamic languages like Opal to typed languages like Elm. What else do you expect?
- wizeman 11y agoEfficiency and ease of debugging? Just because it's possible to transpile to JS doesn't mean the resulting code will be fast/responsive or easy to debug. Which in turn means it won't be used for significant projects.
- Touche 11y agoDebugging will use SourceMaps which already exist today. As for efficiency, I haven't read anything that suggests WebAssembly will be more efficient than asm.js, why would it be?
- cicero 11y agoTry reading this: https://brendaneich.com/2015/06/from-asm-js-to-webassembly/ https://brendaneich.com/2015/06/from-asm-js-to-webassembly/ "Why: asm.js is great, but once engines optimize for it, the parser becomes the hot spot — very hot on mobile devices. Transport compression is required and saves bandwidth, but decompression before parsing hurts."
- bitL 11y agoImagine you create a JVM or CLR to WebAssembly converter. All languages and tooling available for them are instantly available for web. Life's good ;-)