[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New project goal: Get rid of Berkeley DB (post jessie)



Ondřej Surý <ondrej <at> sury.org> writes:

> True, but gdbm is GPL and LGPL and that's a problem for many non-GPL
> applications using Berkeley DB now.

For applications that are not limited to the on-disc file format
compatibility, but just need an easy key/value storage API, like
gdbm users, you could just use the one from BSD libc (ndbm it is
called actually, I just looked, between the previous message and
this one).

https://www.mirbsd.org/man/ndbm.3

Or even:

https://www.mirbsd.org/man/dbm.3
https://www.mirbsd.org/man/db.3

Or the btree, hash, mpool, recno ones directly… (rcdb is a MirBSD
extension, a plain-text ASCII-based file format accessed using
the same API, but editable by $EDITOR by the sysadmin).

bye,
//mirabilos


Reply to: