Open softwarewrighter.github.iosoftwarewrighter.github.io/microgpt-mlpl
microgpt-mlpl
A compact implementation of Karpathy's microgpt in the author's own ML/array programming language, with literate programming explanations and math equations.
Visit project- First shared
- Sep 23, 2026
- HN activity
- 20
Show HN@softwarewrightSep 23, 2026
Show HN: Karpathy's microgpt in Rust and an array language
A ML Study group stepped through Karpathy's python code on Colab, and we looked at a Rust version I created. I was asked to create a more readable version in my ML/array programming language. This work is helping me with dogfooding my language. I am now adding several improvements to the language to improve ergonomics, readability, and possibly speed (one example in sw-MLPL actually runs faster than my Rust port). I was able to express the code more compactly than the Python or Rust versions. The planned improvements will allow me to simplify many downstream demo projects that have been working around language deficiencies. The link includes literate programming explanations of the code with math equations.
Community