←back to thread

169 points adityaathalye | 3 comments | | HN request time: 0s | source
Show context
moomin ◴[] No.45118981[source]
It's a pity that Clojure is kind of a hermetic space these days, because the concept of bitemporality really deserves much more attention. It's amazing how often you want to know "What was the P&L for March using the data available on Apr 4?" and how uncommon it is to find a database design that supports that kind of query.
replies(4): >>45120261 #>>45120290 #>>45120880 #>>45120882 #
0_gravitas ◴[] No.45120882[source]
'Hermetic' is an interesting word-choice, considering Clojure has a habit/raison detre of attaching to other host languages/ecosystems i.e. Jank (C++), ClojureScript (JS), Basilisp (Python), Phel (PHP), Babashka (general scripting), and of course, Clojure itself on the JVM.
replies(1): >>45123917 #
1. Garlef ◴[] No.45123917[source]
Sure. But the other way around?

Why is there no JS client for datomic (that is not abandoned)?

replies(2): >>45125011 #>>45128264 #
2. monsieurbanana ◴[] No.45125011[source]
datomic =/= clojure

Clojure doesn't have much manpower, being a niche language and all, so maybe that's where your impression comes from. It's hardly on purpose, and there's many examples of software that ships with another language as public API.

Rama is written in clojure but the main api is java

Klipse is written in cljs but is marketed as a "javascript library"

Even Datomic maintains a java api

3. fulafel ◴[] No.45128264[source]
Rama[1] for example launched with Java API first. Probably for some reason Datomic just didn't get traction with JS users for some nontechnical reason.

[1] https://redplanetlabs.com/