3 ms·
I too have a similar dream, though it already has a few good runtimes but the more the merrier, compiling to native via graalvm recently was too cool
by slifin 7y ago
I too have a similar dream, though it already has a few good runtimes but the more the merrier, compiling to native via graalvm recently was too cool
- logicprog 7y agoWow wait that's a thing? I haven't kept up with Clojure for about a year. What runtimes are available? Is there one that doesn't run on a VM?
- slifin 7y agoGraalvm can compile a native binary for all major OSs that does not contain the JVM but does run the substratevm which generates binaries in the order of tens of megabytes (2 in my case) it eradicates JVM startup time so now things like scripting is viable without using JS Runtimes for Clojure include JVM, JavaScript engines, .NET then there are less popular runtimes like Go Erlang python? realistically I'd use one of the first three till the community is bigger I don't know another language with as much practical reach as Clojure has
- logicprog 7y agoNo kidding, I'll have to refresh myself on what's going on in Clojureland!
- flavio81 7y ago>Runtimes for Clojure include JVM, JavaScript engines, .NET Except that they don't support the same Clojure language. ClojureScript is a success, and code written for the JVM Clojure won't necessarily run on ClojureCLR. Clojure's overreliance on the JVM at the very core was a bad decision. Take Common Lisp: the exactly same language runs on the JVM, native machine language (many platforms), and LLVM, with zero code changes required.
- flavio81 7y ago* typo: ClojureScript is a subset It is also a success, on the other hand. It's a good alternative to Javascript. We also have a subset of Common Lisp that can be statically compiled to javascript: Parenscript. And a subset of CL that runs on the browser as a lisp implementation: JSCL.
- vips7L 7y agoGraalvm does native compilation.