Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
Ono-Sendai
11y ago
0 comments
Save
Share
If you have a pointer to an immutable data structure, you know it won't change, so you can write it out to disk at your leisure.
0 comments
1 comments · 1 top-level
top
newest
oldest
justincormack
11y ago
But the immutable data structure is not that much different from the copy-on-write pages the kernel gives you, likely to involve the same amount of copying. And disk IO is blocking so you need at least a thread, so it is a natural strategy.
j
/
k
navigate · click thread line to collapse