r/Clojure • • May 25 '20

Datahike release 0.3.0

https://github.com/replikativ/datahike/releases/tag/v0.3.0
73 Upvotes

17 comments sorted by

6

u/dustingetz May 25 '20

From the website https://lambdaforge.io/#sec-04

CLIENTS
CLIENT Swedish Public Employment Service
PROJECT Development of additional features in datahike

What's the story here? You guys do govt contracts and worked Datahike into one?

3

u/lord_kordano May 26 '20

They came to us because they wanted to use Datahike and needed some features.

5

u/bsless May 25 '20

weeee

No heterogeneous tuple types yet?

16

u/lord_kordano May 25 '20

Core developer here. It is definitely in the backlog but we decided to make a release rather now than later. After this release we start with a shorter release cycle for faster feature addition. So tuples might come in a month. Currently we are deciding on a process on how to prioritize our backlog and roadmap.

5

u/bsless May 25 '20

Thanks for the reply!

Tuples are the last piece I'm missing in order to test datahike for production. It's a really cool project. Kudos to you, the team, and Tonsky :)

1

u/fjolne May 26 '20

That might sound as unidiomatic, but tuples without 2-8 size constraint would be a huge win for me over Datomic. Or maybe just some other built-in data type for sorted collections. Built-in data types in general are the main pain-point for us with Datomic, so I’m genuinely excited if you’re going to make something in that direction.

4

u/lord_kordano May 26 '20

Sure, if you have specific requirements for data types regarding tuples, you can discuss that https://github.com/replikativ/datahike/issues/104. For any other data type we can discuss that here, on slack, or feel free to open an issue on github. We're always happy for input regarding new features. :)

5

u/adamtait May 25 '20

I’m excited for Clojure/Script support!

6

u/flyingfruits May 26 '20

Core developer here. Many users have interest in that it is a priority. We were just first aiming to cover the most straightforward use case and iron out some bits around durability, so that the JVM version runs smoothly, since it will be the backbone for replication to ClojureScript frontends as well. What specifically are you interested in?

2

u/adamtait May 28 '20

Thanks for all your great work!

I'm using DataScript on a ReactNative/Cljs iOS & Android app now and I don't have any complaints. However, the app is content-heavy and I expect to hit some performance limits eventually. I'm using Datomic on the backend and prefer the greater similarity between Datahike & Datomic.

1

u/reidiculous May 26 '20

How similar are Crux and Datahike?

1

u/yogthos May 26 '20

It's modeled on Datomic, and here's a doc on the differences between the two.

2

u/theoriginalmatt May 26 '20

Thanks for datahike, I love it.

Do you think it would it be useful/possible to have a sqlite backend?

1

u/lord_kordano May 26 '20

We are planing a general jdbc backend. So it will be possible in the future.

2

u/cartesian-theatrics May 26 '20

Very exciting to see the uptick in development of datahike! Did the bytes type make it in 0.3.0? I see it on the roadmap but not the changelog.

2

u/lord_kordano May 27 '20

It is still on the roadmap but didn't make it in this release. It's planned for one of the patch releases.

2

u/lgstein May 28 '20

Since this runs on only one peer, is there something like a standby peer mode?