tonsky/datascript
View on GitHub ↗ ★ 5,798 Clojure
Immutable database and Datalog query engine for Clojure, ClojureScript and JS
72 mentions on Hacker News by 54 people: 14 stories, 58 comments · first 2014-04-24 · latest 2026-09-03
20082026
-
Thanks. Yes happy to hear about other full solutions. By Datomic in the browser you likely mean https://github.com/tonsky/datascript . Full solutions like InstantDB or ConvexDB offer the syncing part, but they don't seem to be doing full…
comment by fiv0 · 2026-09-03 · in Show HN: Triplox, a distributed Datalog engine with incremental queries -
…consistency naturally. LLMs know how to write it. It's type safe. JS implementations exist [0]. [0] https://github.com/tonsky/datascript
comment by AlotOfReading · 2026-04-21 · in A type-safe, realtime collaborative Graph Database in a CRDT -
…using DataScript[1] as the db and LWJGL as the rendering layer. I just want to see what happens. 1. https://github.com/tonsky/datascript
comment by kelseyfrog · 2024-09-29 · in Ask HN: What are you working on (September 2024)? -
…is the long-standing market leader - XTDB (MPL): https://github.com/xtdb/xtdb - Datascript (EPL): https://github.com/tonsky/datascript - Datalevin ((forking datascript, EPL): https://github.com/juji-io/datalevin - datahike (forking…
comment by w10-1 · 2024-08-22 · in Show HN: InstantDB – A Modern Firebase -
…may be interested in Datomic[0] or Datascript[1] [0]: https://www.datomic.com/benefits.html [1]: https://github.com/tonsky/datascript
comment by 1659447091 · 2024-07-06 · in Optimizing Large-Scale OpenStreetMap Data with SQLite -
The article says Datascript. https://github.com/tonsky/datascript
comment by fnordsensei · 2024-05-18 · in Aggregating all cinema showtimes in Germany with Clojure -
…guess this helps DataScript process transactions faster. There is a github issue about it here: https://github.com/tonsky/datascript/issues/366
comment by aaroniba · 2024-05-16 · in Jepsen: Datomic Pro 1.0.7075 -
▲ 3
Datascript: Immutable database and Datalog query enginestory by tosh · 2024-05-06 · 0 comments
-
…https://www.datomic.com xtdb https://github.com/xtdb/xtdb DataScript (not a database though) https://github.com/tonsky/datascript Cozo https://github.com/cozodb/cozo
comment by tosh · 2024-01-30 · in Datalog in 100 lines of JavaScript (2022) -
…of datalog which looks a lot like prolog. There's lots of similarities and [2] mentions them. [1] https://github.com/tonsky/datascript [2] https://docs.datomic.com/pro/query/query.html [3] https://sarabander.github.io/sicp/html/4_002e4.xhtm…
comment by stopachka · 2024-01-23 · in Datalog in 100 lines of JavaScript (2022) -
…requests, which must be run in the same event loop as user input. https://github.com/wotbrew/relic https://github.com/tonsky/datascript Having a full (fast!) database as my React state manager gives me LAMP nostalgia :)
comment by neftaly · 2023-07-03 · in FoundationDB: A Distributed Key-Value Store -
…`datalog`. This is something I always remember fondly. [0] https://www.learndatalogtoday.org/ [1] https://github.com/tonsky/datascript
comment by muattiyah · 2023-02-15 · in Introduction to Datalog -
Datascript is the open source analog for Clojure, ClojureScript and JS: https://github.com/tonsky/datascript
comment by dmitriid · 2023-02-15 · in Introduction to Datalog -
…The underlying in memory datalog style database that can run in the browser that enables these apps https://github.com/tonsky/datascript
comment by jgoodhcg · 2023-02-13 · in Clojure Turns 15 panel discussion video -
This look nice ! Datascript seems to be another Datalog engine (in memory only) https://github.com/tonsky/datascript
comment by abc3354 · 2022-11-08 · in Show HN: Cozo – new Graph DB with Datalog, embedded like SQLite -
…and uses DataLog queries. Either way, super powerful. Refs: https://en.m.wikipedia.org/wiki/Datalog https://github.com/tonsky/datascript https://www.datomic.com/
comment by hipitihop · 2022-05-17 · in Obsidian Dataview: Turn Obsidian Vault into a database you can query from -
…But there's no single stack available (yet). I'm suprised Nikita didn't mention datascript here ( https://github.com/tonsky/datascript ) given the neat compatibility it offers with other datalog databases, but maybe he feels it's too…
comment by OliverM · 2022-05-03 · in Your Front End Needs a Database -
Agreed! For example in DataScript's Datalog: https://github.com/tonsky/datascript/blob/4f1af628d5650e0ca0...
comment by refset · 2022-04-27 · in Datalog in JavaScript -
…this Friday) - Roam Research and its clones Athens, Logseq, use Datascript / ClojureScript https://github.com/tonsky/datascript - differential-datalog isn’t an end-to-end system, but is highly optimized for quick reactivity…
comment by jitl · 2022-04-27 · in Datalog in JavaScript -
…are definitely complimentary. There's a (now defunct) library[2] for keeping them in sync too. 1: https://github.com/tonsky/datascript 2: https://www.datomic.com/ 3: https://github.com/metasoarous/datsync
comment by zonotope · 2022-01-17 · in TinyBase: A JavaScript library for structured state -
▲ 18
DataScript 1.3.0story by tosh · 2021-11-26 · 0 comments
-
…the decision to use Clojure was not made for technical reasons, but it's not exactly arbitrary. [1] https://github.com/tonsky/datascript
comment by amackera · 2021-09-09 · in Thoughts on Clojure UI framework -
…to wait at least for the next generation of developments. But you can give it a try with datascript https://github.com/tonsky/datascript
comment by maweki · 2021-05-17 · in Learn Datalog Today -
Datomic: https://docs.datomic.com/cloud/query/query-data-reference.ht... Datascript: https://github.com/tonsky/datascript Crux: https://opencrux.com/main/index.html
comment by hcarvalhoalves · 2021-04-14 · in Logica, a novel open-source logic programming language -
…for us), Logseq is hugely inspired by Roam Research, Org Mode, TiddlyWiki, Workflow. - Datascript: https://github.com/tonsky/datascript
comment by tiensonqin · 2020-11-14 · in Show HN: Logseq – A roam like open-source plaintext note-taking app -
▲ 2
Datascript: An immutable in-memory database and Datalog query engine in Clojurestory by brzozowski · 2020-07-22 · 0 comments
-
▲ 3
DataScript 1.0.0story by tosh · 2020-07-11 · 0 comments
-
…- https://www.datomic.com/ - https://opencrux.com/ - https://github.com/replikativ/datahike - https://github.com/tonsky/datascript
comment by slifin · 2020-06-22 · in The Art of Prolog (1994) -
…be a good fit for you. The Datalog query language is very powerful for writing recursive rules. [0] https://github.com/tonsky/datascript
comment by refset · 2020-06-20 · in Representing Graphs by Knuth Trees (1974) [pdf] -
…which means they run on both Java and JS usually with no interface changes here are some examples: https://github.com/tonsky/datascript https://github.com/Engelberg/instaparse https://github.com/wilkerlucio/pathom Interop with hosts is a…
comment by slifin · 2020-03-02 · in Clojure: A Lisp that wants to spread -
…database use Datalog name Crux[2] seems to be quite promising. [0] https://www.datomic.com/ [1] https://github.com/tonsky/datascript [2] https://opencrux.com/
comment by namelosw · 2020-02-21 · in Web Programming in SWI Prolog (2019) -
you can give https://github.com/tonsky/datascript and https://github.com/replikativ/datahike a spin
comment by ithkuil · 2020-02-21 · in State of Clojure 2020 -
…remiss if I didn't mention something from clojurescript land that accomplishes something similar: https://github.com/tonsky/datascript Datascript allows you to write datalog queries in ClojureScript(and JavaScript) that operate on a b+…
comment by remontoire · 2020-01-29 · in LInQer – C# Integrated Queries ported to Javascript -
…instead of objects (classes), try ClojureScript - especially in combination with [DataScript]( https://github.com/tonsky/datascript ), an immutable database and Datalog query engine. Clojure/ClojureScript's persistent, immutable memory…
comment by pgt · 2019-12-12 · in Thinking in React Hooks -
…Clojure world, there is Datalog all over the place, both client and server. Check out Datascript: https://github.com/tonsky/datascript This full-stack framework: http://book.fulcrologic.com/
comment by nickik · 2019-12-09 · in Ask HN: Why GraphQL APIs but no Datalog APIs? -
…some open source libraries. Datascript is quite robust, and useable from javascript/clojurescript. https://github.com/tonsky/datascript
comment by vchak1 · 2019-12-09 · in Ask HN: Why GraphQL APIs but no Datalog APIs? -
…and then using something like Posh[2] or Datsync[3] to handle query/pull subscription changes. [1]: https://github.com/tonsky/datascript [2]: https://github.com/mpdairy/posh [3]: https://github.com/metasoarous/datsync
comment by kickopotomus · 2019-10-25 · in Rxdb: A reactive database where you can subscribe to the result of a query -
…a few couple levels deep into a nested map it's time to look at an in memory db like [Datascript]( https://github.com/tonsky/datascript )? Actual Datalog queries can replace get-in vectors growing out of hand, and you also get better…
comment by sooheon · 2019-08-27 · in Why Clojure? -
…been implemented in most languages. I like how Prolog "forces" a declarative style though. [0]: https://github.com/tonsky/datascript
comment by hjek · 2019-06-12 · in Solving Sudoku with Prolog (2016) -
▲ 4
DataScript, an Immutable Db and Datalog Engine for Clojure, CLJS and JavaScriptstory by nonrecursive · 2019-06-04 · 0 comments
-
There is datascript, which has a foss implementation of datascript (with nice performance) https://github.com/tonsky/datascript And this (deprecated) project, that translate datalog to SQL(lite) https://github.com/mozilla/mentat
comment by souenzzo · 2019-03-10 · in The Essence of Datalog (2018) -
…fast as V8 * DataScript transactions are 25..70% faster that Datomic in-memory. Query times vary. https://github.com/tonsky/datascript/releases
comment by tosh · 2019-02-20 · in Datascript 0.18 (Clojure) -
▲ 7
Datascript 0.18 (Clojure)story by tosh · 2019-02-20 · 1 comment
-
▲ 3
Immutable Database and Datalog Query Engine for Clojure, ClojureScript and JSstory by tosh · 2019-01-16 · 0 comments
-
▲ 1
DataScript (Immutable database and Datalog query engine)story by tosh · 2018-10-19 · 0 comments
-
…[3]. 1: https://en.wikipedia.org/wiki/Datalog 2: https://www.datomic.com/customers.html 3: https://github.com/tonsky/datascript
comment by emmanueloga_ · 2018-10-09 · in The Birth of Prolog (1992) [pdf] -
…[^1]: In 2014 I wrote down "Why Clojure?" - http://petrustheron.com/posts/why-clojure.html [^2]: https://github.com/tonsky/datascript [^3]: https://github.com/mozilla/mentat
comment by pgt · 2018-08-21 · in Idempotence: What is it and why should I care? -
What about: https://github.com/mozilla/mentat https://github.com/tonsky/datascript
comment by joshlemer · 2018-04-21 · in Datomic: Look at all the things I'm not doing -
You can try a mostly Datomic-compatible Datascript: https://github.com/tonsky/datascript/
comment by dmitriid · 2018-04-21 · in Datomic: Look at all the things I'm not doing -
https://www.datomic.com/get-datomic.html starter version https://github.com/tonsky/datascript Datascript is also neat, it's an in-browser DB with datalog query syntax. There's some neat stuff possible with om.next + datascript:…
comment by bpicolo · 2018-01-17 · in Datomic Cloud