Re:Show HN: A Lisp compiler and environment in Go
by kimi on Monday September 28, 2015 @01:09AM
(#10289004)
That'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.
Re:Show HN: A Lisp compiler and environment in Go
by kimi on Monday September 28, 2015 @02:18AM
(#10289156)
To 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.
Re:Show HN: A Lisp compiler and environment in Go
by wtetzner on Sunday September 27, 2015 @05:59PM
(#10288084)
I wasn't aware there was a Go VM.
Re:Show HN: A Lisp compiler and environment in Go
by tptacek on Sunday September 27, 2015 @06:47PM
(#10288198)
There isn't, of course, but if you mentally substitute "runtime" for "VM", the question is perfectly valid.
Re:Show HN: A Lisp compiler and environment in Go
by anjanb on Monday September 28, 2015 @03:13AM
(#10289250)
In this context, what's the difference between a "runtime" and a "VM" ? What does a "VM" have in addition to a "runtime" ?
Re:Show HN: A Lisp compiler and environment in Go
by wolf550e on Monday September 28, 2015 @07:52AM
(#10289929)
https://en.wikipedia.org/wiki/Runtime_system
libc is a runtime, but not a VM.
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.