To add to the festive treats, we bring you Mixing C++ and Rust for Fun and Profit: Part 1, followed by Part 2 of Projection Matrices with Vulkan. Then, for a Christmas bonus, we give you Beyond UI: Using Slint with C++.
We then offer the release of KDDock Widgets 2.0, followed by a new Whitepaper:
Building Hybrid Rust and C/C++ Applications.
In case that’s not enough, we bring you more videos and last month’s events, including a Qt-packed Event week, with KDAB News live from Qt World Summit.
Enjoy the break and see you next year!
Mixing C++ and Rust for Fun and Profit: Pt 1
– or why switching to Rust is such a large undertaking
by Loren Burkholder
“For quite some time, I have been bothered by this thought: Individual programming languages (C++, Rust, Go, etc.) are traditionally viewed as walled gardens. If your main() function is written in C++, you had better find yourself C++ libraries like Qt to build the rest of your codebase with.”
and so on . . .
In this blog, Loren proposes another approach to connecting those walled gardens, with low-level bindings for C++ and Rust as a proof of concept.
Most applications these days want to communicate over the internet or, in the case of embedded devices, report status over MQTT, for example.
If you’re using Slint from C++, you’ve probably wondered: what should I use to implement these features that are beyond the UI? This is more relevant when the needed functionality requires asynchronous or blocking operations.
KDDockWidgets is a framework for custom-tailored docking systems in Qt.
The cornerstone of this release is a comprehensive architecture rewrite, laying the foundation for broader frontend compatibility. Developers can now effortlessly extend KDDockWidgets to support a myriad of GUI frameworks beyond QtWidgets and QtQuick, opening up new possibilities for cross-platform development.
KDDockWidgets Creator Sérgio Martins explains what motivated the rewrite in this month’s KDAB News. Watch it here.
Building Hybrid Rust and C/C++ Apps
A Software Development Best Practices whitepaper
By Andrew Hayzen (KDAB), Leon Matthes (KDAB), Florian Gilcher (Ferrous Systems)
Thankfully, a pragmatic “Rust in the Real World” approach has been part of Rust’s heritage since its inception within Mozilla Firefox.
We consulted Rust experts and practitioners within our engineering department as well as at Ferrous Systems, an internationally recognized Rust consultancy, to find out what we have learned that can help address integration challenges today.
We brought it together here as a set of guidelines and advice on combining Rust and C/C++ across a variety of scenarios.
Jesper Pedersen augments the Qt Widgets and More series with two new episodes focused on Visual Studio: Show me your IDE, Parts 1 and 2. Details below the video links.
Luma Visions’s VERAFEYE
From Qt World Summit (see more below), KDAB talks to Luma Vision about their cutting edge 4D digital imaging and navigation tool, with a UI custom-built by KDAB, using Qt and Vulkan. Verafeye, as the name suggests, gives cardiologists and electrophysiologists all round visibility and data-driven, decision-making accuracy, right inside the human heart.
Qt World Summit boasted 500 or more attendees and was held once again at the bcc in Berlin – a welcome return to the live event format. We were platinum sponsors and showed a wealth of technical demos as well as giving talks. We filmed November’s KDAB News live from the venue, with interviews from Keynote speakers (see also LumaVision, above) and much more.
We hope the talks from the event will be made available to view before too long. Here’s the Qt Group’s event recap.
Finally there was Qt Contributor Summit, also well-attended and lively. You can find the summit recap here. During Qt World Summit, we recorded a livestream of Giuseppe D’Angelo, longtime Qt contributor and maintainer, tackling contributor patch reviews in real time. We offer the recording here for anyone interested in contributing who missed the summit.
Meeting C++ 2023
But we mustn’t forget Meeting C++ 2023 (we were silver sponsors) which took place earlier in November and by all accounts was a rollicking success.
This year, KDAB presented two talks at Meeting C++, Optimizing Multithreaded Performance: Unveiling False Sharing and Harnessing Hardware Destructive Interference, by Shivam Kunwar and the final Keynote by Ivan Cucik: Prog C++. This is due for publication on Friday December 22nd. Prepare to have your mind blown.
You can find the Meeting C++ 2023 recordings playlist here, with all the talks published so far. Shivam’s talk will be added in the New Year, along with all the other talks from the conference.
Once again, hats off to Jens Weller whose tireless activity keeps the C++ world in Europe on its toes, and feeds us with a rich menu of meetups and whatnot throughout the year via the Meeting C++ website.