Build the future of communications.
Start Building for Free
  • By Berkus Karchebnyy
    Flying the Kotlin Spaceship at Twilio kotlin

    At Google I/O 2017 Google announced official support for the Kotlin programming language. Mostly because Kotlin is a friendly modern language with immense expressive power, functional programming capabilities, lambda functions support, powerful type-inference and analysis capabilities with quite ergonomic syntactic sugar.

    Why Kotlin?

    The language has been in development for a few years now and has interoperability with existing Java code so you can call Java code from Kotlin and vice-versa. It has excellent tooling support with Android Studio and Gradle plugins as well as debugger integration.

    How Twilio Uses Kotlin

    The Twilio Chat Android SDK was written in Java with some JNI bridging to C libraries provided by Twilio to give a handy package with native look and feel.

    The Chat Demo application was also written in Java which made it a hard to follow with all the Chat SDK usage details behind a lot of Java boilerplate.

    So …

    Read More
  • Newer
    Sign up and start building
    Not ready yet? Talk to an expert.