3 ms·
> TiKV is a relatively large Rust codebase, with 2 million lines of Rust. I don't understand why so many absolutely wants to inflate this number, as it doesn't
by Eikon 7y ago
> TiKV is a relatively large Rust codebase, with 2 million lines of Rust.
I don't understand why so many absolutely wants to inflate this number, as it doesn't mean anything about the product.
This inflation also leads to making part of the analysis of this article just wrong.
Running scc in TIKV's "src" folder:
Lines Blanks Comments Code
78442 7259 5476 65707
- azakai 7y agoThe article says the 2 million includes vendored code. I assume that means all the dependencies and their dependencies. (So yes, the project itself is just a small fraction of the total lines, but I'm not sure if the measurement here was of compiling the dependencies too, or not.)