News for hackers. Stuff that matters.
Re:“The 'use asm' pragma is not necessary to opt into optimi... by Timmmmbob on Tuesday October 15, 2013 @03:45PM (#6555845)
He's saying it eliminates garbage collection by emitting code that doesn't dynamically allocate any objects. The GC is still active it just never needs to do anything. If you remove the 'use asm' pragma the code will still not allocate any objects and hence the GC will still never need to do anything.
Re:“The 'use asm' pragma is not necessary to opt into optimi... by mistercow on Wednesday October 16, 2013 @10:09PM (#6563299)
Ah, I see what you're saying. The point being that you still have the GC for any non-asm.js code on the same page. And I suppose by the same token, you could "opt out" of GC without asm.js by using various techniques to eliminate allocations.