4 ms·
Along these lines, do people here think porting Clojure to use the Go VM a worthwhile endeavor? Or, to the contrary, if one just wants to avoid the JVM, would
by jgalt212 11y ago
Along these lines, do people here think porting Clojure to use the Go VM a worthwhile endeavor?
Or, to the contrary, if one just wants to avoid the JVM, would it just be better to write Clojurescript?
That being said, having one binary to distribute and install is a very strong argument for Go VM languages.
- wtetzner 11y agoI wasn't aware there was a Go VM.
- kimi 11y agoThat's what I thought. Clojure is a "parasitic" language, meaning that it is meant to work with a host, so it should not be too hard to make it work with a Go environment. Plus, the fact that there is a very well working ClojureScript means that any "hard" deps on the JVM's original implementation should be gone. Clojure is a sweet language to work in, but you just cannot create a small executable out of it.
- kimi 11y agoTo clarify: I have been looking for something along these lines because my company is looking to invest heavily into Clojure. We come from a Java/JVM environment, and we are very happy with it, but we have to ship a "beacon" to appliances. This means: Java on the server, GWT or JavaScript on the browser, and perl/C on the beacon. With Clojure / ClojureScript / ClojureGo we could have the same programmers moving between the three environments, and it would be a major win for us. Clojure might not be perfect, but we still would be able to write any critical code in the host language.