3 ms·
This is very nice! SQLite is very hard to read, but this one is actually quite comprehensible. Especially the VM part: https://github.com/spandanb/learndb-py/b
by flakiness 3y ago
This is very nice!
SQLite is very hard to read, but this one is actually quite comprehensible.
Especially the VM part: https://github.com/spandanb/learndb-py/blob/master/learndb/virtual_machine.py https://github.com/spandanb/learndb-py/blob/master/learndb/v...
Compare it with this: https://github.com/sqlite/sqlite/blob/master/src/vdbe.c https://github.com/sqlite/sqlite/blob/master/src/vdbe.c
That's said, I'm curious how complete this LearnDB is. SQLite is hard to read not only it's old but also it covers a lot of SQL and following SQL spec makes hings complicated. SQLite has great test suite so it's nice if you run the suit against this implementation.