SQLite Codebase Quality

Discussions emphasize SQLite's exceptional testing, reliability, and code quality, arguing against forks, reimplementations, or alternatives due to its battle-tested status and the SQLite team's expertise.

📉 Falling 0.5x Databases
2,765
Comments
20
Years Active
5
Top Authors
#5472
Topic ID

Activity Over Time

2007
2
2008
2
2009
28
2010
23
2011
26
2012
27
2013
58
2014
72
2015
60
2016
105
2017
106
2018
220
2019
105
2020
194
2021
278
2022
477
2023
313
2024
310
2025
304
2026
55

Keywords

e.g IMHO JS OSS MIT FAQ WASM SQL cves.html SITUATION sqlite public domain domain public test coverage code projects tested clang

Sample Comments

creatonez Jun 8, 2021 View on HN

Does it being written by the Sqlite devs not improve the outlook for you?

mping May 24, 2020 View on HN

Agreed, its not a vanilla SQLite but can give you a rough idea of the quality of SQLite codebase.

xenadu02 Jan 12, 2023 View on HN

SQLite is the one project that deserves an exception. There is a near zero chance anyone else can do better with similar quality (and test coverage!)Sometimes you need to be pragmatic IMHO.

ilyt Oct 29, 2022 View on HN

Seems like entirely self inflicted problem; SQLite is not closed source, it doesn't need independent implementations

nitrogen Jun 9, 2018 View on HN

SQLite is so extensively tested and widely used it may as well be written in stone. It doesn't count as "writing C".

syncopate Jan 5, 2023 View on HN

sqlite's test suite is substantial and not open source, I doubt you could really fork it in a meaningful way

johnboiles Oct 4, 2022 View on HN

SITUATION: there are too many competing SQLite forks...

nothanks789 Oct 4, 2022 View on HN

By all means, fork the code base for your specific use case, but I'll trust drh and his team over some rando any day.sqlite isn't the most widely used database by accident - it's installed on practically every mobile phone on earth. It's the result of careful and deliberate design with millions of tests and fuzzing. The sqlite team is very responsive to its users' needs, but some features just don't make the cut. That's a good thing - to keep the library

stjohnswarts Dec 30, 2021 View on HN

Wouldn't that be leaving one huge advantage of sqlite behind (namely it's insane test regimen and battle tested history)?

qwertyuiop924 Aug 8, 2016 View on HN

Read SQLite's FAQ on that. Given, most projects aren't as amazing as SQLite.