News for hackers. Stuff that matters.
Re:Prepack helps make JavaScript code more efficient by batmansmk on Wednesday May 03, 2017 @02:20PM (#14258566)
It's a brilliant tool, bravo! Why did you go down that road instead of heap snapshot? Portability?
Re:Prepack helps make JavaScript code more efficient by NTillmann on Wednesday May 03, 2017 @08:19PM (#14261446)
Conceptually, Prepack would go together well with heap snapshots, as Prepack figures out what is the concrete heap, and what are residual computations. If we tweak Prepack to completely separate these two aspects in the generated code, then you'd heap snapshot after the concrete part has been build, and still run the fixup code at runtime.