Fwd: Tail call optimization in Java JDK 8?

2010-10-11 Thread Ali Ebrahimi
I forward this to mlvm-dev list. From: Tarek Chammah Date: Tue, Oct 5, 2010 at 3:59 PM Subject: Tail call optimization in Java JDK 8? To: [email protected] Hi :: Under current plans, the current dev efforts will be split off into two separate releases. This will benefit features that a

Re: Another paper on invokedynamic

2010-10-11 Thread Christian Thalinger
On 10/11/2010 09:14 AM, John Rose wrote: > On Oct 10, 2010, at 10:48 AM, Chanwit Kaewkasi wrote: > >> It has been too late to me to cite it. Sorry about that! > > That's OK; the paper just came out. > > I made an obscure reference to it in my blog: > http://blogs.sun.com/jrose/entry/an_experim

Re: MethodHandles for Kawa and other functional languages?

2010-10-11 Thread Rémi Forax
Le 11/10/2010 02:21, Per Bothner a écrit : > On 10/10/2010 02:20 PM, Rémi Forax wrote: >> guardWithTest is the missing piece. >> It should be something like that: >> ... > Thanks! This is somewhat tricky - it will take a bit to grok it > property. And I think I've forgotten to drop the first ar

Re: MethodHandles for Kawa and other functional languages?

2010-10-11 Thread Helmut Eller
* Per Bothner [2010-10-10 23:38] writes: > An example I was considering was: > > (define (twice f x) >(f (f x))) > > My initial thought was to compile this as: > > public static Object (Procedure f, Object x) { >MethodHandle f$mh = f.asMethodHandle(); >return f$mh.invoke(f$mh.invoke(x)

Re: Another paper on invokedynamic

2010-10-11 Thread John Rose
On Oct 10, 2010, at 10:48 AM, Chanwit Kaewkasi wrote: > It has been too late to me to cite it. Sorry about that! That's OK; the paper just came out. I made an obscure reference to it in my blog: http://blogs.sun.com/jrose/entry/an_experiment_with_generic_arithmetic Here's a file copy: http: