News for hackers. Stuff that matters.
Re:The “Build Your Own Database” book is finished by jandrewrogers on Saturday April 22, 2023 @12:52PM (#35668476)
Memory mapping is a poor way to make a database[0], not all storage can be memory mapped, and this doesn't provide any of the functionality you expect of a database like indexing and concurrency control.

[0] https://db.cs.cmu.edu/mmap-cidr2022/

Re:The “Build Your Own Database” book is finished by jfrisby on Sunday April 23, 2023 @01:22AM (#35673520)
I saw a headline about the book on Reddit and made a joke to a friend of mine: "How much you wanna bet it uses mmap?" Well...

It uses mmap.

Re:The “Build Your Own Database” book is finished by mgaunard on Sunday April 23, 2023 @05:03AM (#35674611)
The concurrency control is managed by the server that manages access.

All databases that are any different than these two points are just bad.