Hacker News new | ask | show | jobs
by coldlestat 2545 days ago
| Pointer compression saves an average of 40% of memory.

This is really awesome. Can't wait it to be shipped everywhere.

1 comments

I wonder if this is specific to v8 or could SpiderMonkey and JavascriptCore could benefits from the same optimisation technique.
I believe JVMs were the first to use pointer-compression.

A good summary is at https://stackoverflow.com/a/25120926/

Also worth reading: https://blog.codecentric.de/en/2014/02/35gb-heap-less-32gb-j...

It's used in other languages too, but how easy it is to apply to another JS engine depends on its implementation.

Nothing v8 exclusive about it though