25 repositorios
Core language features, multiplatform support, and foundational extensions for Kotlin.
Explore 25 awesome GitHub repositories matching part of an awesome list · Language & Core Libraries. Refine with filters or upvote what's useful.
Kotlin is a statically typed, general-purpose programming language designed for type safety and concise syntax. It functions as a cross-platform development toolkit that enables the sharing of business logic across mobile, web, and server-side environments by compiling a unified intermediate representation into platform-specific machine code, bytecode, or source code. The project distinguishes itself through a multi-target build orchestration model that manages complex compilation units and hierarchical source sets. Developers can define common interface logic that is satisfied by platform-sp
The official Kotlin programming language repository.
Kotlinx.coroutines is a library for managing non-blocking background tasks and structured concurrency within the Kotlin programming language. It provides a framework for executing concurrent operations and synchronizing shared state, replacing traditional thread management and complex callback chains with lightweight primitives. The library utilizes a structured concurrency hierarchy to organize hierarchical background tasks, ensuring that lifecycle management, cancellation, and timeout handling propagate automatically to prevent resource leaks. It employs continuation-passing style transform
Library support for Kotlin coroutines
Okio is a Java I/O library providing a set of tools for efficient byte-stream processing and file system operations. It functions as a buffered byte stream handler and streaming data transformer, utilizing a cross-platform file system API to manage data movement. The project is distinguished by its use of pooled mutable byte buffers that treat sequences as queues to reduce memory copying and garbage collection churn. It further decouples file operations from the host operating system through an abstraction-based file system, allowing for consistent path manipulation and atomic operations acro
A modern I/O library for Android, Kotlin, and Java.
Kotlin-native is an ahead-of-time, cross-platform compiler and toolchain that transforms Kotlin source code into standalone native machine binaries. It functions as an LLVM native compiler, producing executable files that run directly on hardware without the requirement of a virtual machine. The project enables cross-platform native development across multiple operating systems and processor architectures, including iOS, Linux, and Windows. This allows for the creation of native Apple platform applications and software for embedded systems programming where direct memory management and minima
Kotlin/Native infrastructure
kotlinx.serialization is an official Kotlin library that provides a multiplatform serialization framework for converting Kotlin objects to and from multiple data formats. It uses a Kotlin compiler plugin to generate serializer and deserializer code at compile time, avoiding runtime reflection and preserving type safety through annotations like @Serializable. The library supports JVM, JS, and Native targets with platform-specific runtime libraries, enabling consistent serialization across all Kotlin environments. The library distinguishes itself through its multi-format encoder-decoder abstr
Kotlin multiplatform / multi-format serialization
KotlinPoet es una API basada en Java para crear y formatear archivos fuente de Kotlin mediante programación. Funciona como un generador de código fuente y un mapeador de sistemas de tipos, proporcionando un framework para construir estructuras de código Kotlin a través de un modelo de elementos de lenguaje con seguridad de tipos, automatizando así la creación de código repetitivo (boilerplate). El proyecto utiliza un patrón de diseño fluent-builder para construir elementos de lenguaje de forma incremental y mantiene un modelo de objetos interno que separa la estructura lógica del formato de texto final. Gestiona las complejidades de la emisión de código mediante un formato basado en sangrías y el escape de nombres consciente de palabras clave para garantizar una salida válida. La librería cubre la generación de una amplia gama de declaraciones, incluyendo clases, interfaces, funciones, propiedades y companion objects. Incluye utilidades para gestionar tipos parametrizados complejos, clases enum y alias de tipos, así como herramientas para incrustar literales y construir bloques de control de flujo. La gestión automática de importaciones y la referencia de declaraciones están integradas para resolver miembros mediante nombres cualificados. KotlinPoet ofrece capacidades para transformar datos de reflexión y símbolos en representaciones de código fuente, y permite exportar especificaciones de archivos para su uso en herramientas de procesamiento de anotaciones.
A Kotlin API for generating .kt source files.
kotlinx-datetime is a multiplatform library for handling date, time, and calendar operations across different targets. It provides a consistent set of data types for representing instants and local date-times, serving as a standardized API for temporal management. The toolkit focuses on ISO 8601 compliance for parsing and formatting date and time strings. It implements a multiplatform approach to ensure that timestamps and calendar logic remain consistent across all supported platforms. The library covers temporal data modeling, calendar arithmetic for calculating durations and periods, and
KotlinX multiplatform date/time library
A collection of hand-crafted extensions for your Kotlin projects.
A collection of hand-crafted extensions for your Kotlin projects.
A multiplatform Result monad for modelling success or failure operations.
A Result monad for modelling success or failure operations, inspired by Rust, Elm, Haskell & Scala.
Type-safe time calculations in Kotlin, powered by generics.
Type-safe time calculations in Kotlin, powered by generics.
This project is a comprehensive library of fundamental computer science algorithms and data structures implemented in Kotlin. It serves as a toolkit for software engineering proficiency, providing a collection of standard computational techniques designed to operate on any data type through the use of language-level generics. The library distinguishes itself by emphasizing educational clarity and type-safe implementation. It utilizes interface-based abstractions to decouple algorithmic logic from specific data structures, while employing recursive problem decomposition and immutable state pat
Algorithms and data structures in Kotlin.
The modelling for success/failure of operations in Kotlin and KMM (Kotlin Multiplatform Mobile)
The modelling for success/failure of operations in Kotlin
Functional constructs for Kotlin
Functional constructs for Kotlin
Kotlin library for Android
Kotlin library for Android providing useful extensions to eliminate boilerplate code
Math conventions to reduce boilerplate code on rounding and exponentiation