Settings

Theme

Show HN: Karpathy's microgpt in Rust and an array language

softwarewrighter.github.io

2 points by softwarewright · 0 comments · 1 min read

Reader

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.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection