Hacker News new | ask | show | jobs
by jarym 30 days ago
Writing databases is an EXTREMELY fun learning endeavour but it is truly difficult to do correctly.
3 comments

Once I started writing one (I could say I still am) because I was unhappy with most of them and also, to see how hard it could be

Alas! It turns out it's really hard to do it right.

One thing you will quickly learn is that writing a new SQL database from scratch is absolute folly. A more narrowly scoped database (like a key/value store) can be quite instructive as a personal project.
"But AI can oneshot Redis, so we can just vibecode it."