qcoro
slint
qcoro | slint | |
---|---|---|
6 | 138 | |
290 | 15,103 | |
- | 3.1% | |
7.8 | 9.9 | |
13 days ago | 4 days ago | |
C++ | Rust | |
MIT License | GNU General Public License v3.0 Or Slint Royalty-Free |
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
slint
-
Ask HN: Why would you ever use C++ for a new project over Rust?
Did you get a chance to check https://slint.dev?
Disclaimer: I work for Slint
-
Deno in 2023
Currently, we do it by using binaries through napi-rs so we can bring in a window using the platform native API. And then we do some hack to merge the event loops.
But if Deno supports bringing up a window directly, this means we can just ship wasm instead of native binary for all platform. And also I hope event loop integration will be simplified.
Although we'd also need more API than just showing a window (mouse and keyboard input, accessibility, popup window, system tray, ...)
[1] https://slint.dev
-
Slint GUI Toolkit
Rich Text content is not yet implemented. This is tracked in https://github.com/slint-ui/slint/issues/2723
Thanks for reporting the broken link. Fixed in https://github.com/slint-ui/slint/commit/9200480b532f49007d2...
-
slint VS rinf - a user suggested alternative
2 projects | 24 Jan 2024
-
A 2024 Plea for Lean Software
With Slint (https://slint.dev) we're trying to make a lightweight toolkit that doesn't use HTML/CSS. And that you can program either from low level languages such as C++ or Rust. As well as with higher level language such as JavaScript, and we want to extend to python too.
-
Immediate Mode GUI Programming
I haven't. I was just searching for a GUI library that was Bevy-compatible and slint isn't at the moment: https://github.com/slint-ui/slint/discussions/940
Sorry!
-
Why the M2 is more advanced that it seemed
Trying to do that with Slint: https://slint.dev
- 9 years of Apple text editor solo dev
-
The Linux graphics stack in a nutshell, part 1
You can do that with Slint (https://slint.dev) and its linuxkms backend. No need for a xorg server or wayland compositor, just run the application made with Slint from the init script.
- Qt 6.6 and 6.7 Make QML Faster Than Ever: A New Benchmark and Analysis
What are some alternatives?
asiochan - Go-like channels for ASIO C++20 coroutines
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
QDeferred - Qt C++ alternative for handling async code execution
iced - A cross-platform GUI library for Rust, inspired by Elm
LibreMines - A Free/Libre and Open Source Software Qt based Minesweeper game available for GNU/Linux, FreeBSD and Windows systems.
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
Heimer - Heimer is a simple cross-platform mind map, diagram, and note-taking tool written in Qt.
lvgl - Embedded graphics library to create beautiful UIs for any MCU, MPU and display type.
Bouncy-squares-Qt - Desktop application where rectangles move diagonally on the screen and collide
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
mysql - MySQL C++ client based on Boost.Asio
cxx-qt - Safe interop between Rust and Qt