25 个仓库
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 是一个基于 Java 的 API,用于以编程方式创建和格式化 Kotlin 源文件。它作为一个源代码生成器和类型系统映射器,通过语言元素的类型安全模型提供框架,以构建 Kotlin 代码结构并自动化样板代码的生产。 该项目利用流式构建器模式逐步构建语言元素,并维护一个将逻辑结构与最终文本格式分离的内部对象模型表示。它通过基于缩进的格式化和感知关键字的名称转义来处理源代码生成的复杂性,以确保输出有效。 该库涵盖了广泛声明的生成,包括类、接口、函数、属性和伴生对象。它包含用于管理复杂参数化类型、枚举类和类型别名的工具,以及用于嵌入字面量和构建控制流块的工具。自动导入管理和声明引用已集成,以通过限定名称解析成员。 KotlinPoet 提供了将反射数据和符号转换为源代码表示的能力,并支持导出文件规范以供注解处理工具使用。
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