News for hackers. Stuff that matters.
Re:Single-file public-domain/open source C libraries with mi... by wellwatch on Friday January 22, 2016 @10:54PM (#10957110)
Why isn't SQLite's amalgamated build on this list? Come on.

I don't understand this. Can someone explain it to me?

Re:Single-file public-domain/open source C libraries with mi... by zyxley on Saturday January 23, 2016 @12:52AM (#10957371)
> The amalgamation is a single C code file, named "sqlite3.c", that contains all C code for the core SQLite library and the FTS3, FTS5, RTREE, DBSTAT, JSON1, and RBU extensions. This file contains about 184K lines of code (113K if you omit blank lines and comments) and is over 6.4 megabytes in size. Though the the various extensions are included in the "sqlite3.c" amalgamation file, they are disabled using #ifdef statements.

https://www.sqlite.org/amalgamation.html

Re:Single-file public-domain/open source C libraries with mi... by userbinator on Saturday January 23, 2016 @10:01AM (#10958566)
In other words, it's stretching the definition of "single file" a bit... but then again, I don't know any other SQL databases anywhere near as small as SQLite.
Re:Single-file public-domain/open source C libraries with mi... by srpeck on Sunday January 24, 2016 @09:32AM (#10962587)
Smallest commercially viable SQL database is probably the latest k5/kdb (http://kparc.com/), which is implemented in something like 9KB of code (source: http://kparc.com/o.htm).
Re:Single-file public-domain/open source C libraries with mi... by DenisM on Saturday January 23, 2016 @01:22PM (#10959301)
Yeah I think that's rather silly, both the lack of an explanation and the implied reason if we guessed it correctly (thanks for making us guess and have this hypothetical discussion).

Being single file is about simplified project management. How is the file size relevant?