News for hackers. Stuff that matters.
Re:Writing a document database from scratch in Go: Lucene-li... by eatonphil on Saturday April 02, 2022 @08:25AM (#30887692)
Hey since my paragraph saying it's easy to swap out storage engines wasn't believable, here's a diff without any 3rd party library:

https://github.com/eatonphil/docdb/pull/1

Took me about an hour for a +40/-40 diff that is still <500 lines of code. You may notice that the code basically looks identical. That's because I wasn't using anything specific to a key-value store.

There are no comments on this comment yet.