All-You-Can-Gulp Steamin' Hot Hard-Core Java! No-compromise, professional, non-newbie tips, tricks and solutions. You're invited to join!

Wednesday, November 02, 2005

Gilad Bracha on suggested VM bytecode

Dynamically typed language lovers rejoice!

A bytecode, named "invokedynamic" was suggested in late september by VM guru Gilad Bracha in this blog post. The new JVM instruction will enable more efficient implementations of languages such as Python, Ruby, etc. on top of the JVM. The improvement will come from the ability to call a class' method without type-checking, which will reduce the need for a reflection-based implementation of dynamic-typing on top of the JVM. Errors will be trapped post-facto.

Bracha will chair the relevant JSR. Don't hold your breath though, I doubt we'll see this incorporated in the JVM in time for Mustang...