rcoro
qcoro
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rcoro
-
Sane coroutine imitation with macros; copyable, serializable, and with reflection
For future work ideas, I'd love to see this optimize well at -O1 and not only -O2.
qcoro
- Asynchronous Clean-Up (in Rust)
-
Is anyone using coroutines seriously?
Yes, with boost.asio and with a self written Qt Networking Coroutine Library like QCoro.
-
Qt Creator 10 Released
You're not completely wrong, but I think this overstating things by a lot. I'll grant you the containers for example, but you can generally use STL algorithms with them. And plenty of old ways of doing things have left modern Qt-based codebases and moved to more modern ways of doing things, including a fair amount of moc macro usage (and yes, you can remove the moc these days, but it has different perf characteristics - cf. the verdigris project).
The community around Qt is pretty active at adopting modern C++, e.g. imho https://github.com/danvratil/qcoro is leading work.
-
C++20 coroutines explained simply
I though that with the meager support for coroutines that C++ 20 has, it would take ages till I could use that in Qt, but I discovered that it's actually quite nice with QCoro, which is a 3rd part library that is able to leverage coroutines in Qt's event loop with just an add on. I thought it would require extra facilities in the language/library, plus some large patch to Qt to have the first support of them.
-
What is the standard for writing network & database code in C++?
If you want to use coroutines with Qt, QCoro yends to work well: https://qcoro.dvratil.cz/
-
Support for co_await in Qt?
Have a look at https://github.com/danvratil/qcoro
What are some alternatives?
cppcoro - A library of C++ coroutine abstractions for the coroutines TS
asiochan - Go-like channels for ASIO C++20 coroutines
Rstein.AsyncCpp - The RStein.AsyncCpp library is a set of types that should be familiar for anyone who knows the Task Parallel Library (TPL) for .NET (C#).
QDeferred - Qt C++ alternative for handling async code execution
coop - C++20 coroutines-based cooperative multitasking library
LibreMines - A Free/Libre and Open Source Software Qt based Minesweeper game available for GNU/Linux, FreeBSD and Windows systems.
concurrencpp - Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all
Heimer - Heimer is a simple cross-platform mind map, diagram, and note-taking tool written in Qt.
fiber - C++20 fiber implementation with similar interface to std::thread, header-only / x86_64 / Linux only / stackful / built-in scheduler / thread shareable
Bouncy-squares-Qt - Desktop application where rectangles move diagonally on the screen and collide
mysql - MySQL C++ client based on Boost.Asio
qspdlog - A simple Qt based widget for visualizing spdlog output.