4 ms·
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 si
by adlawson 11y 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.
- j-pb 11y agoI 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.
- JamesLeonis 11y agoA 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.