The JVM does compile to native code once it is executed a specific number of times. That's what the JIT compiler does. You can control how many times a piece of code executes before it gets compiled by changing this JVM option -XX:CompileThreshold=<number>.
If you want to look at other JVM options you can view the whole list here http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html Someone did post in the mail list earlier this week or last week about a project that translate clojure code into C++. Matt Hoyt ________________________________ From: cran1988 <[email protected]> To: Clojure <[email protected]> Sent: Sunday, July 10, 2011 5:26 PM Subject: Native compiler on Clojure Did anyone started creating native compiler for Clojure language ? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
