Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
saagarjha
7y ago
0 comments
Share
You can consider the entire virtual memory space to be a big vector, where a pointer is just an index into it!
0 comments
default
newest
oldest
jstimpfle
7y 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.
saagarjha
OP
7y ago
I was mostly joking…
jstimpfle
7y ago
Yes and I'm serious :-)
photon-torpedo
7y ago
Yes, that's exactly how we do it in Fortran 77.
j
/
k
navigate · click thread line to collapse