News for hackers. Stuff that matters.
Re:Show HN: A Database Written in Golang by pighive on Wednesday February 26, 2025 @10:50AM (#43184792)
Nice, did you follow a course or any resources to build it? Please share, I have a similar goal. Thank you.
Re:Show HN: A Database Written in Golang by rebelmackerel on Wednesday February 26, 2025 @11:58AM (#43185525)
I took a quick glance at the code, I believe it may build upon "Build Your Own Database From Scratch in Go" [0]. The first part of the book is available for free on the author's website, along with information on how to purchase the full book (which includes source code).

I share the same goal and am working through the material after working through Codecrafters' "Build your own SQLite" [1]. Good luck!

I apologize in advance for mistakes (formatting, et cetera). I just registered this account to point you toward resources I found helpful.

[0] https://build-your-own.org/database/

[1] https://app.codecrafters.io/courses/sqlite/overview

Re:Show HN: A Database Written in Golang by croskcool on Wednesday February 26, 2025 @03:34PM (#43187898)
Does something like this exist for java, don't want to take the burden of a new language.
Re:Show HN: A Database Written in Golang by rebelmackerel on Wednesday February 26, 2025 @06:33PM (#43189533)
I don't think these things really fit the bill, but this is closest I could find. All the codecrafters stuff is focused on reading from a sqlite DB. A great start, but you're not implementing B+ trees.

Hope this gives you some options.

https://github.com/Arminas42/build_your_own_database

https://github.com/search?q=codecrafters+sqlite-java+languag...

Re:Show HN: A Database Written in Golang by lionkor on Thursday February 27, 2025 @03:05AM (#43192294)
it's not that hard, you should try it :)