zama-ai/tfhe-rs has 899,777 source lines of code out of 991,338 total lines across 2,621 files, counted with tokei from the main ref at commit b07e249c925b on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
zama-ai/tfhe-rs: 899,777 code lines at commit b07e249c925b, counted with tokei-15.0.0 on 2026-11-13. Saved result 6b60c5c5a109f57fe93020aa6b86997a0f02224f51d6dc9d0551945e4ec15fa8.
OctoCounts produced this report by resolving zama-ai/tfhe-rs to commit b07e249c925b, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a large codebase by counted code lines. Code represents 90.8% of all lines, comments represent 2.7%, and the repository averages 343 code lines per file. Rust accounts for 50.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 2153 | 521641 | 452680 | 14497 | 54464 |
| Assembly | 40 | 358910 | 358273 | 547 | 90 |
| CUDA | 64 | 37950 | 34491 | 1767 | 1692 |
| C Header | 74 | 22163 | 16027 | 3193 | 2943 |
| JSON | 15 | 12657 | 12657 | 0 | 0 |
| Python | 46 | 9970 | 8139 | 340 | 1491 |
| TOML | 78 | 4398 | 3583 | 222 | 593 |
| C | 20 | 4382 | 3267 | 130 | 985 |
| Makefile | 10 | 3699 | 2969 | 177 | 553 |
| JavaScript | 10 | 3069 | 2395 | 162 | 512 |
| Shell | 31 | 2516 | 1750 | 392 | 374 |
| Rusty Object Notation | 3 | 1272 | 1267 | 5 | 0 |
| C++ | 5 | 1281 | 1057 | 84 | 140 |
| CMake | 10 | 660 | 494 | 66 | 100 |
| HCL | 4 | 410 | 319 | 26 | 65 |
| HTML | 7 | 225 | 202 | 3 | 20 |
| Jinja2 | 3 | 171 | 148 | 0 | 23 |
| TCL | 1 | 44 | 35 | 0 | 9 |
| Autoconf | 9 | 29 | 18 | 11 | 0 |
| Forge Config | 1 | 3 | 3 | 0 | 0 |
| YAML | 1 | 4 | 3 | 1 | 0 |
| Markdown | 25 | 2760 | 0 | 2004 | 756 |
| Plain Text | 11 | 3124 | 0 | 3124 | 0 |
Top language: Rust 50.3%. Generated on .
zama-ai/tfhe-rs: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
zama-ai/tfhe-rs has 899,777 lines of code, plus 26,751 comment lines and 64,810 blank lines, for 991,338 total lines at commit b07e249c925b on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit b07e249c925b, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit b07e249c925b on November 13, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for zama-ai/tfhe-rs on this page — 899,777 code lines across 23 languages, counted by tokei.