22 مستودعات
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
This project provides architectural standards and patterns for organizing Django applications. It defines a project architecture guide focused on decoupling business logic from views and models through a service-layer architecture. The guide establishes specific design patterns, including a service layer for standalone business logic functions and a data selector pattern for isolating complex database queries. It defines a standard for single-purpose views that delegate logic to services and utilize dedicated serializers for data input and output. The framework covers several broader capabil
Structures API views to handle only request routing and response formatting while delegating business logic to services.
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.
LuaJIT هو تنفيذ عالي الأداء للغة Lua ومترجم في الوقت الفعلي (JIT). يعمل كمحرك برمجة نصية مدمج ومترجم ثنائي ديناميكي يحول البايت كود المحمول إلى كود آلة أصلي أثناء التنفيذ. يركز المشروع على البرمجة النصية عالية الأداء من خلال ترجمة البايت كود إلى تعليمات خاصة بالبنية لتحقيق سرعات تنفيذ قريبة من كود C المترجم. يستخدم بيئة تشغيل خفيفة الوزن مصممة لتقليل حمل الذاكرة. يدعم النظام معالجة البيانات الثنائية عبر العمليات المنطقية (Bitwise)، ويمكّن إدارة المهام غير المتزامنة من خلال دمج C coroutines. كما يوفر قدرات لتوليد الكود في وقت التشغيل وإنشاء تعليمات كود آلة مخصصة.
Implements low-level coroutine primitives in C to manage non-blocking multitasking.
Kotest is a comprehensive testing framework for Kotlin designed for writing and executing tests across various styles and platforms. It serves as a multiplatform test runner and a fluent assertion library, providing a toolset for both unit and integration testing in Kotlin applications. The framework supports multiple testing methodologies, including behavior-driven development with nested test hierarchies, property-based testing using automated data generation, and data-driven testing. It also includes snapshot testing to detect regressions by comparing current outputs against stored referen
Ships a coroutine-aware execution engine that manages dispatchers and timeouts for asynchronous Kotlin tests.
cppinsights هي أداة لتصور مترجم C++ والتحليل الساكن، تستخدم واجهة Clang لتحليل الكود المصدري إلى شجرة بناء جملة مجردة (AST). تعمل الأداة كمحول من مصدر إلى مصدر، حيث تعيد كتابة كود C++ لجعل سلوكيات المترجم الضمنية والعمليات المخفية صريحة ومرئية. تتخصص الأداة في كشف بنى اللغة المعقدة، مثل توسيع الآليات الداخلية للـ coroutines لتصور منطق التعليق والاستئناف. كما تكشف عن الكود الفعلي الذي يتم إنشاؤه أثناء إنشاء القوالب (template instantiation)، وتحول إجراءات المترجم الضمنية، بما في ذلك الروابط المهيكلة (structured bindings) والدوال الأعضاء الخاصة، إلى تمثيلات مصدرية صريحة. تشمل القدرات الإضافية حل عبارات using وإنشاء خرائط هيكلية لتسلسلات وراثة فئات C++.
Transforms implicit coroutine machinery into explicit representations to show suspension and resumption handling.
Amp هو إطار عمل للتزامن غير المحظور (non-blocking) لـ PHP. يوفر بنية تحتية أساسية لكتابة تطبيقات غير متزامنة باستخدام حلقة أحداث (event loop) لجدولة العمليات والمؤقتات والإشارات داخل عملية واحدة. ينفذ المشروع مكتبة coroutine تستخدم الألياف (fibers) لتعليق واستئناف تنفيذ الوظائف. يسمح هذا للنظام بالتعامل مع المهام المتزامنة دون حظر خيط التنفيذ الرئيسي، مما يحسن استخدام CPU أثناء عمليات الإدخال والإخراج. كما يدير نتائج العمليات المعلقة من خلال تنفيذ المستقبل والوعد (future and promise). يغطي إطار العمل مجموعة واسعة من قدرات التنسيق، بما في ذلك تعدد إرسال الإدخال/الإخراج غير المحظور، وإلغاء المهام القائم على الرموز لإجهاض العمليات طويلة الأمد، واستراتيجيات انتظار اكتمال مهام متزامنة متعددة. كما يتضمن آليات لجدولة المهام المتكررة وإيقاف التنفيذ.
Provides a PHP-specific coroutine implementation for managing interruptible functions and cooperative multitasking.
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.
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.