A complete GPT language model in ~600 lines of C#, zero dependencies

evo_9 20 points 4 comments April 09, 2026
github.com · View on Hacker News

Discussion Highlights (3 comments)

throwa356262

I have a soft spot for 0-dependency projects. Feels like the old times when every other project didn't look like a supply chain attack waiting to happen.

metaltyphoon

Curious… why not a single app.cs instead of slnx + csproj boilerplate? The moment you `dotnet app.cs` it will be a cached and fast to start

gabrielsroka

> Faithful port of Andrej Karpathy's microgpt.py.

Semantic search powered by Rivestack pgvector
4,075 stories · 38,119 chunks indexed