2 ms·
BerkeleyDB is similarly awful to use, with a billion little settings to configure before you can do anything useful, and endless fun ways to corrupt your databa
by fluoridation 3y ago
BerkeleyDB is similarly awful to use, with a billion little settings to configure before you can do anything useful, and endless fun ways to corrupt your database. It must be a thing with key-value store developers.
- rjh29 3y agoThe Perl core module for it isn't bad, it's one line to tie a hash to a DB file and then you can use it as normal. The main flags are to determine if it's RO/RW and whether to create the file if it doesn't exist.
- kazinator 3y agoNot the original DBM: https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/libdbm/dbm.h https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/libdbm... It's just a few paltry functions implementing a hashing scheme. Zero bells and whistles.