2 ms·
Yeah; I mentally put SQLite in the tiny corner of software that works well. Every time I play video games and see that "Don't turn off your console when you se
by josephg 4y ago
Yeah; I mentally put SQLite in the tiny corner of software that works well.
Every time I play video games and see that "Don't turn off your console when you see this icon" I die a little inside. We've known how to write data atomically for decades. I find it pretty depressing that most video games just give up and ask the user to make sure they don't turn their console off at inopportune moments.
And I don't even blame the game developers'. Modern operating systems don't bother giving userland any simple & decent APIs for writing files atomically. Urgh.
- guitarbill 4y agoYou may or may not be surprised at how many drives acknowledge a write, but instead of committing it to the physical storage put it in a cache, and then don't have enough power reserves to flush the cache on power failure... hard to design software around hardware that lies.