Hacker News new | past | comments | ask | show | jobs | submit login

I'm excited about this project. A few questions about your tech stack:

How's Datomic? Are you using the community edition?

Also about databases, are you using or have you considered using a graph for Cassandra like Titan?

I guess also, if you do a mobile app will you use ClojureScript with React Native, like Re-natal?

Thanks.




Datomic is awesome! I'm loving it. I'm using the "Pro Starter" edition with a single transactor + 2 Cassandra nodes. Only thing I disliked was that ref-many are unordered (a set).

I have not considered Titan, I looked into JanusGraph the other day but I have intention to switch.

I dabbled in RN + CLJS a few weeks ago and got some toy screens running. So: Yes I'd use that stack for a native app!


Sorry to ask another question, but one thing holding me back from a Clojure-oriented stack is JS interop. I know there's work being done on getting CLJS to work with npm and now there's this thing about global exports for foreign libraries[0]... for a new project I need to use a bunch of libraries not in CLJSJS.

How was your CLJS experience with JS interop? Would you still use ClojureScript if you had a lot of JS dependencies?


I'd still use CLJS. Just fighweel alone is worth it. I can see any code change in <1s and have the exact same UI state. It's just much faster for developing.

Interop is not bad, I don't do too much interop. I don't use npm-deps but just bundle the React builds separately and include them in the HTML. They rarely change and I set caching header to immutable so the browser will just read them from memory (my CLJS app changes multiple times a week). If you want to use a lot of NPM deps I'd recommend shadow-cljs, there has been a lot of development by the maintainer and it seems to work incredibly well for NPM deps. Feel free to ping me on the Clojure slack, there is also a beginners channel that is very active. And there is a shadow-cljs channel where the maintainer will quickly respond.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: