Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more โ
Top 23 Coroutine Open-Source Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Pokedex
๐ก๏ธ Pokedex demonstrates modern Android development with Hilt, Material Motion, Coroutines, Flow, Jetpack (Room, ViewModel) based on MVVM architecture.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
awesome-asyncio
A curated list of awesome Python asyncio frameworks, libraries, software and resources
-
Kotlin-Coroutines-and-Flow-UseCases-on-Android
๐ Learning Kotlin Coroutines and Flows for Android by example. ๐ Sample implementations for real-world Android use cases. ๐ Unit tests included!
-
Foodium
๐ฒFoodium is a sample food blog Android application ๐ฑ built to demonstrate the use of Modern Android development tools - (Kotlin, Coroutines, Flow, Dagger 2/Hilt, Architecture Components, MVVM, Room, Retrofit, Moshi, Material Components).
-
concurrencpp
Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all
-
Zewo
Lightweight library for web server applications in Swift on macOS and Linux powered by coroutines.
-
NotyKT ๐๏ธ
๐ NotyKT is a complete ๐Kotlin-stack (Backend + Android) ๐ฑ application built to demonstrate the use of Modern development tools with best practices implementation๐ฆธ.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Swoole
Now, let's consider an example. For instance, let's create a Kotlin/JVM project with kotlinx.coroutines library as a dependency.
A sub-question for the folks here: is anyone using the combination of gevent and PyPy for a production application? Or, more generally, other libraries that do deep monkey-patching across the Python standard library?
Things like https://github.com/gevent/gevent/issues/676 and the fix at https://github.com/gevent/gevent/commit/f466ec51ea74755c5bee... indicate to me that there are subtleties on how PyPy's memory management interacts with low-level tweaks like gevent that have relied on often-implicit historical assumptions about memory management timing.
Not sure if this is limited to gevent, either - other libraries like Sentry, NewRelic, and OpenTelemetry also have low-level monkey-patched hooks, and it's unclear whether they're low-level enough that they might run into similar issues.
For a stack without any monkey-patching I'd be overjoyed to use PyPy - but between gevent and these monitoring tools, practically every project needs at least some monkey-patching, and I think that there's a lack of clarity on how battle-tested PyPy is with tools like these.
Project mention: Sunday Daily Thread: What's everyone working on this week? | /r/Python | 2023-06-25#1: Giving my Python books away for free! | 1 comment #2: Welcome to r/PythonLang #3: GitHub - timofurrer/awesome-asyncio: A curated list of awesome Python asyncio frameworks, libraries, software and resources | 0 comments
PS: Take a look at cppcoro; this might help as well, especially generator<>, if you're looking to generate numbers, and stuff;
They recently open sourced internal framework: https://github.com/userver-framework/userver
I am using concurrencpp for my project. What I like about it is that it's basically a thread pool factory with coroutines. It allows for better structuring / organizing of multithreaded work. So for me the main advantage of coroutines is that the code looks easier to follow
https://github.com/Xudong-Huang/may
The project has some serious restrictions and unsound footguns (e.g. around TLS), but otherwise it's usable enough. There are also a number of C/C++ libraries, but I can not comment on those.
The point isn't that one should reinvent the way that Tomcat is started, but that Spring Boot (by default) is using action at a distance and runtime reflection which have serious downsides if you want to understand what's actually going on because you're a) new to the technology, or b) have to debug some weird edge case.
The alternative is using explicit, reflection-less code - which you can do even with Spring, although it's experimental: https://github.com/spring-projects-experimental/spring-fu
I liked working with it (the library) but learned I hate working with Lua just slightly less than I hate working with JS. At least in JS we now have TS and things like Elm.
I ended up moving to https://github.com/libktx/ktx for that little project.
Coroutines related posts
-
Asynchronous Clean-Up (in Rust)
-
Async C++
-
Open Swoole: PHP Server with Async IO, Coroutines and Fibers
-
What's the Benefit/Allure of Async/Await vs. CSP/Green Threads (and Other Concurrency Models)?
-
Is anyone using coroutines seriously?
-
Open Swoole โ Programmatic server for PHP with async IO, coroutines and fibers
-
Durable Coroutines for Go
-
A note from our sponsor - InfluxDB
www.influxdata.com | 7 May 2024
Index
What are some of the best open-source Coroutine projects? This list will help you:
Project | Stars | |
---|---|---|
1 | Swoole | 18,229 |
2 | kotlinx.coroutines | 12,722 |
3 | Coil | 10,300 |
4 | Pokedex | 7,620 |
5 | gevent | 6,163 |
6 | Kategory | 5,968 |
7 | tbox | 4,698 |
8 | awesome-asyncio | 4,377 |
9 | Amp | 4,135 |
10 | cppcoro | 3,241 |
11 | Kotlin-Coroutines-and-Flow-UseCases-on-Android | 2,573 |
12 | taskr | 2,527 |
13 | Splitties | 2,456 |
14 | Foodium | 2,250 |
15 | userver | 2,201 |
16 | concurrencpp | 2,067 |
17 | Zewo | 1,851 |
18 | may | 1,733 |
19 | spring-fu | 1,664 |
20 | NotyKT ๐๏ธ | 1,654 |
21 | async_simple | 1,477 |
22 | habitica-android | 1,340 |
23 | ktx | 1,319 |
Sponsored