logoalt Hacker News

Show HN: Learn by rebuilding Redis, Git, a database from scratch

55 pointsby acleytoday at 1:40 PM22 commentsview on HN

Comments

isityettimetoday at 6:54 PM

There's a book about doing this with Git. I wonder how much of the content is cribbed from sources like that, laundered through LLMs.

https://shop.jcoglan.com/building-git/

show 2 replies
lohith1710today at 7:10 PM

Looks a lot like CodeCrafters, except it's free. Was it built by humans or AI?

xqb64today at 4:24 PM

How does this differ from codecrafters.io?

show 1 reply
qainsightstoday at 5:45 PM

Signing up is throwing `rate limit exceeded, please try again later`

show 1 reply
noobcodertoday at 6:40 PM

a dafor of things are throwing errors, but good initiative

acleytoday at 1:41 PM

I kept noticing that most "learn to code" content is tutorials you copy-paste, so I never had to actually understand why anything worked. I built this to flip that: each lesson gives you a real spec (e.g. implement the Redis SET/GET protocol) and you write the code yourself, then it actually runs against tests. Right now there are 80+ of these "build X from scratch" courses — Redis, a database, Git, a compiler, a container runtime, a raft KV store, etc. — across Python, Go, Rust, C, C++, and others. Would love feedback, especially on where the early lessons feel too hand-holdy or too sparse.

show 3 replies