Comment

Comment by gary_0

> This implementation is hardcoded to use 4GB virtual address for each vector, so you can have billions of these per process.

The actual virtual address space on current x86-64 processors is only 48 bits[0], so unless I am mistaken, you can only create thousands (around 2^16), not billions.

[0] https://en.wikipedia.org/wiki/X86-64#Architectural_features

parent gary_0 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton