{"repo":"chjj/lcdb","free":true,"listed":false,"github":"https://github.com/chjj/lcdb","clone":"git clone https://github.com/chjj/lcdb.git","description":"LevelDB implemented in C (unofficial -- not affiliated with Google in any way)","language":"C","stars":104,"topics":["database","lsm","leveldb","c"],"license":null,"category":"databases-storage","readme_excerpt":"lcdb DISCLAIMER: lcdb has no affiliation with or endorsement from Google Inc. whatsoever despite the API prefix being ldb (let's hope they don't [cease and desist][cad] us again). A state-of-the-art database in C89 (originally designed by Jeffrey Dean and Sanjay Ghemawat and [implemented in C++][ldb]). Background [LevelDB][ldb] was painstakingly ported from C++ to C89¹ for use with [mako]. mako is a C project which requires an LSM tree for its UTXO database (which in turn requires high write throughput with very effective compaction). mako has a strict development policy of \"do not link to libstdc++\" and \"do not require a c++ compiler\". LevelDB is used by many bitcoin implementations for indexing the UTXO state. After experimenting with various databases written in C, it was clear that LevelDB was still the obvious choice, despite it being written in C++. Existing databases written in C weren't cutting it in terms of performance (in some cases maybe they were, but instead lacked effective compaction). mako 's strict policy of portability plus the lack of a production-ready LSM tree written in C ultimately led to the creation of lcdb . 1. Note that the platform (or user) must still provide a working as a build dependency. Portability Portability is one of lcdb 's primary goals. lcdb is written in such a way that it should be usable on Windows 9x¹ as well as unices which predate POSIX.1-2001. Portability to this degree was achieved by sifting through copies of MSDN from the '90","default_branch":null,"files":null,"tree":[],"storefront":"/r/chjj","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chjj/lcdb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}