JVM-Targeted Kotlin M2 Released
- By John K. Waters
- June 12, 2012
JetBrains, the force behind the open source Kotlin project, announced this week the availability of Kotlin M2.
The second milestone release of the JVM-targeted programming language comes with a number of bug fixes, new language features and support for the Android operating system.
The new language features include four visibility modifiers (private, protected, public and internal), the ability to allow arrays to be passed to variable argument functions and adds a spread operator to convert arrays into vararg (variable arguments) lists.
The Prague-based maker of the code-centric Java IDE, IntelliJ IDEA, began developing Kotlin in 2010 and released it earlier this year for distribution under Apache 2 Open Source License.
JetBrains is continuing to work on the IDE plugin, the company says, and is "progressing pretty fast." The emphasis of that development is on performance and tighter integration with the Java IDE. The company points to some user-facing developments in the blog announcement, including: the IDE's ability to display error messages formatted in a "nice HTML-like way;" "Specify explicit type" refactoring; support for Cross-language Find Usages and Rename between Kotlin and Java code; and support for navigation to inheritors, among others.
The M2 release also improves on the integration with Maven and Ant build tools, the company says.
Breslav said project supports also plan to provide "good library support for Android."
"We suspect that most of Android's XML files can be replace with Kotlin's builders that are much nicer in many ways," he wrote.
The blog includes links to examples and installation instructions. The full source code and other resources are available on the JetBrains/Kotlin Github repository.
(According to Wikipedia, Kotlin is the name of a Russian island located near the head of the Gulf of Finland, 20 miles west of Saint Petersburg in the Baltic Sea. One of JetBrains' development offices is located in Saint Petersburg.)
John K. Waters is the editor in chief of a number of Converge360.com sites, with a focus on high-end development, AI and future tech. He's been writing about cutting-edge technologies and culture of Silicon Valley for more than two decades, and he's written more than a dozen books. He also co-scripted the documentary film Silicon Valley: A 100 Year Renaissance, which aired on PBS. He can be reached at [email protected].