News for hackers. Stuff that matters.
Re:SQLite: Small, Fast, Reliable – Choose any three by oscargrouch on Monday July 14, 2014 @09:17PM (#8034208)
if you open the Sqlite source, the Vdbe engine, the engine that process the SQL queries to the backend, use a "simple" key value store, that is the on-disk btree backend of the sqlite.. so you can create a btree api-like using other key-value store as backend, and it would work the same..

This way you can give a full SQL engine to any key-value store out there..

Thats why the Sqlite4 are being designed to be more plugable.. with a shim key-value wrapper over the storage backend that can be changed, in compile time, or even in runtime given its use of C callbacks.. (but dont know any reason someone would want to to that.. to do a runtime switch anyway)

Re:SQLite: Small, Fast, Reliable – Choose any three by hyc_symas on Tuesday July 15, 2014 @11:18AM (#8036914)
Replacing the btree engine in SQLite3 is far from easy. BerkeleyDB did it with major surgery to the SQLite3 source tree. LMDB did the same. https://gitorious.org/mdb/sqlightning
Re:SQLite: Small, Fast, Reliable – Choose any three by malkia on Tuesday July 15, 2014 @05:29AM (#8035493)
Interresting... wondering if I can easily map the kv part to say lua's table dictionary