qcoro
async-dropper
qcoro | async-dropper | |
---|---|---|
6 | 2 | |
290 | 30 | |
- | - | |
7.8 | 8.9 | |
13 days ago | 3 months ago | |
C++ | Rust | |
MIT License | MIT License |
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.
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
async-dropper
-
Asynchronous Clean-Up (in Rust)
In the meantime I actually wrote a create that hacks around this problem:
https://crates.io/crates/async-dropper
-
Announcing 🗑 async-dropper: the least worst AsyncDrop implementation you've seen so far, probably
async-dropper on Github
What are some alternatives?
asiochan - Go-like channels for ASIO C++20 coroutines
situwaition - ⏲ situwaition is a Rust utility library that waits for conditions
QDeferred - Qt C++ alternative for handling async code execution
rusty-gql - Schema First GraphQL library for Rust
LibreMines - A Free/Libre and Open Source Software Qt based Minesweeper game available for GNU/Linux, FreeBSD and Windows systems.
Heimer - Heimer is a simple cross-platform mind map, diagram, and note-taking tool written in Qt.
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.
CoFSM - Finite State Machine using C++20 coroutines with symmetric transfer
rcoro - Custom macro coroutines: copyable, serializable, and with reflection
quickfuture - Using QFuture in QML