Kotlin: A Good Citizen on the Java Platform

Java & JVM
Location: Portland 255 Audience level: Intermediate

Ever wondered how you could benefit from using a new JVM-targeted language?
It seems hard to change horses in *main*stream, while having a huge code base in production. And in the end, you don’t use tools because they are cool, but because they lower your cost/effect ratio…

It turns out that the infrastructural cost of using Kotlin code in your Java project is close to nothing: one more step in your build script and one IDE plugin, and you can call Java code from Kotlin as well as call Kotlin code from Java.

In this talk we will tell you what you get in return.

Firstly, you get the ability to write new code using a whole bunch of features such as

  • static null-safety guarantees,
  • smart casts,
  • extension functions,
  • higher-order functions (and closures),
  • pattern matching,
  • internal DSLs,
  • and more.
    Secondly, there is a whole library that enhances the JDK classes, such as
  • map()/reduce()/… for collections,
  • many enhancements for IO, Strings and so on…
    that allow you to write better code using existing libraries.

You can read more about Kotlin at http://jetbrains.com/kotlin
And try it out at http://kotlin-demo.jetbrains.com/

Hadi Hariri


Hadi Hariri is a developer, speaker and Technical Evangelist at JetBrains. His passions include software architecture and web development. Book author and frequent contributor to developer publications, Hadi has been speaking at industry events for over a decade. He is based in Spain where he lives with his wife and three sons. He is also an ASP.NET MVP and ASP.NET Insider.

Comments on this page are now closed.


Liang Shouqing
07/24/2012 3:29pm PDT

can you share the slides?


For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at (707) 827-7065 or scordesse@oreilly.com.

View a complete list of OSCON contacts