{"slug": "show-hn-karpathy-s-microgpt-in-rust-and-an-array-language", "title": "Show HN: Karpathy's microgpt in Rust and an array language", "summary": "A developer ported Andrej Karpathy's microgpt Python code into Rust and into an array programming language called sw-MLPL, presenting the work as a Show HN post. The sw-MLPL version is more compact than both the Python and Rust implementations, and one example runs faster than the Rust port, according to the developer. The author says the exercise is dogfooding the language and has prompted planned improvements to ergonomics, readability, and speed, with literate programming explanations included at the linked code.", "body_md": "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.\n\nThis 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.\n\nThe planned improvements will allow me to simplify many downstream demo projects that have been working around language deficiencies.\n\nThe link includes literate programming explanations of the code.\n\nComments URL: [https://news.ycombinator.com/item?id=49818692](https://news.ycombinator.com/item?id=49818692)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-karpathy-s-microgpt-in-rust-and-an-array-language", "canonical_source": "https://softwarewrighter.github.io/microgpt-mlpl/", "published_at": "2026-09-23 16:35:00+00:00", "updated_at": "2026-09-23 17:00:50.933437+00:00", "lang": "en", "topics": ["machine-learning", "large-language-models", "ai-research", "developer-tools"], "entities": ["Andrej Karpathy", "microgpt", "Rust", "sw-MLPL", "Python", "Colab", "Hacker News"], "alternates": {"html": "https://wpnews.pro/news/show-hn-karpathy-s-microgpt-in-rust-and-an-array-language", "markdown": "https://wpnews.pro/news/show-hn-karpathy-s-microgpt-in-rust-and-an-array-language.md", "text": "https://wpnews.pro/news/show-hn-karpathy-s-microgpt-in-rust-and-an-array-language.txt", "jsonld": "https://wpnews.pro/news/show-hn-karpathy-s-microgpt-in-rust-and-an-array-language.jsonld"}}