As of 2026-07-16 (commit a4f924122bcd), microsoft/windows-rs contains 1,981,570 total lines: 1,942,062 code, 6,492 comments, 33,016 blank, across 2,775 files in 14 languages (top: Rust 96.3%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving microsoft/windows-rs to commit a4f924122bcd, 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.
This is a very large codebase by counted code lines. Code represents 98.0% of all lines, comments represent 0.3%, and the repository averages 700 code lines per file. Rust accounts for 96.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 2192 | 1883272 | 1869888 | 3111 | 10273 |
| C Header | 5 | 70353 | 47546 | 1011 | 21796 |
| C | 374 | 20567 | 20567 | 0 | 0 |
| TOML | 110 | 3745 | 3361 | 29 | 355 |
| C++ | 4 | 351 | 288 | 3 | 60 |
| C# | 3 | 189 | 149 | 12 | 28 |
| XML | 4 | 86 | 86 | 0 | 0 |
| PowerShell | 1 | 113 | 79 | 22 | 12 |
| MSBuild | 3 | 41 | 41 | 0 | 0 |
| HTML | 2 | 35 | 35 | 0 | 0 |
| HLSL | 1 | 20 | 16 | 0 | 4 |
| Batch | 1 | 6 | 6 | 0 | 0 |
Top language (Rust 96.3%). Generated at 2026-07-16T17:16:11.465471298+00:00.
microsoft/windows-rs has 1,981,570 total lines, including 1,942,062 code lines, 6,492 comment lines, and 33,016 blank lines.
OctoCounts resolved the public GitHub repository to commit a4f924122bcd, 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 master at commit a4f924122bcd on 2026-07-16T17:16:11.465471298+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: