7 ms·
In the FAQ it just says "Come on" for SQLite included in the list. Can you provide a bit more detail? This feels like a pretty great option to include here.
by quinthar 10y ago
In the FAQ it just says "Come on" for SQLite included in the list. Can you provide a bit more detail? This feels like a pretty great option to include here.
- nickez 10y agoIt is a 6MB file produced from several source files.. Does any library count if I concatenate all the source files to a single file?
- quinthar 10y agoWell if the rules are: - Libraries must be usable from C or C++, ideally both - Libraries should be usable from more than one platform (ideally, all major desktops and/or all major mobile) - Libraries should compile and work on both 32-bit and 64-bit platforms - Libraries should use at most two files Then ya, I think it'd fit. I'm not sure why size matters here: the goal is to have libraries that are easily embedded. Anyway, I was mainly curious for the reason. If size is the reason, then that's that. Thanks!
- BinaryIdiot 10y agoSure, why not? It's just another distribution method of a library and it seems to fit the criteria. Why would it matter if the original developer coded everything in a single, huge file or multiple small ones that get distributed as one? Seems arbitrary.
- netheril96 10y agoI believe the "any library" should count if it just builds when concatenated. Many won't though.
- idm 10y agoMy theory: everybody knows sqlite can be distributed as a single-file library that you can happily embed. However, it's a pretty complex beast compared to the rest of the list and maybe it's outside the vision of the list altogether, which features much simpler projects. Edit: to be even clearer, sqlite is 100+ .c files. Yes, you can make it one "amalgamated" .c file, but no developer works on that file; they work on the 100+ smaller .c files.
- deleted 10y ago[deleted]
- billforsternz 10y agoNo developer working on SQLite uses the amalgamated file, but developers using SQLite often do use the amalgamated file.
- sfifs 10y agoI guess you mean SQLite developers don't use the amalgamation. It is used by users. The amalgamation is used for instance in the most popular Golang library to provide SQLite engine.
- jbarham 10y agoFor the record: https://github.com/mattn/go-sqlite3 https://github.com/mattn/go-sqlite3
- billforsternz 10y agoI was puzzled by that too. I've used the SQLite amalgamation and thought it was a very clever way of avoiding the complexities of libraries. I took inspiration from it in my chess program and amalgamated all my chess primitives into a single file to avoid the pain of a library dependency. It's an inspired idea and deserves better than "come on".
- gfody 10y agoThey also say shame on you if you're using XML, so I suspect some adolescent. Ain't no shame in using XML kiddo
- cgvgffyv 10y agoExtraordinary claims require extraordinary evidence. On your part, that is.