On Sat, Apr 2, 2011 at 7:34 PM, Charles Oliver Nutter
<[email protected]> wrote:
> I also want to make clear this affects all languages that pass
> functions or closure around, including Groovy, JRuby, Scala, Clojure,
> current Java with callbacks/anon classes, and upcoming Java 7 closure
> support.

Sent this a bit quickly...

This may actually be a case where JRuby has a better chance of
optimizing since we are already mixed-mode. It won't be very difficult
for us to specialize a body of code to the point of use, allowing that
body and a closure passed to it to inline. Assuming that's not
possible for other languages, has anyone thought of other ways to make
closures/callbacks optimize as well as normal inlined monomophic call
paths?

- Charlie

-- 
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en.

Reply via email to