News for hackers. Stuff that matters.
Re:Ask HN: What Are You Working On? (October 2024) by austin_y on Monday October 28, 2024 @11:41AM (#41972259)
A sqlite extension that provides a virtual table backed by an Automerge document (https://automerge.org/).

I believe that there are plenty of applications that could benefit from the collaboration or sync-ability that CRDTs* provide, but that don't need to manage the CRDTs directly. Moving the CRDT management into the database seems like a natural fit.

It's very early, and not public anywhere, but I'd be happy to chat about it if anyone has any thoughts or questions.

* https://en.wikipedia.org/wiki/Conflict-free_replicated_data_...

Re:Ask HN: What Are You Working On? (October 2024) by gritzko on Monday October 28, 2024 @11:43AM (#41972289)
Looks like we overlap somewhat https://github.com/gritzko/librdx

I had some success embedding CRDT into LSM databases. Those are built around merge operators.

Re:Ask HN: What Are You Working On? (October 2024) by austin_y on Monday October 28, 2024 @11:59AM (#41972557)
librdx looks interesting, I'll be taking a look, thanks!