Search code examples
c++chashmap

Key-Value DB (an alternative to Berkeley DB?)


I'm looking for a hashmap on disk (Berkeley DB would fit exactly, but for the licensing problem). The requirements are:

  1. FOSS w/a commercial-friendly license (can be used in commercial applications without a fee)
  2. a C/C++ interface
  3. Embeddable
  4. decent speed? faster than SQLite would be ideal
  5. cross-platform would also be nice

Any suggestions welcome. Thanks!


Solution

  • How about the *dbm libraries?

    dbm ndbm gdbm sdbm tdbm and friends

    Plenty to choose from.