awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

22 个仓库

Awesome GitHub RepositoriesCoroutine Frameworks

Toolkits for executing concurrent operations and synchronizing state using lightweight coroutine primitives.

Distinct from Kotlin Frameworks: Distinct from Kotlin Frameworks: focuses on the coroutine-specific concurrency model rather than general server-side web frameworks.

Explore 22 awesome GitHub repositories matching web development · Coroutine Frameworks. Refine with filters or upvote what's useful.

Awesome Coroutine Frameworks GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • swoole/swoole-srcswoole 的头像

    swoole/swoole-src

    18,891在 GitHub 上查看↗

    Swoole is a coroutine-based concurrency library and IO framework for PHP. It provides a system for building high-performance network servers and applications by bringing asynchronous, event-driven, and coroutine-based concurrency to the PHP runtime. The project distinguishes itself by implementing user-space coroutine scheduling and non-blocking IO interception, which transforms standard blocking network and file operations into asynchronous actions. It further enables high-speed data exchange across multiple PHP processes through shared memory management and specialized data structures. The

    Provides a coroutine-based IO framework that transforms blocking network and file operations into non-blocking actions.

    C++
    在 GitHub 上查看↗18,891
  • kotlin/kotlinx.coroutinesKotlin 的头像

    Kotlin/kotlinx.coroutines

    13,703在 GitHub 上查看↗

    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

    Provides a framework for executing concurrent operations and synchronizing shared state using lightweight coroutines.

    Kotlinasynccoroutineskotlin
    在 GitHub 上查看↗13,703
  • encode/starletteencode 的头像

    encode/starlette

    12,397在 GitHub 上查看↗

    Starlette is an asynchronous web framework and toolkit for building high-performance web services based on the ASGI specification. It serves as a lightweight foundation for creating web applications with a focus on asynchronous request and response handling. The framework provides specialized toolkits for managing persistent bidirectional WebSocket communication and an asynchronous HTTP server toolkit for routing and middleware. It distinguishes itself by offering a non-blocking background task queue that executes functions after a response has been sent to the client. The project covers a b

    Provides a routing system that maps incoming HTTP paths to asynchronous coroutines.

    Python
    在 GitHub 上查看↗12,397
  • walkor/workermanwalkor 的头像

    walkor/workerman

    11,547在 GitHub 上查看↗

    Workerman is an event-driven asynchronous socket framework for PHP. It provides the core components necessary to build high-concurrency network servers, including an asynchronous TCP framework, a coroutine library for task management, and dedicated implementations for HTTP and WebSocket servers. The project enables the development of specialized network services using custom frame-based communication protocols. It supports both inbound concurrent server implementation and asynchronous outbound connectivity to remote services. The framework covers a broad range of network programming capabili

    Provides a coroutine library that simulates multitasking by pausing and resuming execution paths without blocking.

    PHPasynchronousevent-drivenhigh-performance
    在 GitHub 上查看↗11,547
  • vercel/microvercel 的头像

    vercel/micro

    10,618在 GitHub 上查看↗

    Micro is a Node.js HTTP microservices framework used to build asynchronous web servers. It enables the creation of lightweight services that handle requests and responses through single-purpose functions to reduce operational footprint and latency. The framework functions as a JSON API backend and a WebSocket communication server, allowing for the establishment of bidirectional socket connections for real-time data updates and instant messaging. Its capability surface covers HTTP request processing, including the parsing of JSON and URL-encoded request bodies. It also supports external API i

    Maps incoming HTTP requests to specific asynchronous handler functions to create lightweight and isolated service logic.

    TypeScriptasyncawaitmicro
    在 GitHub 上查看↗10,618
  • lua/lualua 的头像

    lua/lua

    9,768在 GitHub 上查看↗

    Lua is an embeddable scripting language written in ISO C, designed to be integrated into host applications for runtime customization. It provides a C-based scripting engine and a prototype-based object model that utilizes associative arrays and metatables to implement inheritance and complex data structures. The language features a cooperative multitasking system that manages concurrent execution threads via coroutines and an incremental garbage collector for automatic memory management. It includes a safe code sandbox to isolate global state and run untrusted scripts within a protected envir

    Supports pausing and resuming execution threads using coroutines for cooperative concurrency.

    C
    在 GitHub 上查看↗9,768
  • scylladb/seastarscylladb 的头像

    scylladb/seastar

    9,271在 GitHub 上查看↗

    Seastar is a C++ server application framework and asynchronous programming library designed for building high-performance, shared-nothing server applications. It functions as a high-performance I/O engine providing direct disk and network access through a shared-nothing framework that partitions data and execution across CPU cores. The framework distinguishes itself through a thread-per-core architecture that eliminates locking and resource contention by assigning one execution thread to each physical CPU core. It implements a userspace TCP/IP stack and kernel-bypass techniques, integrating w

    Manages high-concurrency workloads using lightweight coroutines to execute non-blocking tasks.

    C++
    在 GitHub 上查看↗9,271
  • reactphp/reactphpreactphp 的头像

    reactphp/reactphp

    9,091在 GitHub 上查看↗

    ReactPHP is an asynchronous runtime and event-driven I/O framework for PHP. It provides an environment for executing concurrent tasks through a central event loop implementation and reactor pattern, allowing applications to handle multiple operations without pausing the main execution thread. The project includes a specialized asynchronous socket library for TCP, UDP, and TLS communication, alongside a non-blocking HTTP server and client for streaming web requests and responses. Its capability surface covers asynchronous control flow via promises and fibers, non-blocking network connectivity

    Provides an asynchronous runtime for PHP utilizing an event-driven architecture with promises and fibers.

    PHP
    在 GitHub 上查看↗9,091
  • guzzle/promisesguzzle 的头像

    guzzle/promises

    7,717在 GitHub 上查看↗

    This project is a PHP implementation of the Promises/A+ specification, providing a library for managing asynchronous operations and deferred values. It serves as an asynchronous task coordinator that allows for the creation of non-blocking code through a promise-based pattern. The library enables the simulation of asynchronous coroutines, allowing non-blocking code to be written in a linear style. It features duck-typed interoperability, which allows it to integrate with any foreign object that implements a then method regardless of class inheritance. The project covers broader capabilities

    Enables writing non-blocking PHP code in a linear style by simulating asynchronous coroutines.

    PHP
    在 GitHub 上查看↗7,717
  • hyperf/hyperfhyperf 的头像

    hyperf/hyperf

    6,855在 GitHub 上查看↗

    Hyperf is a high-performance PHP coroutine framework designed for building microservices and middleware. It utilizes non-blocking coroutines to handle high concurrency and low-latency request processing, providing a foundation for scalable distributed systems. The framework is distinguished by an aspect-oriented programming based dependency injector that enables pluggable components and meta-programming. It includes a coroutine-optimized object-relational mapper with integrated model caching and an orchestration toolkit for microservice governance, featuring service discovery, circuit breaker

    Provides a high-performance PHP runtime that leverages coroutines to handle high concurrency and low-latency request processing.

    PHP
    在 GitHub 上查看↗6,855
  • igorwojda/android-showcaseigorwojda 的头像

    igorwojda/android-showcase

    6,760在 GitHub 上查看↗

    This is an open-source Android application that serves as a reference implementation for modern app architecture. It demonstrates a modular, testable structure built with Kotlin, Coroutines, and Jetpack libraries, organized into independent feature modules that each follow Clean Architecture and the MVVM pattern. The project enforces coding standards through an automated static analysis pipeline that integrates linting, formatting checks, and code quality tools directly into the build process, failing the build on any violations. It uses reusable Gradle convention plugins to standardize build

    Binds UI components to ViewModels that expose state as Kotlin Flow streams, with coroutines managing async operations.

    Kotlinandroidandroid-applicationarchitecture
    在 GitHub 上查看↗6,760
  • chrisbanes/tivichrisbanes 的头像

    chrisbanes/tivi

    6,732在 GitHub 上查看↗

    Tivi is a cross-platform application for discovering and tracking television shows, built with Kotlin Multiplatform and Compose Multiplatform to share its user interface across Android, iOS, and desktop platforms. The app follows the Model-View-Intent (MVI) architecture pattern, where user actions are modelled as sealed class intents that reduce into a single immutable state object, ensuring predictable and unidirectional data flow managed through Kotlin coroutines and StateFlow. The application uses Hilt for compile-time dependency injection and SQLDelight for type-safe local data storage, c

    Exposes reactive state as StateFlow coroutines with lifecycle-aware collection.

    Kotlinandroid-applicationjetpack-composekotlin
    在 GitHub 上查看↗6,732
  • hacksoftware/django-styleguideHackSoftware 的头像

    HackSoftware/Django-Styleguide

    6,209在 GitHub 上查看↗

    该项目提供了用于组织 Django 应用程序的架构标准和模式。它定义了一个项目架构指南,重点是通过服务层架构将业务逻辑与视图和模型解耦。 该指南建立了特定的设计模式,包括用于独立业务逻辑函数的服务层,以及用于隔离复杂数据库查询的数据选择器模式。它定义了单用途视图的标准,这些视图将逻辑委托给服务,并利用专用序列化程序进行数据输入和输出。 该框架涵盖了几个更广泛的功能领域,包括用于将环境覆盖与基础设置分离的模块化配置管理、用于领域驱动错误映射的自定义异常层次结构,以及用于协调后台任务和定期调度的系统。它还包括将数据库约束与模型和服务级验证相结合的标准。

    Structures API views to handle only request routing and response formatting while delegating business logic to services.

    Python
    在 GitHub 上查看↗6,209
  • mockk/mockkmockk 的头像

    mockk/mockk

    5,747在 GitHub 上查看↗

    MockK is a Kotlin test double framework that creates mocks, spies, and relaxed mocks for unit testing, with support for final classes, static methods, and coroutines. It functions as a bytecode instrumentation library that modifies compiled class files at load time to intercept constructors, final methods, and static functions without source changes, and also provides dedicated libraries for constructor mocking and coroutine mocking. The framework is designed specifically for Kotlin, handling Kotlin-specific constructs like extension functions, singletons, and suspend functions. MockK disting

    Intercepts Kotlin suspend function calls at the bytecode level to allow stubbing and verification of coroutine-based methods.

    Kotlinargument-matcherschain-callshacktoberfest
    在 GitHub 上查看↗5,747
  • luajit/luajitLuaJIT 的头像

    LuaJIT/LuaJIT

    5,592在 GitHub 上查看↗

    LuaJIT 是一个高性能 Lua 语言实现和即时编译器。它作为一个嵌入式脚本引擎和动态二进制翻译器,在执行过程中将可移植字节码转换为原生机器码。 该项目专注于高性能脚本编写,通过将字节码翻译为特定架构的指令,实现接近编译后 C 代码的执行速度。它利用专为最小内存开销设计的轻量级运行时环境。 该系统支持通过位运算进行二进制数据处理,并通过集成 C 协程实现异步任务管理。它还提供了运行时代码生成和创建自定义机器码指令的功能。

    Implements low-level coroutine primitives in C to manage non-blocking multitasking.

    C
    在 GitHub 上查看↗5,592
  • kotest/kotestkotest 的头像

    kotest/kotest

    4,785在 GitHub 上查看↗

    Kotest 是一个全面的 Kotlin 测试框架,旨在跨各种风格和平台编写并执行测试。它作为一个多平台测试运行器和流畅的断言库,为 Kotlin 应用的单元测试和集成测试提供了一套工具集。 该框架支持多种测试方法,包括带有嵌套测试层级的行为驱动开发 (BDD)、使用自动数据生成的属性测试,以及数据驱动测试。它还包含快照测试,通过比较当前输出与存储的参考文件来检测回归。 系统具有支持协程的执行引擎和可插拔架构,允许自定义匹配器和第三方扩展。它包含一个复合断言聚合系统,可将多个失败收集到单个报告中,并提供一个将测试套件映射到特定平台执行引擎的转换层。

    Ships a coroutine-aware execution engine that manages dispatchers and timeouts for asynchronous Kotlin tests.

    Kotlinassertionskotlinkotlin-js
    在 GitHub 上查看↗4,785
  • andreasfertig/cppinsightsandreasfertig 的头像

    andreasfertig/cppinsights

    4,497在 GitHub 上查看↗

    cppinsights 是一个 C++ 编译器可视化和静态分析工具,使用 Clang 前端将源代码解析为抽象语法树。它作为一个源到源 (source-to-source) 转换器,重写 C++ 代码,使隐式编译器行为和隐藏操作变得明确且可见。 该工具专门用于展开复杂的语言结构,例如扩展协程的内部机制以可视化挂起和恢复逻辑。它还揭示了模板实例化期间生成的实际代码,并将隐式编译器操作(包括结构化绑定和特殊成员函数)转换为显式源代码表示。 其他功能包括 using 语句的解析以及 C++ 类继承层次结构的结构图生成。

    Transforms implicit coroutine machinery into explicit representations to show suspension and resumption handling.

    C++
    在 GitHub 上查看↗4,497
  • amphp/ampamphp 的头像

    amphp/amp

    4,419在 GitHub 上查看↗

    Amp 是一个 PHP 的非阻塞并发框架。它为编写异步应用提供了核心基础设施,使用事件循环在单个进程内调度操作、计时器和信号。 该项目实现了一个利用纤程 (fibers) 来挂起和恢复函数执行的协程库。这允许系统在不阻塞主执行线程的情况下处理并发任务,从而在输入和输出操作期间优化 CPU 使用率。它进一步通过 Future 和 Promise 实现来管理挂起的操作结果。 该框架涵盖了广泛的协调功能,包括非阻塞 I/O 多路复用、用于中止长时间运行操作的基于令牌的任务取消,以及用于等待多个并发任务完成的策略。它还包括用于循环任务调度和执行暂停的机制。

    Provides a PHP-specific coroutine implementation for managing interruptible functions and cooperative multitasking.

    PHP
    在 GitHub 上查看↗4,419
  • idealvin/coostidealvin 的头像

    idealvin/coost

    4,205在 GitHub 上查看↗

    Coost is a concurrent network framework and coroutine scheduler designed for building high-performance TCP, HTTP, and RPC services. It provides a set of tools for handling non-blocking IPv4 and IPv6 communication, integrating SSL encryption and a lightweight execution engine that manages concurrent tasks using shared stacks. The project features a specialized JSON RPC implementation for exchanging structured data over encrypted connections and a high-performance logging system. This logging infrastructure supports topic-based routing, frequency filtering, and automated stack trace capture for

    Provides a comprehensive concurrency framework utilizing a scheduler and channels for parallel task execution.

    C++benchmarkcoroutineflag
    在 GitHub 上查看↗4,205
  • lewissbaker/cppcorolewissbaker 的头像

    lewissbaker/cppcoro

    3,818在 GitHub 上查看↗

    cppcoro is a C++ coroutine library and concurrency toolkit providing primitives for asynchronous tasks, lazy generators, and non-blocking execution. It functions as an asynchronous I/O framework for managing network sockets and file operations through an event loop. The library features a work-stealing thread pool for distributing tasks across multiple cores and a set of async generators for producing lazy sequences of values both synchronously and asynchronously. It includes a concurrency toolkit with async mutexes, latches, and shared tasks to coordinate multi-threaded execution. Its capab

    Provides a comprehensive framework based on C++20 specifications for low-level awaitables and lazy execution.

    C++asyncasync-awaitasynchronous-programming
    在 GitHub 上查看↗3,818
上一个12下一个
  1. Home
  2. Web Development
  3. Server-Side Frameworks
  4. Kotlin Frameworks
  5. Coroutine Frameworks

探索子标签

  • Asynchronous Route Mapping2 个子标签Mapping HTTP request paths to asynchronous handler functions. **Distinct from Coroutine Frameworks:** Focuses on the mapping of web routes to async handlers rather than general coroutine synchronization primitives.
  • C++ Coroutine Primitives1 个子标签Low-level implementations of the C++20 coroutine specification for asynchronous execution. **Distinct from Coroutine Frameworks:** Specifically targets the C++20 language standard primitives, distinct from general or Kotlin-specific coroutine frameworks.
  • Concurrency PrimitivesLow-level synchronization tools like mutexes and barriers used to prevent race conditions in concurrent environments. **Distinct from Coroutine Frameworks:** Distinct from Coroutine Frameworks: focuses on the specific synchronization primitives (mutexes, barriers) rather than the overall framework architecture.
  • MVVM with Reactive StateArchitecture pattern binding UI to ViewModels that expose state as observable streams, using coroutines for async operations. **Distinct from Coroutine Frameworks:** Distinct from Coroutine Frameworks: combines coroutines with the MVVM pattern and reactive state via Kotlin Flow, not just coroutine primitives.
  • PHPToolkits providing lightweight user-space threading for the PHP runtime. **Distinct from Coroutine Frameworks:** Specifically targets the PHP runtime implementation of coroutines
  • PHP Coroutine RuntimesRuntimes that provide lightweight user-space threading for PHP to manage concurrent execution. **Distinct from Coroutine Frameworks:** Specifies the PHP runtime implementation of coroutines, distinguishing it from Kotlin or other language-specific coroutine frameworks.
  • PHP ImplementationsHigh-performance framework implementations of coroutine-based concurrency specifically for the PHP runtime. **Distinct from Coroutine Frameworks:** Focuses on the framework implementation for PHP rather than a generic runtime or a different language like Kotlin
  • Suspend Function InterceptionsIntercepts Kotlin suspend function calls at the bytecode level to allow stubbing and verification of coroutine-based methods. **Distinct from Coroutine Frameworks:** Distinct from Coroutine Frameworks: focuses on intercepting suspend functions for mocking, not general coroutine concurrency management.
  • Test Execution RuntimesRuntimes specifically designed to manage coroutine dispatchers and timeouts during test execution. **Distinct from Coroutine Frameworks:** Distinct from Coroutine Frameworks by focusing on the execution management of tests rather than general concurrency primitives.