4 ms·
Curious: why is this limited to ClojureScript? I can see this being useful in JVM Clojure in projects which do not need real or full Datomic.
by gcv 12y ago
Curious: why is this limited to ClojureScript? I can see this being useful in JVM Clojure in projects which do not need real or full Datomic.
- shaunxcode 12y agohe actually has a clj version in the src. https://github.com/tonsky/datomicscript/blob/master/src/datomicscript.clj https://github.com/tonsky/datomicscript/blob/master/src/dato...
- coolsunglasses 12y agoWhy even limit it to Clojure and ClojureScript? I could use this from JavaScript or PureScript as an immutable local store to replicate/merge with the backend asynchronously.
- deleted 12y ago[deleted]
- cjo 12y agoThe query language is embedded in legal Clojure data structures, so it would be tricky to port to JS. That's a drawback of embedded DSL's I suppose.
- coolsunglasses 12y agoContingent on the design but not necessary. I could make something similar in PureScript. I wouldn't use Datalog though, I got turned off on it after using Datomic at work.
- tonsky 12y agoSimilar to Datomic, which has Java bindings and allows for query DSL be specified just as a regular String, we can do this for JS interop
- Skinney 12y agoFrom what I can see, DataScript is in-memory only. Wouldn't that be the same as downloading Datomic-free and creating an in-memory db?