awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektMCP-ServerÜber unsRanking-MethodikPresse
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Kotlin avatar

Kotlin/kotlinx.coroutines

0
View on GitHub↗
13,703 Stars·1,926 Forks·Kotlin·apache-2.0·21 Aufrufe

Kotlinx.coroutines

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 transformations to rewrite suspending functions into state machines, allowing execution to pause and resume without blocking underlying threads.

Beyond basic task orchestration, the framework supports reactive data stream processing. This includes the ability to emit asynchronous sequences of values with built-in backpressure support and functional operators, as well as channel-based message passing to decouple producers from consumers. It also provides primitives for atomic state synchronization to maintain data consistency across multiple threads.

The project is distributed as a standard Kotlin library, providing a set of tools for integrating asynchronous logic into application codebases.

Features

  • Coroutine Frameworks - Provides a framework for executing concurrent operations and synchronizing shared state using lightweight coroutines.
  • Concurrency Management Libraries - Provides a comprehensive library for managing non-blocking background tasks and structured concurrency in Kotlin.
  • Structured Concurrency Managers - Manages hierarchical background tasks with automatic cancellation and timeout handling to prevent resource leaks.
  • Reactive Streams Implementations - Implements reactive streams with backpressure support and functional operators for asynchronous data processing.
  • Structured Concurrency Hierarchies - Organizes background tasks into hierarchies to ensure automatic cancellation and resource cleanup.
  • Stream Processing - Processes asynchronous event sequences with backpressure support and functional operators.
  • Background Task Runners - Manages background task lifecycles through structured cancellation, timeouts, and hierarchical supervision.
  • Asynchronous Execution - Executes non-blocking tasks concurrently to complete background work without stalling the main thread.
  • Asynchronous Task Orchestration - Orchestrates non-blocking background operations to maintain application responsiveness without complex callback chains.
  • Atomic State Synchronization - Provides low-level atomic primitives for managing shared state across concurrent threads without traditional locking.
  • Message Passing Channels - Implements thread-safe communication channels to decouple producers and consumers in concurrent applications.
  • Language & Core Libraries - Library support for Kotlin coroutines
  • Suspension Transformations - Rewrites suspending functions into state machines to enable non-blocking execution without thread suspension.
  • Asynchronous Streams - Emits asynchronous sequences of values with built-in backpressure support for reactive data processing.
  • Non-Blocking Suspension Points - Yields control back to the scheduler during I/O or timer waits to allow threads to perform other work.
  • Multi-threaded Execution - Ensures data consistency across multiple threads by controlling access to shared variables.
  • Shared Memory Data Exchange - Controls access to shared information across threads to prevent race conditions during parallel processing.
  • Context Propagation - Propagates execution metadata and job state through the call stack to manage task identity and dispatching.

Star-Verlauf

Star-Verlauf für kotlin/kotlinx.coroutinesStar-Verlauf für kotlin/kotlinx.coroutines

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Kotlinx.coroutines

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Kotlinx.coroutines.
  • rust-lang/bookAvatar von rust-lang

    rust-lang/book

    17,930Auf GitHub ansehen↗

    The Rust Programming Language Book is the official technical guide and educational resource for the Rust language. It provides a comprehensive walkthrough of the language's design, focusing on its core identity as a systems programming language that enforces memory safety and high-performance execution without the need for a garbage collector. The project is distinguished by its focus on ownership, borrowing, and lifetime tracking, which allow the compiler to verify memory safety and thread safety at compile time. It covers the language's unique approach to zero-cost abstractions, including t

    Rustbookmdbookrust
    Auf GitHub ansehen↗17,930
  • reactivex/rxjavaAvatar von ReactiveX

    ReactiveX/RxJava

    48,237Auf GitHub ansehen↗

    RxJava is a reactive stream processing framework and JVM reactive extensions library. It serves as an asynchronous dataflow orchestrator used to compose event-based programs by transforming, combining, and consuming real-time data flows on the Java Virtual Machine. The project distinguishes itself through integrated backpressure flow control, which manages the emission rate between producers and consumers to prevent memory exhaustion. It further provides mechanisms for concurrent thread management and parallel data processing to offload blocking operations and maintain application responsiven

    Javaflowjavareactive-streams
    Auf GitHub ansehen↗48,237
  • reactor/reactor-coreAvatar von reactor

    reactor/reactor-core

    5,224Auf GitHub ansehen↗

    Reactor Core is a reactive programming toolkit and non-blocking foundation for composing asynchronous data pipelines on the JVM. It serves as an asynchronous stream processing framework and a backpressure management system, allowing developers to transform, filter, and combine sequences of events while regulating data flow between producers and consumers to prevent resource exhaustion. The library differentiates itself through a sophisticated concurrency scheduling system and demand-based flow control. It decouples signal processing from specific threads using a scheduler registry and provide

    Javaasynchronousflowflux
    Auf GitHub ansehen↗5,224
  • dabeaz/curioAvatar von dabeaz

    dabeaz/curio

    4,126Auf GitHub ansehen↗

    Curio is a Python library for structured concurrency and asynchronous network programming. It serves as a framework for handling thousands of simultaneous TCP connections using non-blocking sockets and high-throughput I/O. The library organizes asynchronous operations into a hierarchy of parent and child coroutines to ensure reliable termination and cleanup of dependent tasks. It provides a toolkit for coordinating these concurrent operations through the use of task groups and timeouts. The framework covers a broad range of concurrency management capabilities, including inter-task communicat

    Python
    Auf GitHub ansehen↗4,126
Alle 30 Alternativen zu Kotlinx.coroutines anzeigen→

Häufig gestellte Fragen

Was macht kotlin/kotlinx.coroutines?

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.

Was sind die Hauptfunktionen von kotlin/kotlinx.coroutines?

Die Hauptfunktionen von kotlin/kotlinx.coroutines sind: Coroutine Frameworks, Concurrency Management Libraries, Structured Concurrency Managers, Reactive Streams Implementations, Structured Concurrency Hierarchies, Stream Processing, Background Task Runners, Asynchronous Execution.

Welche Open-Source-Alternativen gibt es zu kotlin/kotlinx.coroutines?

Open-Source-Alternativen zu kotlin/kotlinx.coroutines sind unter anderem: rust-lang/book — The Rust Programming Language Book is the official technical guide and educational resource for the Rust language. It… reactivex/rxjava — RxJava is a reactive stream processing framework and JVM reactive extensions library. It serves as an asynchronous… reactor/reactor-core — Reactor Core is a reactive programming toolkit and non-blocking foundation for composing asynchronous data pipelines… dabeaz/curio — Curio is a Python library for structured concurrency and asynchronous network programming. It serves as a framework… python-trio/trio — Trio is an asynchronous I/O runtime and concurrency library for Python. It provides a system for executing… smol-rs/async-task — Async-task is a low-level Rust concurrency library and asynchronous task executor designed for building custom…