Y
Hacker News
new
|
ask
|
show
|
jobs
by
saagarjha
2784 days ago
You can consider the entire virtual memory space to be a big vector, where a pointer is just an index into it!
2 comments
jstimpfle
2784 days ago
However that's a pretty poor vector. It's not homogeneous (you put things of different shapes inside). That also implies you need sophisticated memory management, leading to further overheads. You cannot meaningfully iterate it.
link
saagarjha
2784 days ago
I was mostly joking…
link
jstimpfle
2784 days ago
Yes and I'm serious :-)
link
photon-torpedo
2784 days ago
Yes, that's exactly how we do it in Fortran 77.
link