News for hackers. Stuff that matters.
Re:Fish: A user-friendly command line shell for macOS, Linux... by FRex on Wednesday December 13, 2017 @03:06PM (#15917171)
I was about to say SQLite, it seems perfect - binary, fast, easy to update cheaply in place, immune to escaping et al problems (if you use prepared statements, not glue SQL with + of course), reliable, available in most languages (even for C and C++ the integration is trivial - it's a single pair of files drop in) and on the CLI, stable, the history data is very row/item oriented and not totally heterogeneous or free form, etc.

I totally drank the SQLite koolaid a long time ago.

Re:Fish: A user-friendly command line shell for macOS, Linux... by cben on Sunday December 17, 2017 @12:04PM (#15946525)
History file may be read & updated simultaneously my multiple processes. Is that sufficiently safe from corruption with SQLite? (honest question, no FUD implied. same risks apply to alternatives too.)
Re:Fish: A user-friendly command line shell for macOS, Linux... by timdierks on Sunday December 17, 2017 @05:09PM (#15947966)
Yes, SQLite has robust multiprocess locking and transaction support. https://sqlite.org/faq.html#q5