News for hackers. Stuff that matters.
Re:Are you sure you want to use MMAP in your database manage... by pizlonator on Friday January 14, 2022 @01:29PM (#29938162)
This is a great write-up!

Makes me wonder if there is an alternative universe in which there is a syscall with semantics similar to mmap that avoids these pitfalls. It's not like mmap's semantics are the only semantics that we could have for memory-mapped IO.

Re:Are you sure you want to use MMAP in your database manage... by sprachspiel on Friday January 14, 2022 @01:58PM (#29938606)
This would be exactly the kind of innovation we would need in computer science. Instead we often get stuck in local minima (in this case a 40-year old POSIX interface) without realizing how much pain this causes.