News

Kotlin Gets First-Class Support on Android

The popularity of Kotlin among both Java and Android developers has been growing steadily since JetBrains created and then open sourced the statically typed programming language in 2011. Now that Kotlin will be shipping out of the box in Android Studio 3.0, it's a sure bet that popularity is going to spike.

Google's Android team announced first-class support for Kotlin last week during a keynote at the annual Google I/O conference. Android developers were already able to use Kotlin through a plug-in, but from now it'll ship alongside Java and C++ with the official Android IDE.

"Kotlin is a what our developer community has already asked for," Stephanie Saad Cuthbertson, director of product management for Android, told conference attendees. "It makes developers so much more productive!"

Perhaps more importantly in the long run, Cuthbertson announced that JetBrains and Google are partnering to create a non-profit foundation for the future development of Kotlin.

JetBrains CEO Maxim Shafirov reassured Kotlin's growing user base in a blog post that development of the language will continue to be sponsored by JetBrains, and the company's 40-person Kotlin team will "operate as usual," with Andrey Breslav as the Lead Language Designer.

"... Kotlin will be developed under the same principles as before, Shafirov said. "We'll keep our design processes open, because your feedback is critical for us in moving Kotlin in the right direction."

He also promised that this new level of Android support won't diminish the company's continuing support of other versions of the language, including Kotlin/JVM for server and desktop, Kotlin/JS (JavaScript), and the recently announced Kotlin/Native (which compiles directly to machine code).

"Programming languages are just like human ones," Shafirov said. "The more people speak a language, the better. First-class support on Android will likely bring more users to Kotlin, and we expect the community to grow significantly. This means more libraries and tools developed in/for Kotlin, more experience shared, more Kotlin job offerings, more learning materials published, and so on. We are excited to see the Kotlin ecosystem flourish!"

The appeal of Kotlin among Android developers is straightforward: It's a statically typed language -- similar to Scala, Gosu, Ceylon and Fantom -- which compiles to both JVM byte code and JavaScript. JetBrains has claimed that Kotlin is more stable at run time than Java, because it can statically check weak points and supports things like variable type interface, closures, extension functions,= and mix-ins. It's also less verbose than Java, which means devs can write less code with a more readable syntax. The keynote demo showed an example of how Kotlin could accomplish in one line of code the same thing that required 87 lines of Java code.

JetBrains, the Prague-based maker of the venerable code-centric Java IDE, IntelliJ IDEA, unveiled Kotlin at the 2011 JVM Language Summit in Santa Clara, Calif., and later released it for distribution under the Apache 2 Open Source License.

About the Author

John has been covering the high-tech beat from Silicon Valley and the San Francisco Bay Area for nearly two decades. He serves as Editor-at-Large for Application Development Trends (www.ADTMag.com) and contributes regularly to Redmond Magazine, The Technology Horizons in Education Journal, and Campus Technology. He is the author of more than a dozen books, including The Everything Guide to Social Media; The Everything Computer Book; Blobitecture: Waveform Architecture and Digital Design; John Chambers and the Cisco Way; and Diablo: The Official Strategy Guide.

Featured

Upcoming Events

AppTrends

Sign up for our newsletter.

I agree to this site's Privacy Policy.