News for hackers. Stuff that matters.
Re:In-Memory Filesystems in Rust by silon42 on Monday August 25, 2025 @03:26AM (#45011236)
I'd almost never want do to fsync in normal code (unless implementing something transactional)... but I'd want an explicit close almost always (or drop should panic/abort).
Re:In-Memory Filesystems in Rust by maxbond on Monday August 25, 2025 @09:39AM (#45013735)
I use transactional file operations when for instance when I write tools that change their own human-readable configuration files. If something is important enough to write to disk, then it's probably important enough that you can't tolerate torn writes.
Re:In-Memory Filesystems in Rust by adastra22 on Monday August 25, 2025 @03:33PM (#45017980)
Why? The explicit close does almost nothing.