On Sunday, 5 January 2014 18:18:22 UTC, John Gabriele wrote: > > On Saturday, January 4, 2014 1:12:12 PM UTC-5, Michael Gardner wrote: > >> >> > Hopefully the landscape for alternative Clojure hosts will improve with >> the completion of CinC [2]. >> >> [2] https://github.com/Bronsa/CinC > > > Looks like CinC is now: > > * https://github.com/clojure/tools.analyzer > * https://github.com/clojure/tools.analyzer.jvm > * https://github.com/clojure/tools.emitter.jvm > > This may be the topic for another thread, but could anyone please > summarize: Do these libs provide a path forward for a native compiled > Clojure? If so, what would that path be? (Ex. a tools.emitter.c? > tools.emitter.llvm?) >
I'm somewhat sceptical of the value of trying to build a native-compiled Clojure. It is certainly theoretically possible, but making a *good* native Clojure implementation would require: 1. A really good garbage collector (for persistent data structures, lazy sequences etc.) 2. Excellent concurrency / multi-threading support with a robust concurrent memory model 3. Some sort of underlying object model / type system 4. A fast dynamic JIT compiler to recompile code in the running environment 5. A rich set of standard libraries (for collections, numerical tower etc.) This means reinventing something effectively equivalent to the JVM..... except it wouldn't have the benefit of years of fine tuning and a huge cross-platform library ecosystem. Sounds like a backwards step to me. -- -- 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.