Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
saagarjha
7y ago
0 comments
Save
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
4 comments · 2 top-level
top
newest
oldest
jstimpfle
7y ago
· 2 in thread
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