# ml-explore/mlx SLOC report

> ml-explore/mlx: 157,765 code lines at commit 52a6c234ab35, counted with tokei-14.0.0 on 2026-10-22. Saved result 21b35f84a9c069cd358d8ca38ef3b6a8bb90f9dfebcb6b662a52729876a9eb4f.

ml-explore/mlx has 157,765 source lines of code out of 190,958 total lines across 762 files, counted from the main ref at commit 52a6c234ab35 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 ml-explore/mlx to commit 52a6c234ab35, 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 82.6% of all lines, comments represent 5.5%, and the repository averages 207 code lines per file. C++ accounts for 48.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 209 | 88,040 | 75,649 | 3,823 | 8,568 |
| C Header | 260 | 61,240 | 48,576 | 4,354 | 8,310 |
| Python | 90 | 18,251 | 14,958 | 369 | 2,924 |
| CUDA | 99 | 14,322 | 12,064 | 555 | 1,703 |
| Metal Shading Language | 52 | 5,297 | 4,353 | 265 | 679 |
| CMake | 31 | 2,460 | 1,935 | 272 | 253 |
| Shell | 2 | 181 | 101 | 47 | 33 |
| Autoconf | 2 | 76 | 54 | 10 | 12 |
| TOML | 3 | 43 | 38 | 1 | 4 |
| PowerShell | 1 | 63 | 37 | 19 | 7 |
| Markdown | 10 | 934 | 0 | 688 | 246 |
| Plain Text | 3 | 51 | 0 | 43 | 8 |

Top language (C++ 48.0%). Generated at 2026-10-22T05:43:50.442433235Z. Canonical report: https://octocounts.com/github/ml-explore/mlx/commit/52a6c234ab35ddf46c8bd1517b849b59b610d078?reportId=21b35f84a9c069cd358d8ca38ef3b6a8bb90f9dfebcb6b662a52729876a9eb4f&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/ml-explore/mlx/commit/52a6c234ab35ddf46c8bd1517b849b59b610d078?reportId=21b35f84a9c069cd358d8ca38ef3b6a8bb90f9dfebcb6b662a52729876a9eb4f&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does ml-explore/mlx have?

ml-explore/mlx has 190,958 total lines, including 157,765 code lines, 10,446 comment lines, and 22,747 blank lines.

### How was the ml-explore/mlx line count measured?

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

### What commit was counted for ml-explore/mlx?

This OctoCounts report was generated from main at commit 52a6c234ab35 on 2026-10-22T05:43:50.442433235Z.

## Similar repository reports

- [Edge0-AI/Edge0](https://octocounts.com/github/Edge0-AI/Edge0) — C++, 157,996 code lines
- [Edge0-AI/edge0](https://octocounts.com/github/Edge0-AI/edge0) — C++, 156,747 code lines
- [thepowersgang/mrustc](https://octocounts.com/github/thepowersgang/mrustc) — C++, 163,107 code lines
- [carbon-language/carbon-lang](https://octocounts.com/github/carbon-language/carbon-lang) — C++, 163,350 code lines
- [baidu/openrasp](https://octocounts.com/github/baidu/openrasp) — C++, 151,975 code lines
- [facebookresearch/faiss](https://octocounts.com/github/facebookresearch/faiss) — C++, 168,233 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [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)
