3 ms·
Also curious about this. Does 64-bit instruction set provide some segments or functionality form this? How about "native" pointers coming from glib and such?
by miohtama 7y ago
Also curious about this.
Does 64-bit instruction set provide some segments or functionality form this? How about "native" pointers coming from glib and such?
If there has to be base + offset translation on every pointer access it is way too slow.
I would also assume JavaScript VMs in browsers would be already utilising this, as web page workloads are not gigabytes (hopefully).
- deleted 7y ago[deleted]
- chrisseaton 7y ago> If there has to be base + offset translation on every pointer access it is way too slow. It does do this, but it's not too slow - the overhead of the translation is lower than the benefit of reduced memory transfer, increased cache space, etc. Obviously - otherwise people wouldn't be doing it.
- jerven 7y agoI don't think the current V8 release has this build in yet. This something the common JVMs have been doing this since at least 2006.
- cesarb 7y ago> If there has to be base + offset translation on every pointer access it is way too slow. The memory access instructions in the x86 ISAs can do base + offset in a single instruction.
- kccqzy 7y ago> If there has to be base + offset translation on every pointer access it is way too slow. It's time to update your intuition: memory access is usually slow, much slower than simple arithmetic.