12 lines
406 B
Markdown
12 lines
406 B
Markdown
# 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
|