ml-explore/mlx has 155,828 source lines of code out of 188,758 total lines across 756 files, counted from the main ref at commit 0ab821b1f568 by the OctoCounts tokei engine on 2026-10-10. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-10 (commit 0ab821b1f568), ml-explore/mlx contains 188,758 total lines: 155,828 code, 10,367 comments, 22,563 blank, across 756 files in 12 languages (top: C++ 48.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving ml-explore/mlx to commit 0ab821b1f568, 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 large codebase by counted code lines. Code represents 82.6% of all lines, comments represent 5.5%, and the repository averages 206 code lines per file. C++ accounts for 48.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 208 | 87211 | 74906 | 3797 | 8508 |
| C Header | 260 | 60721 | 48113 | 4335 | 8273 |
| Python | 89 | 17624 | 14397 | 367 | 2860 |
| CUDA | 99 | 14315 | 12057 | 555 | 1703 |
| Metal Shading Language | 51 | 5198 | 4268 | 262 | 668 |
| CMake | 31 | 2392 | 1874 | 267 | 251 |
| Shell | 2 | 181 | 101 | 47 | 33 |
| Autoconf | 2 | 76 | 54 | 10 | 12 |
| PowerShell | 1 | 63 | 37 | 19 | 7 |
| TOML | 2 | 24 | 21 | 1 | 2 |
| Markdown | 9 | 906 | 0 | 668 | 238 |
| Plain Text | 2 | 47 | 0 | 39 | 8 |
Top language (C++ 48.1%). Generated at .
ml-explore/mlx has 188,758 total lines, including 155,828 code lines, 10,367 comment lines, and 22,563 blank lines.
OctoCounts resolved the public GitHub repository to commit 0ab821b1f568, 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 main at commit 0ab821b1f568 on 2026-10-10T01:31:56.616605387+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for ml-explore/mlx on this page — 155,828 code lines across 12 languages, counted by tokei.