3 ms·
I wonder how hard/easy would be to compile Clojure to a native application? Perhaps targeting something like LLVM? Of course the big advantage of easy availabi
by reddit_clone 14y ago
I wonder how hard/easy would be to compile Clojure to a native application? Perhaps targeting something like LLVM?
Of course the big advantage of easy availability of all those Java libraries will be gone. But it might open other doors.
- winter_blue 14y agogcj (GNU Compiler for Java) can compile JVM class files to machine code. Technically, the JVM also compiles your Clojure to the native instruction set, via JIT; but I don't think a JIT compiler performs the same level of optimizations (due to time constraints) as a say "gcc -O3".