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
- Firecrawl
- Playwright
- OpenAPI Generator
- Pulumi
- Convex
- Temporal
- Protocol Buffers
- Inngest
- Open Policy Agent
- Appium
View 40 more
- River
- OpenJDK
- iText Core
- Apache PDFBox
- MuPDF
- Swagger Codegen
- Herb
- Apache Guacamole
- Clerk
- Selenium
- ironpress
- gRPC
- Tink
- Carbone
- Cloudinary
- Cadence
- Radar
- BugSnag
- Apache Kafka
- Jitsi Meet
- Tauri
- Adobe PDF Library
- Apache Casbin
- Superwall
- TrailBase
- MLflow
- Ktor
- RevenueCat
- Apache JMeter
- NVIDIA Dynamo-Triton
- OpenTelemetry
- Apache Camel
- OpenFeature
- Gatling
- GO Feature Flag
- Tolgee
- Firebase Cloud Messaging
- Stytch
- Oso Cloud
- Apache OpenDAL
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 tool | plan not known |
|---|
Alternatives
The same job
These do what Kotlin does.
- Apache Groovy A flexible and extensible Java-like language for the JVM
- Dart An approachable, portable, and productive language for high-quality apps on any platform
