# ml-explore/mlx SLOC report

> As of 2026-09-19 (commit 350f2cf84c81), ml-explore/mlx contains 170,533 total lines: 140,897 code, 9,080 comments, 20,556 blank, across 712 files in 12 languages (top: C++ 48.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

ml-explore/mlx has 140,897 source lines of code out of 170,533 total lines across 712 files, counted from the 350f2cf84c815eb0b9bb8e1c21a8f8db65d535da ref at commit 350f2cf84c81 by the OctoCounts tokei engine on 2026-09-19. 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 350f2cf84c81, 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.3%, and the repository averages 198 code lines per file. C++ accounts for 48.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 202 | 79,899 | 68,750 | 3,314 | 7,835 |
| C Header | 242 | 52,123 | 41,387 | 3,517 | 7,219 |
| Python | 81 | 15,825 | 12,920 | 310 | 2,595 |
| CUDA | 96 | 13,950 | 11,699 | 551 | 1,700 |
| Metal Shading Language | 41 | 5,146 | 4,158 | 318 | 670 |
| CMake | 32 | 2,294 | 1,790 | 260 | 244 |
| Shell | 2 | 179 | 101 | 45 | 33 |
| Autoconf | 2 | 58 | 40 | 10 | 8 |
| PowerShell | 1 | 63 | 37 | 19 | 7 |
| TOML | 2 | 15 | 15 | 0 | 0 |
| Markdown | 9 | 938 | 0 | 699 | 239 |
| Plain Text | 2 | 43 | 0 | 37 | 6 |

Top language (C++ 48.8%). Generated at 2026-09-19T09:12:41.561900402+00:00. Canonical report: https://octocounts.com/github/ml-explore/mlx

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/ml-explore/mlx/commit/350f2cf84c815eb0b9bb8e1c21a8f8db65d535da?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).

## Report FAQ

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

ml-explore/mlx has 170,533 total lines, including 140,897 code lines, 9,080 comment lines, and 20,556 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 350f2cf84c81, 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 350f2cf84c815eb0b9bb8e1c21a8f8db65d535da at commit 350f2cf84c81 on 2026-09-19T09:12:41.561900402+00:00.

## Similar repository reports

- [geo-tp/ESP32-Bit-Pirate](https://octocounts.com/github/geo-tp/ESP32-Bit-Pirate) — C++, 140,147 code lines
- [ElyPrismLauncher/Launcher](https://octocounts.com/github/ElyPrismLauncher/Launcher) — C++, 142,332 code lines
- [OpenXcom/OpenXcom](https://octocounts.com/github/OpenXcom/OpenXcom) — C++, 145,020 code lines
- [P-E-A-R-L/PearlLab](https://octocounts.com/github/P-E-A-R-L/PearlLab) — C++, 130,996 code lines
- [krkrz/krkrz](https://octocounts.com/github/krkrz/krkrz) — C++, 153,898 code lines
- [facebookresearch/faiss](https://octocounts.com/github/facebookresearch/faiss) — C++, 155,693 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)
