Hacker GitHub

← All repos

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

Mentions per year 72 mentions · busiest year 2019 (11)
20082026
  1. 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…
  2. …consistency naturally. LLMs know how to write it. It's type safe. JS implementations exist [0]. [0] https://github.com/tonsky/datascript
  3. …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
  4. …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…
  5. …may be interested in Datomic[0] or Datascript[1] [0]: https://www.datomic.com/benefits.html [1]: https://github.com/tonsky/datascript
  6. The article says Datascript. https://github.com/tonsky/datascript
  7. …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
  8. ▲ 3
    Datascript: Immutable database and Datalog query engine
    story by tosh · 2024-05-06 · 0 comments
  9. …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
  10. …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)
  11. …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 :)
  12. …`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
  13. 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
  14. …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
  15. This look nice ! Datascript seems to be another Datalog engine (in memory only) https://github.com/tonsky/datascript
  16. …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/
  17. …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
  18. Agreed! For example in DataScript's Datalog: https://github.com/tonsky/datascript/blob/4f1af628d5650e0ca0...
    comment by refset · 2022-04-27 · in Datalog in JavaScript
  19. …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
  20. …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
  21. ▲ 18
    DataScript 1.3.0
    story by tosh · 2021-11-26 · 0 comments
  22. …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
  23. …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
  24. Datomic: https://docs.datomic.com/cloud/query/query-data-reference.ht... Datascript: https://github.com/tonsky/datascript Crux: https://opencrux.com/main/index.html
  25. …for us), Logseq is hugely inspired by Roam Research, Org Mode, TiddlyWiki, Workflow. - Datascript: https://github.com/tonsky/datascript
  26. ▲ 2
    Datascript: An immutable in-memory database and Datalog query engine in Clojure
    story by brzozowski · 2020-07-22 · 0 comments
  27. ▲ 3
    DataScript 1.0.0
    story by tosh · 2020-07-11 · 0 comments
  28. …- 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)
  29. …be a good fit for you. The Datalog query language is very powerful for writing recursive rules. [0] https://github.com/tonsky/datascript
  30. …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
  31. …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)
  32. 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
  33. …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+…
  34. …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
  35. …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/
  36. …some open source libraries. Datascript is quite robust, and useable from javascript/clojurescript. https://github.com/tonsky/datascript
  37. …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
  38. …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?
  39. …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)
  40. ▲ 4
    DataScript, an Immutable Db and Datalog Engine for Clojure, CLJS and JavaScript
    story by nonrecursive · 2019-06-04 · 0 comments
  41. 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)
  42. …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)
  43. ▲ 7
    Datascript 0.18 (Clojure)
    story by tosh · 2019-02-20 · 1 comment
  44. ▲ 3
    Immutable Database and Datalog Query Engine for Clojure, ClojureScript and JS
    story by tosh · 2019-01-16 · 0 comments
  45. ▲ 1
    DataScript (Immutable database and Datalog query engine)
    story by tosh · 2018-10-19 · 0 comments
  46. …[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]
  47. …[^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
  48. What about: https://github.com/mozilla/mentat https://github.com/tonsky/datascript
  49. You can try a mostly Datomic-compatible Datascript: https://github.com/tonsky/datascript/
  50. 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