News for hackers. Stuff that matters.
Re:Freqfs: In-memory filesystem cache for Rust by haydnv on Saturday October 02, 2021 @09:51AM (#28728566)
mmap does map file contents into memory but does not provide read-write locking. The main limitation is that a file is not necessarily the same thing as the Rust data structure that it encodes. For example, if you store a Rust Vec in a file, loading the file with mmap won't allow you to `push` a new item onto the Vec.

There are no comments on this comment yet.