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. …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
  9. …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)
  10. …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 :)
  11. …`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
  12. 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
  13. …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
  14. This look nice ! Datascript seems to be another Datalog engine (in memory only) https://github.com/tonsky/datascript
  15. …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/
  16. …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
  17. Agreed! For example in DataScript's Datalog: https://github.com/tonsky/datascript/blob/4f1af628d5650e0ca0...
    comment by refset · 2022-04-27 · in Datalog in JavaScript
  18. …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
  19. …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
  20. …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
  21. …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
  22. Datomic: https://docs.datomic.com/cloud/query/query-data-reference.ht... Datascript: https://github.com/tonsky/datascript Crux: https://opencrux.com/main/index.html
  23. …for us), Logseq is hugely inspired by Roam Research, Org Mode, TiddlyWiki, Workflow. - Datascript: https://github.com/tonsky/datascript
  24. …- 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)
  25. …be a good fit for you. The Datalog query language is very powerful for writing recursive rules. [0] https://github.com/tonsky/datascript
  26. …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
  27. …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)
  28. 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
  29. …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+…
  30. …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
  31. …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/
  32. …some open source libraries. Datascript is quite robust, and useable from javascript/clojurescript. https://github.com/tonsky/datascript
  33. …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
  34. …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?
  35. …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)
  36. 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)
  37. …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)
  38. …[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]
  39. …[^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
  40. What about: https://github.com/mozilla/mentat https://github.com/tonsky/datascript
  41. You can try a mostly Datomic-compatible Datascript: https://github.com/tonsky/datascript/
  42. 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
  43. Depending on the definition of "it", someone has: https://github.com/tonsky/datascript
    comment by greghendershott · 2017-12-09 · in Git is a purely functional data structure (2013)
  44. reminded me of https://github.com/tonsky/datascript
  45. This would do the trick: https://github.com/tonsky/datascript
    comment by refset · 2017-10-25 · in Why I'm Productive in Clojure (2013)
  46. …with minimal effort to know what am I supposed to pass as parse-el and form? what are they? https://github.com/tonsky/datascript/blob/master/src/datascr...
    comment by tomerbd · 2017-10-22 · in Why I'm Productive in Clojure (2013)
  47. …the datomic model, there is a great ClojureScript in-memory implementation called datascript ( https://github.com/tonsky/datascript ) by Nikita Prokopov.
    comment by ComNik · 2017-07-07 · in Migration from Postgres to Datomic
  48. …wondering why you would want to dive in, let me offer another good reason: there is Datascript ( https://github.com/tonsky/datascript ), which puts a good subset of Datalog inside your client-side browser app. I found it very useful for…
    comment by jwr · 2017-05-29 · in Learn Datalog Today
  49. We use Datalog every day in a React-Native application, via the datascript db ( https://github.com/tonsky/datascript ). Has been a very positive experience so far. Thinking in "facts" / binary relations is itself a refreshing approach.
    comment by ComNik · 2016-10-08 · in A gentle introduction to Prolog (2013)
  50. There's a typo in your datascript url (s/k are switched). Here's the corrected one: https://github.com/tonsky/datascript