Ask HN: “Write your own” or “Build your own” software projects
recommended by 2 users | 2018 | 576 points by n_t | learning to code | original thread |

I am looking for writings/tutorials/videos which describe a specific technology or feature by implementing them, ideally in no more than few thousands lines of code (and not just 10-20 line code snippets). Idea is to teach about underlying technology by a hands-on project, which is not overwhelming like trying to implement full-feature game engine and yet captures the essence of technology. Some examples are -

* Build a simple database (https://cstack.github.io/db_tutorial/)

* Containers in 500 lines (https://blog.lizzie.io/linux-containers-in-500-loc.html)

* Malloc tutorial (https://danluu.com/malloc-tutorial/)

* Nativecoin - build your own crypto-currency (https://lhartikk.github.io/)

I'm sure there are great such projects/tutorials in domains like networking, filesystem, databases, compiler, web design, messaging, game design, fintech, etc. If you have come across such writings/projects, kindly share.

2 users recommended this thread. What they said:
repsak Jun 20, 2018 | on: How to build a React.js chat app in 10 minutes | context

It depends, those titles are definitely click baity but the content isn't necessarily bad.

No one said you're done after doing one ten minute tutorial.

Check out some of these recommendations https://news.ycombinator.com/item?id=16591918

vsundar Feb 11, 2020 | on: Ask HN: What are some books where the reader learns by… | context

Apart from books, if you are open to tutorials, videos too, there was a similar thread 2 years ago about write/build your own projects https://news.ycombinator.com/item?id=16591918. That has some already mentioned here but also others (build your own react, sinatra, redux created your own programming language, editor, make a lisp etc). Both threads are now in my fav....hopefully some day.