Andrew Hayzen
15 results
While an all-Rust approach works for some systems, most companies have extensive existing C and C++ code. Rust's design, rooted in Mozilla Firefox's development, has always aimed to integrate with these languages. By consulting Rust experts, we've developed guidelines for harmoniously blending Rust with C and C++ in various scenarios.
CXX-Qt 0.7 Release
31 October 2024
We just released CXX-Qt version 0.7! CXX-Qt is a set of Rust crates for creating bidirectional Rust ⇄ C++ bindings with Qt. It supports integrating Rust into C++ applications using CMake or building Rust applications with Cargo. CXX-Qt provides tools for implementing QObject subclasses in Rust that can be used from C++, QML, and JavaScript. […]
If you need insights into improving productivity, this essential developer’s guide to containers will help you manage projects cross-platform, seamlessly.
More Ways to Rust
1 August 2024
In our earlier blog, The Smarter Way to Rust, we discuss why a blend of C++ and Rust is sometimes the best solution to building robust applications. But when you’re merging these two languages, it’s critical to keep in mind that the transition from C++ to Rust isn’t about syntax, it’s about philosophy. Adapting to […]
The Smarter Way to Rust
27 June 2024
If you’ve been following our blog, you’re likely aware of Rust’s growing presence in embedded systems. While Rust excels in safety-by-design, it’s also common to find it integrated with C++. This strategic approach leverages the strengths of both languages, including extensive C++ capabilities honed over the years in complex embedded systems. Let’s delve into some […]
You may have already faced the challenge of showing website content within your Qt application. However, Qt doesn't excel in this - it's often slow and securely connecting to external web sources is also a valid concern. Watch this video to discover how seamlessly integrating Rust into your Qt application logic can address these issues and enhance performance.
Embedding the Servo Web Engine in Qt
Using CXX-Qt to integrate a web rendering engine written in Rust
With the Qt WebEngine module, Qt makes it possible to embed a webview component inside an otherwise native application. Under the hood, Qt WebEngine uses the Chromium browser engine, currently the de facto standard engine for such use cases. While the task of writing a brand new standard-compliant browser engine is infamous as being almost […]
CXX-Qt 0.6 Release
24 November 2023
We just released CXX-Qt version 0.6! CXX-Qt is a set of Rust crates for creating bidirectional Rust ⇄ C++ bindings with Qt. It can be used to integrate Rust into C++ applications using CMake or build Rust applications with Cargo. CXX-Qt provides tools for implementing QObject subclasses in Rust that can be used from C++, […]
A quick review of recent changes in CXX-Qt, a set of Rust crates for creating bidirectional Rust ⇄ C++ bindings with Qt.
CXX-Qt 0.5 Released
9 March 2023
We just released CXX-Qt version 0.5! CXX-Qt is a set of Rust crates for creating bidirectional Rust ⇄ C++ bindings with Qt. It can be used to integrate Rust into C++ applications using CMake or build Rust applications with Cargo. CXX-Qt provides tools for implementing QObject subclasses in Rust that can be used from C++, […]
We just released CXX-Qt version 0.4! CXX-Qt is a set of Rust crates for creating bidirectional Rust ⇄ C++ bindings with Qt. It can be used to integrate Rust into C++ applications using CMake or build Rust applications with Cargo. CXX-Qt provides tools for implementing QObject subclasses in Rust that can be used from C++, […]
Rust's slogan "Fast, Reliable, Productive – Pick Three" captures its appeal as a modern programming language offering unparalleled compile-time safety with C/C++ matching performance. Given C/C++'s complexities and security issues, major tech companies are adopting Rust as an alternative, evidenced by the Rust Foundation's formation. KDAB has explored solutions allowing existing Qt developers to integrate this technology.
Hotspot is a GUI for Linux Perf to analyze profiling data. It works with C, C++ and Qt.
CXX-Qt library authors answer common questions about Rust bindings for Qt, covering existing binding options, when to use each, why they developed a new binding, where Rust adds the most value in Qt applications, whether C++ knowledge is required, and future development plans.
At KDAB, we have been investigating how to integrate Rust with Qt in a safe and idiomatic way. The solution we are currently working on is called CXX-Qt. It's available in the GitHub and on crates.io. This blog post discusses the journey of CXX-Qt -- where it started, where it can be used right now, […]