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 هي واجهة برمجة تطبيقات (API) مبنية على Java لإنشاء وتنسيق ملفات مصدر Kotlin برمجياً. تعمل كأداة لتوليد الكود المصدري ورسم خرائط لنظام الأنواع، وتوفر إطار عمل لبناء هياكل كود Kotlin من خلال نموذج آمن للأنواع (type-safe) لعناصر اللغة، مما يساعد في أتمتة كتابة الكود المتكرر (boilerplate). يستخدم المشروع نمط الباني الانسيابي (fluent-builder) لبناء عناصر اللغة تدريجياً، ويحتفظ بنموذج كائنات داخلي يفصل بين الهيكل المنطقي وتنسيق النص النهائي. كما يتعامل مع تعقيدات إصدار الكود المصدري من خلال التنسيق القائم على المسافات البادئة (indentation) والهروب من الكلمات المحجوزة لضمان الحصول على مخرجات صالحة. تغطي المكتبة توليد مجموعة واسعة من التصريحات، بما في ذلك الفئات (classes)، والواجهات (interfaces)، والدوال (functions)، والخصائص (properties)، والكائنات المرافقة (companion objects). كما تتضمن أدوات لإدارة الأنواع المعقدة ذات المعاملات، وفئات التعداد (enum)، والأسماء المستعارة للأنواع (type aliases)، بالإضافة إلى أدوات لتضمين القيم الحرفية وبناء كتل التحكم في التدفق. تم دمج إدارة الاستيراد التلقائي والإشارة إلى التصريحات لحل الأعضاء عبر الأسماء المؤهلة. توفر KotlinPoet إمكانيات لتحويل بيانات الانعكاس (reflection) والرموز إلى تمثيلات مصدرية، وتدعم تصدير مواصفات الملفات لاستخدامها في أدوات معالجة التعليقات التوضيحية (annotation processing).
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