# redox-os/kernel SLOC report

> As of 2026-09-01 (commit 9ce506cc4f46), redox-os/kernel contains 47,894 total lines: 39,824 code, 2,423 comments, 5,647 blank, across 255 files in 9 languages (top: Rust 98.0%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving redox-os/kernel to commit 9ce506cc4f46, 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 medium-sized codebase by counted code lines. Code represents 83.2% of all lines, comments represent 5.1%, and the repository averages 156 code lines per file. Rust accounts for 98.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 232 | 46,658 | 39,040 | 2,181 | 5,437 |
| Assembly | 2 | 328 | 230 | 51 | 47 |
| LD Script | 4 | 227 | 149 | 40 | 38 |
| TOML | 5 | 198 | 143 | 30 | 25 |
| JSON | 4 | 100 | 100 | 0 | 0 |
| Device Tree | 2 | 103 | 81 | 1 | 21 |
| Makefile | 1 | 100 | 77 | 4 | 19 |
| Shell | 1 | 7 | 4 | 1 | 2 |
| Markdown | 4 | 173 | 0 | 115 | 58 |

Top language (Rust 98.0%). Generated at 2026-09-01T01:05:53.703726331+00:00. Canonical report: https://octocounts.com/github/redox-os/kernel

## Report FAQ

### How many lines of code does redox-os/kernel have?

redox-os/kernel has 47,894 total lines, including 39,824 code lines, 2,423 comment lines, and 5,647 blank lines.

### How was the redox-os/kernel line count measured?

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

### What commit was counted for redox-os/kernel?

This OctoCounts report was generated from master at commit 9ce506cc4f46 on 2026-09-01T01:05:53.703726331+00:00.

## Similar repository reports

- [steeb-k/phoenix-simulacra](https://octocounts.com/github/steeb-k/phoenix-simulacra) — Rust, 39,953 code lines
- [n0-computer/iroh](https://octocounts.com/github/n0-computer/iroh) — Rust, 38,753 code lines
- [kingroryg/turbokv](https://octocounts.com/github/kingroryg/turbokv) — Rust, 36,237 code lines
- [BurntSushi/ripgrep](https://octocounts.com/github/BurntSushi/ripgrep) — Rust, 43,850 code lines
- [asteroidb/asteroidb](https://octocounts.com/github/asteroidb/asteroidb) — Rust, 35,710 code lines
- [rwf2/rocket](https://octocounts.com/github/rwf2/rocket) — Rust, 35,529 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
