Re: New JVM instruction invokedynamic
On 11/13/2010 10:38 AM, John B. Matthews wrote:
In article<ibm9k5$34u$1@news.eternal-september.org>,
"M.O.B. i L."<mikaelb@df.lth.se> wrote:
I read this article:
<http://java.sun.com/developer/technicalArticles/DynTypeLang/index.html>.
It's about the new JVM instruction invokedynamic that should make
dynamic languages faster.
I like to think of the JVM as a CPU. I think it's an advantage if you
can write cycle exact code in Java and use profilers. Now, this new
JVM-instruction invocedynamic seems to be unpredictable when it comes
to time consumption. Wouldn't invokedynamic create problems for real
time programs?
Couldn't this problem with dynamic languages be solved with new classes
and methods (that would be native) in JDK instead?
I don't know, but I found this related article to be informative:
<http://www.oracle.com/technetwork/issue-archive/2010/10-may/o30java-099612.html>
It's a rework of the same article by the same writer. That's related, all right.
--
Lew