3 ms·
Asm.js is exactly made for things like that: the pieces of code that don't depend on "strings" but calculate a lot. And for things like this: http://bellard.or
by acqq 14y ago
Asm.js is exactly made for things like that: the pieces of code that don't depend on "strings" but calculate a lot. And for things like this:
http://bellard.org/jslinux/ http://bellard.org/jslinux/
For "strings" the existing JITers do already the good job. You can just use JavaScript as is then.
- munificent 14y agoYes, agreed. asm.js is a great fit here. My point was that that fact doesn't generalize well to other problem areas. Earlier you said asm.js isn't just a compiler target, but if your program uses strings, or objects, or closures, or GC, then it's not going to be a good fit to use asm.js.