News for hackers. Stuff that matters.
Re:Writing a Memory Allocator for Fast Serialization by pjscott on Monday July 03, 2017 @09:44PM (#14692895)
The operating system will dutifully write back to disk whatever bytes your program left on those memory-mapped pages at the moment it terminated. If your data structures were in an inconsistent state -- pointers to nowhere, say -- then your file will get in the same inconsistent state, i.e. corrupted.

There are no comments on this comment yet.