Oracle Launches Project Valhalla for Java with an aim to evolve new features for Java Language
In a bid to provide the long term structure and support for evolving the Java languages with a suitable and appropriate platform, the Oracle have announced its much awaited Project Valhalla for Java. Certainly a long section of developers and professionals were waiting for a long time for this and now their wait has come to a realistic end. Yes with the announcement of project Java by Oracle, now it has open an experimental OpenJDK project to develop major new features for Java that require both changes to the language syntax and VM-level support.
Needless to say, the Valhalla project was initially envisaged by Brian Goetz earlier and he stressed that this is an early-stage experimentation project. In fact it was Goetz who said that the community should not necessarily expect any Valhalla technology to be available as part of JDK 9. It will be suitable here to mention that it was scheduled for 2016.
Earlier it was envisaged a multiple set of guidelines with OpenJDK for the project to provide a venue to explore and incubate advanced Java VM and Language feature. Apart from this, Value Types, Generic Specialization and enhanced volatiles features were assumed with the related topics earlier. The newly launched project is similar in intent to some existing OpenJDK projects in terms of Project Lambda and the DaVinci Machine project.
For developers, Valhalla has become a crucial device for many purposes including host specification lists if one or more JSRs is being subsequently created. The initial source of the project was to establish changes from JDK 9 parent so that it can be synced into Valhalla periodically. Like project Lambda, selected changes have been extracted into new changing pattern into JDK repositories when it was ready for the inculcation.
It also will explore a new approach to generic typing, and hopes to produce a new form of generic typing that allows developers to use generic collections of primitive types. Certainly it will provide the types such as List<int> to be valid Java as it has released earlier for the JDK.
The value types is the another important features for the Valhalla which has been attached with the newly launched project. The new features are intended to combine some of the properties of Java's object and primitive types; however there is a need for developers to treat them as though they were just a new kind of user-defined primitive type. John Rose, Brian Goetz and Guy Steele have published an initial proposal for value types here.
Lastly, now as the phase of Valhalla features is all set to start, so interested developers and programmer can get benefitted from the latest features for their different purposes.