3 ms·
I'm talking about Datalog, I mentioned Datomic purely in the context of syntax. And to sum up what I know about Datalog, it's basically just this article (not
by harryvederci 4y ago
I'm talking about Datalog, I mentioned Datomic purely in the context of syntax.
And to sum up what I know about Datalog, it's basically just this article (not reference material, but it got me interested in the concept), plus some light wikipedia-ing: https://www.instantdb.com/essays/datalogjs https://www.instantdb.com/essays/datalogjs
Edit: I think you added the part with your git repo after I wrote this. Looks cool, could you add a license file to it?
- packetlost 4y agoGot it. Yeah, datalog is cool. I really like it (if that wasn't obvious from my attempt at implementing it). While not built on SQLite, this project has caught my attention recently: https://github.com/cozodb/cozo https://github.com/cozodb/cozo It's built on RocksDB and has slightly different query syntax (supposedly to be more similar to Python's, as a primary target usecase is within Jupyter notebooks). Check it out!
- zh217 4y agoMore precisely, Cozo currently has a RocksDB backend. The development version also has SQLite backend (for easier compilation on mobile platforms), in-memory backend, etc. It now can run as a web assembly module as well (see https://cozodb.github.io/wasm-demo/ https://cozodb.github.io/wasm-demo/) With respect to the SQLite backend, Cozo uses SQLite purely as a KV store with range scan capabilities, with both keys and values stored as bytes. This actually results in faster queries than offloading some stuff to the SQLite engine for the (very few) cases we tested. Disclaimer: I'm the author of Cozo.
- packetlost 4y agoOh wow, I didn't catch that. Awesome work man, I'm fan of Cozo and hope to make contributions in the future!