# zama-ai/tfhe-rs SLOC report

> As of 2026-10-22 (commit 63290b18ad4a), zama-ai/tfhe-rs contains 986,200 total lines: 899,751 code, 22,275 comments, 64,174 blank, across 2,583 files in 22 languages (top: Rust 50.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

zama-ai/tfhe-rs has 899,751 source lines of code out of 986,200 total lines across 2,583 files, counted from the main ref at commit 63290b18ad4a by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving zama-ai/tfhe-rs to commit 63290b18ad4a, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 91.2% of all lines, comments represent 2.3%, and the repository averages 348 code lines per file. Rust accounts for 50.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 2,143 | 523,430 | 454,969 | 14,330 | 54,131 |
| Assembly | 40 | 358,910 | 358,273 | 547 | 90 |
| CUDA | 61 | 38,076 | 34,803 | 1,568 | 1,705 |
| C Header | 68 | 19,401 | 14,244 | 2,409 | 2,748 |
| JSON | 15 | 12,665 | 12,665 | 0 | 0 |
| Python | 45 | 9,451 | 7,728 | 299 | 1,424 |
| TOML | 77 | 4,348 | 3,554 | 208 | 586 |
| C | 20 | 4,382 | 3,267 | 130 | 985 |
| Makefile | 9 | 3,469 | 2,817 | 123 | 529 |
| JavaScript | 10 | 3,064 | 2,390 | 162 | 512 |
| Shell | 29 | 2,182 | 1,527 | 306 | 349 |
| Rusty Object Notation | 3 | 1,253 | 1,248 | 5 | 0 |

Top language (Rust 50.6%). Generated at 2026-10-22T07:17:34.935855611+00:00. Canonical report: https://octocounts.com/github/zama-ai/tfhe-rs

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/zama-ai/tfhe-rs/commit/63290b18ad4abd47b53ce03ab5b0c4178c7297ed?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=172401bcf540f8568c79a2fc4c64014d02bcf5121c388f009c6c8da12b07057c).

## Report FAQ

### How many lines of code does zama-ai/tfhe-rs have?

zama-ai/tfhe-rs has 986,200 total lines, including 899,751 code lines, 22,275 comment lines, and 64,174 blank lines.

### How was the zama-ai/tfhe-rs line count measured?

OctoCounts resolved the public GitHub repository to commit 63290b18ad4a, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for zama-ai/tfhe-rs?

This OctoCounts report was generated from main at commit 63290b18ad4a on 2026-10-22T07:17:34.935855611+00:00.

## Similar repository reports

- [ZSeven-W/openpencil](https://octocounts.com/github/ZSeven-W/openpencil) — Rust, 901,095 code lines
- [RoversX/ThinkTerm](https://octocounts.com/github/RoversX/ThinkTerm) — Rust, 907,398 code lines
- [ZacharyZhang-NY/Kigi-CLI](https://octocounts.com/github/ZacharyZhang-NY/Kigi-CLI) — Rust, 878,502 code lines
- [brightwave-inc/tidebreak](https://octocounts.com/github/brightwave-inc/tidebreak) — Rust, 921,811 code lines
- [spacering-net/codeg](https://octocounts.com/github/spacering-net/codeg) — Rust, 935,569 code lines
- [tinyhumansai/openhuman](https://octocounts.com/github/tinyhumansai/openhuman) — Rust, 935,898 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
