Clojure depends on aggressive dynamic optimization for performance. It's a very different set of techniques than what is used in the ahead-of-time static compilation world from which LLVM hails. The Google guys working on Unladen Swallow seem to have had enough problems getting it to work well even as a basic JIT code generator; the layers of abstraction make it very slow. There's a good reason V8 is using unlayered, direct code generation.
In my judgement it would be a multi-year project for an experienced specialist in the field. Mike Pall took several years to do just the x86 version of LuaJIT 2.0, but he had already done LuaJIT 1.0, and he is arguably one of the world's top experts in this area. Besides, one of the Clojure's main raisons d'etre is the vast pool of existing libraries in the JVM (and now CLR) world to draw from. -Per On Wed, Mar 24, 2010 at 11:42 AM, Antony Blakey <antony.bla...@gmail.com> wrote: > Has anyone looked at driving LLVM from Clojure and then doing code generation > to LLVM? I've had some experience doing it in a JIT context for VisualWorks > Smalltalk, but I'd rather not reinvent the wheel. I'd love to be able to use > Clojure on the iPad. > > Antony Blakey > ------------- > CTO, Linkuistics Pty Ltd > Ph: 0438 840 787 > > Did you hear about the Buddhist who refused Novocain during a root canal? > His goal: transcend dental medication. > > > -- > 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 > > To unsubscribe from this group, send email to > clojure+unsubscribegooglegroups.com or reply to this email with the words > "REMOVE ME" as the subject. > -- 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 To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.