Re:What does “asm.js optimizations” mean?
by CJefferson on Wednesday February 18, 2015 @04:52PM
(#9071203)
Couldn't the JIT provide me a way of allocating new blocks of memory? and freeing blocks of memory back to the 'OS'? At least allocating new blocks?
I don't mind no GC, but having to allocate the maximum memory your program will use before it starts can be painful.
This is definitely a trade-off, but it's my understanding that asm.js makes more sense as a target for compilers to emit code for, rather than for hand-writing. Would you hand write an entire application in x86 assembly? Probably not...