2 ms·
Aside from their custom syntax in DDlog, how much semantic overlap is there with the query language of Datomic/Crux/Datalevin/Datascript flavour? Apart from the
by fulafel 6y ago
Aside from their custom syntax in DDlog, how much semantic overlap is there with the query language of Datomic/Crux/Datalevin/Datascript flavour? Apart from the differential features. This one seems to be big on static type definitions at least.
edit: I guess this explains some of the static nature: "A DDlog program is compiled into a Rust library"
- namibj 6y agoYou don't really use dynamic datalog queries with DDlog. Instead you write rules that handle your queries in a streaming fashion ("prepare" statement at compile time, stream tuples of parameters at runtime and listen for outputs), if you can't afford to keep a materialized view up-to-date that turns your queries into simple KV-lookup operations. But, do not worry: Support for run-time rule updates is in the works and would allow for arbitrary dynamic datalog queries.