ripgrep vs fd: source lines of code compared

As of 2026-08-16, BurntSushi/ripgrep contains 59,631 total lines (43,850 code) across 162 files, while sharkdp/fd contains 10,247 total lines (7,530 code) across 42 files as of 2026-08-17. BurntSushi/ripgrep is about 5.8x the size of sharkdp/fd by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.

MetricBurntSushi/ripgrepsharkdp/fd
Files16242
Total lines59,63110,247
Code lines43,8507,530
Comment lines8,8131,477
Blank lines6,9681,240
Languages counted119

Top languages in BurntSushi/ripgrep: Rust (93.7% of code), Python (2.6% of code), YAML (1.5% of code). Top languages in sharkdp/fd: Rust (93.5% of code), SVG (2.1% of code), Shell (2.1% of code). Rust, TOML appear in both top language lists; Python, YAML, Zsh appear only in BurntSushi/ripgrep's top languages; SVG, Shell, Makefile appear only in sharkdp/fd's top languages.

Methodology: both counts come from cached OctoCounts reports generated with tokei. BurntSushi/ripgrep was counted at ref master (commit 3fce3b5bb023) on 2026-08-16; sharkdp/fd was counted at ref master (commit ee20f426ddf3) on 2026-08-17. See the counting methodology for ignored directories and analysis options.

Evidence and next steps:

Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.