talira

Concise. Multiplatform. Fun.

open sourceApache-2.0free

Kotlin is a statically typed language from JetBrains that targets the JVM, Android, JavaScript, WebAssembly and native code. On the JVM it compiles to Java-compatible bytecode and works with existing Java libraries and frameworks such as Spring Boot; Kotlin/Native compiles through LLVM to native binaries for iOS, macOS, Linux and Windows, and Kotlin Multiplatform shares code between them. It mixes object-oriented and functional styles, with null safety, coroutines and lambdas. Language releases ship every six months, with tooling releases in between. Apache-2.0 licensed.

Libraries for Java and Kotlin

View 40 more

Browse all of them: 106 libraries, 27 frameworks, 153 APIs.

Problems it solves

  • Java code is full of boilerplate and null pointer exceptions and I want something more concise on the JVM
  • which language should I use for a new Android app
  • share business logic between my Android and iOS apps without rewriting it twice
  • keep using my existing Java libraries and Spring Boot while writing nicer code
  • write asynchronous server code without callback hell
  • a statically typed language that catches null errors at compile time
  • move a Java codebase to a modern language one file at a time

Features

  • null safety in the type system
  • interoperable with Java
  • compiles to JVM bytecode, JavaScript, WebAssembly and native code
  • coroutines for asynchronous code
  • Kotlin Multiplatform code sharing
  • higher-order functions and lambdas

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Kotlin does.

  1. Apache Groovy A flexible and extensible Java-like language for the JVM
  2. Dart An approachable, portable, and productive language for high-quality apps on any platform

Compare Kotlin with the top 3