Re: Tail Calls and Continuations in Clojure

2011-07-17 Thread Phil Hagelberg
On Sun, Jul 17, 2011 at 9:10 PM, Joel Dice wrote: > My goal is for Avian to be able to run anything HotSpot can when using > OpenJDK's class library, so I'll investigate this and fix it if I can. FWIW, > it handles Spring's dependency injection just fine, at least as far as I've > tested it. If y

Re: Tail Calls and Continuations in Clojure

2011-07-17 Thread Joel Dice
On Sun, 17 Jul 2011, Phil Hagelberg wrote: I tried Leiningen on Avian and it caused Maven's dependency injection framework to choke, which is not terribly surprising. Perhaps once we've ported it over to Aether it will fare better. My goal is for Avian to be able to run anything HotSpot can wh

Re: Tail Calls and Continuations in Clojure

2011-07-17 Thread Phil Hagelberg
On Sun, Jul 17, 2011 at 7:24 PM, Joel Dice wrote: > I went ahead and pursued this.  The upshot is that I can get Avian to run a > minimal Clojure script (containing just (println "hello, world!")) over > twice as fast as Hotspot by precompiling clojure.jar to native code. These > are the results o

Re: Tail Calls and Continuations in Clojure

2011-07-17 Thread Joel Dice
On Fri, 15 Jul 2011, Joel Dice wrote: On Fri, 15 Jul 2011, George Jahad wrote: very cool Joel! I'd also be interested in start up time of avian vs. hotspot, i.e. does avian make it viable to use clojure for short, quick scripts? Possibly. By default, Avian is noticeably slower to start

Re: Tail Calls and Continuations in Clojure

2011-07-16 Thread Marek Kubica
On Fri, 15 Jul 2011 12:59:47 -0600 (MDT) Joel Dice wrote: > The VM in question is Avian (http://oss.readytalk.com/avian/), built > with optional tail call and continuation features enabled and using > the OpenJDK class library. It's not nearly as fast or sophisticated > as e.g. Hotspot, but it h

Re: Tail Calls and Continuations in Clojure

2011-07-15 Thread Brent Millare
That's really cool. I'm glad someone got it to work and with little modification! On Jul 15, 4:21 pm, Joel Dice wrote: > (sorry about the lack of subject in my original post; I've added one to > this email) > > On Fri, 15 Jul 2011, George Jahad wrote: > > very cool Joel!   I'd also be interested

Re: Tail Calls and Continuations in Clojure

2011-07-15 Thread Joel Dice
(sorry about the lack of subject in my original post; I've added one to this email) On Fri, 15 Jul 2011, George Jahad wrote: very cool Joel! I'd also be interested in start up time of avian vs. hotspot, i.e. does avian make it viable to use clojure for short, quick scripts? Possibly. By d