Comment by kvemkon

Comment by kvemkon 18 hours ago

7 replies

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.
qznc 17 hours ago

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

  • kvemkon 17 hours ago

    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.

    • nine_k 17 hours ago

      From my daily-use utilities, ripgrep and bat seem to have zero dependencies.

      • kzrdude 15 hours ago

        I believe ripgrep has only or mostly dependencies that the main author also controls. It's structured so that ripgrep depends on regex crates by the same author, for example.

      • kvemkon 17 hours ago

        Looking at Cargo.toml, ripgrep seems to have some dependencies and bat has a lot.

[removed] 17 hours ago
[deleted]