(no title)
_0w8t | 2 years ago
This slows down object access as detecting and stripping the NaN tag requires few CPU instructions. Plus it assumes that pointers only have 48 bits with rest are zeros (true for AMD, ARM and Intel) or at least have fixed values (can be arranged on more exotic CPUs). But that does not require to box numbers greatly reducing GC pressure.
jsheard|2 years ago
Except when it isn't: https://en.wikipedia.org/wiki/Intel_5-level_paging
That's not something you're likely to run into on consumer hardware, but with JS being used on the server I wonder if/when JS engines will need to deal with that.
toast0|2 years ago
I guess you could have a lot of files mmaped though?
aapoalas|2 years ago
_0w8t|2 years ago
esprehn|2 years ago
https://stackoverflow.com/questions/63550957/why-does-v8-use...
https://news.ycombinator.com/item?id=16985390
_0w8t|2 years ago