3 ms·
https://github.com/abhijat/matchboxdb https://github.com/abhijat/matchboxdb I'm trying to build a database system from scratch (without using third party libra
by abhijat 5y ago
https://github.com/abhijat/matchboxdb https://github.com/abhijat/matchboxdb
I'm trying to build a database system from scratch (without using third party libraries) in modern C++ (I do use googletest for unit tests).
I've mostly been stumbling around but having no prior experience writing anything like this, I think I am at a place where things might start coming together soon.
Initially I had very different goals but now I think I will focus on things like indices, full fledged SQL support and more data types later, once I have the basic model working.
I did get to learn a lot while working on it, and hopefully will get to learn a lot more as things come up.
Some of the resources which were very helpful were the CMU database course on youtube and the book called "database internals" by Alex Petrov (I just read parts of it as required). Also the book Writing an interpreter in Go by Thorsten Ball was very useful when writing the sql parser.