406 B
406 B
micro-gopt
A go hand-reimplementation of https://karpathy.github.io/2026/02/12/microgpt/.
Original python is included in the repo for reference against bitrot.
To use: go run cmd/main.go input.txt
Differences between the Go and the Python:
- go is implemented as a package and, separately, as a command-line wrapper that calls it, just to keep the algorithm separate from the invocation details