Hacker News new | ask | show | jobs
by adlawson 3975 days ago
Interesting project! May I ask why you chose ClojureScript over straight Clojure?

My understanding of ClojureScript is that it's Clojure syntax for a simple single threaded environment (probably an oversimplification), but with Golang you have a lot more reach in terms of concurrency.

Please forgive me if I haven't phrased this very well. I certainly don't mean to put a negative spin on this or anything; I'm just curious.

2 comments

A contributing reason is because Clojurescript compiles down to javascript, which can compile down to anything JS touches. It's harder in the Java version because it compiles down to the Java bytecode.
I would guess, because the cljs compiler infrastructure is written in clojure/clojurescript, thus easier to port and extend, compared to the clojure compiler which is written in java.