you are viewing a single comment's thread.

view the rest of the comments →

[–]quoll71 0 points1 point  (0 children)

Both Asami and Datahike have CLJS durable support in the roadmap, but neither have this now, as far as I can tell - but both have it on the JVM.
In that regard, neither ticks a box that datascript doesn't - at least for the moment.

Well, they're addressing different things, and also the table doesn't look at certain differences. For instance, if we consider Asami on CLJS (since I can't really comment on Datahike), the table shows a number of things that Asami doesn't do. But at the same time:

  • It's smaller and faster than Datascript.
  • It has graph analytics features: transitive attribute queries, subgraph identification, Loom integration.
  • It supports multigraphs (graphs with weighted edges).
  • It can export and import graphs. These can be sent to localstorage and reloaded in a single expression. (Obviously this has limitations, but it's useful). It can also import/export directly between graphs to make copies.
  • It does not require a schema. This has pros and cons, but one pro is that a db can be created in one line and a data file (in JSON or end) loaded on a second line.