On Aug 18, 11:21 am, Charles Oliver Nutter <head...@headius.com>
wrote:
> > Btw. how come invokedynamic is needed for the JVM when the DLR is
> > merely a library? Is it because the CLR already has dynamic dispatch
> > or because they don't seek the same performance profile as you do?

Forgot to mention...CLR does not have any support for dynamic
invocation. Even the "dynamic" keyword in C# 4 is just porcelain over
the DLR's dyncall pipeline.

Oh, and I think it's important to note that no current release of the
CLR (either .NET or Mono) does *any* runtime optimization whatsoever.
Their "JIT" is basically "compile immediately before running with
information available at that time". This means the DLR is almost
certainly going to lag behind on performance, since they'll never be
able to inline across dynamic call boundaries. invokedynamic, at least
in the current work on Hotspot, can inline dynamic calls right now.

- Charlie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to javaposse@googlegroups.com
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to