|
|
|
|
|
by zfedoran
3393 days ago
|
|
I'd love to know what the current advantages are over running asm.js? I understand that it will definitely be faster eventually, but if I have a project that uses asm.js today, would it make sense to run it with WebAssembly instead? (ignoring the fact that not all browsers support it) One potential issue: "If you have lots of back-and-forth between WebAssembly and JS (as you do with smaller tasks), then this overhead is noticeable." As far as I'm aware, asm.js code does not have an issue with this, as it is just js code. Is this correct? (edit: I should have mentioned that I'm primarily interested from an electron.js point of view at the moment, where Firefox asm.js optimizations are unavailable) |
|
Memory allocation is particularly painful in asm.js, for example.