Difference between revisions of "Kotlin"

From JVMLangSummit
Jump to navigationJump to search
Line 3: Line 3:
;Speaker: Andrey Breslav
;Speaker: Andrey Breslav
;Resources: [[Media:Jetbrains-Kotlin.pdf‎ | Slides]] and [http://jetbrains.com/kotlin Kotlin homepage]
;Resources: [[Media:Jetbrains-Kotlin.pdf‎ | Slides 1]], [[Media:Jetbrains-Kotlin-workshop.pdf‎ | Slides 2]], and [http://jetbrains.com/kotlin Kotlin homepage]

Latest revision as of 16:16, 20 July 2011

The Kotlin Programming language
Andrey Breslav
Slides 1, Slides 2, and Kotlin homepage

We present a new statically typed JVM-targeted programming language developed by JetBrains and intended for industrial use.

We’ve been developing for the Java platform for a long time, and we know how good it is. On the other hand, we know that the Java programming language has certain limitations and problems that are either impossible or very hard to fix due to backward-compatibility issues. We know that Java is going to stand long, but we believe that the community can benefit from a new statically typed JVM-targeted language free of the legacy trouble and having the features so desperately wanted by the developers.

The main design goals behind this project are

  • to create a Java-compatible language,
  • that compiles as fast as Java,
  • make it safer than Java, i.e. statically check for common pitfalls such as null pointer dereference,
  • make it more concise than Java by supporting local type-inference, first-class functions (closures), extension functions, mixins and first-class delegation, etc;
  • and, keeping the useful level of expressiveness (see above), make it way simpler than the most mature competitor -- Scala.