I have been working on a library for ClojureCLR that actually uses a Clojure DSL to generate, compile, and load C code live into a running REPL. It's called c-in-clj (see https://github.com/aaronc/c-in-clj). It works quite well for me so far, but is still in what I would call Alpha stage. Eventually, this code may be used to compile Clojure code to a native binary via a C compiler.
You can also use this little library that I have for ClojureCLR to do painless native function calls via the CLR's P/Invoke mechanism: https://github.com/aaronc/ClojureClrEx. On Sunday, January 27, 2013 6:59:09 AM UTC-5, Konrad Hinsen wrote: > > Timothy Baldridge writes: > > > The important question to ask yourself (and I'll cover this in my > talk), is why do > > you want native Clojure? > ... > > > Interop with systems - Java has one of the biggest ecosystems on the > planet > > The Java ecosystem is big but concentrated on some application domains. > Other application domains (including mine, scientific computing) rely on > a "native code" ecosystem (C and Fortran libraries). The JVM is very bad > at interop with native code when large data is involved, because the > JNI puts security before efficiency. > > The CLR does a better job there, so those looking for native interop > could explore ClojureCLR. The main problem there is the > Windows-centricity of the CLR ecosystem. Even if the CLR is in theory > portable, with Mono providing an implementation for Linux and MacOS, > many important tools and libraries for the CLR are available only for > Windows, or are a pain to use elsewhere. > > Konrad. > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.