Da Vinci Machine - History

History

The Java Virtual Machine currently has no built-in support for dynamically typed languages:

  • The existing JVM instruction set is statically typed.
  • JVM has limited support for dynamically modifying existing classes and methods. It currently works only in a debugging environment.

JSR 292 (Supporting Dynamically Typed Languages on the Java Platform) proposes to:

  • add a new invokedynamic instruction at the JVM level, to allow method invocation relying on dynamic type checking,
  • to be able to change classes and methods at runtime dynamically in a production environment.

Following the success of the JRuby Java implementation, the Da Vinci project was started at the end of January 2008. The capabilities experimented by Da Vinci are planned to be added to Java 7. It aims to prototype this JSR, but also other lower-priority extensions. The first working prototype, developed as a patch on OpenJDK, was announced and made available on end of August 2008.

Since then, the JRuby team has successfully wired dynamic invocation in their codebase. Dynamic invocation shipped with the 1.1.5 release, and will be disabled on JVMs without invokedynamic capabilities.

Since then, part of the project has already been integrated in the upcoming JDK 7 codebase. and integrated in the Java 7 release.

Read more about this topic:  Da Vinci Machine

Famous quotes containing the word history:

    “To history therefore I must refer for answer, in which it would be an unhappy passage indeed, which should shew by what fatal indulgence of subordinate views and passions, a contest for an atom had defeated well founded prospects of giving liberty to half the globe.”
    —Thomas Jefferson (1743–1826)

    “Postmodernism is, almost by definition, a transitional cusp of social, cultural, economic and ideological history when modernism’s high-minded principles and preoccupations have ceased to function, but before they have been replaced with a totally new system of values. It represents a moment of suspension before the batteries are recharged for the new millennium, an acknowledgment that preceding the future is a strange and hybrid interregnum that might be called the last gasp of the past.”
    —Gilbert Adair, British author, critic. Sunday Times: Books (London, April 21, 1991)

    “There is no example in history of a revolutionary movement involving such gigantic masses being so bloodless.”
    —Leon Trotsky (1879–1940)