Hacker News new | past | comments | ask | show | jobs | submit login

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.




gcj (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".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: