Comment by pornel
2 hours ago
You can't mix them. It won't pass validation, and will fail to be optimized as asm.js.
In asm.js you have to treat JS functions and objects as special extern values, just like in WASM.
asm.js - when validated and optimized - is closer to WASM serialized to a JS-like syntax than actual JS.
No comments yet
Contribute on Hacker News ↗