Comment by kvemkon
21 hours ago
SQLite 3.51.1
$ wc -l ...
265908 sqlite-amalgamation-3510100/sqlite3.c
Is there any as large as possible single source (or normal with amalgamation version) more or less meaningful project that could be compiled directly with rustc -o executable src.rs? Just to compare build time / memory consumption.
The sqlite3.c file is generated from more finely-grained real sources, see https://www.sqlite.org/src/doc/trunk/README.md
SQLite is only deployed as a single file but the original sources are multiple files. They call it "The Amalgamation".
https://sqlite.org/src/doc/trunk/README.md
Yes, that's why I've asked about possible rust support of creating such version of normal project. The main issue, I'm unaware of comparably large rust projects without 3rdparty dependencies.
From my daily-use utilities, ripgrep and bat seem to have zero dependencies.
2 replies →