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.
As of 2026-11-13 (commit b07e249c925b), zama-ai/tfhe-rs contains 991,338 total lines: 899,777 code, 26,751 comments, 64,810 blank, across 2,621 files in 23 languages (top language: Rust 50.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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 |
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.
Play the growth animation for zama-ai/tfhe-rs on this page — 899,777 code lines across 23 languages, counted by tokei.