In this step-by-step course, we start with a C++ application and add Rust code to it piece by piece. To achieve this, we will cover:
- Importing Cargo projects into CMake with Corrosion
- Accessing Rust code from C++ with CXX (and vice-versa)
- How to deal with semantic differences between C++ and Rust
We discuss when to use Rust compared to C++ to make the best of both languages and how to use them together effectively to make your applications safer and easier to maintain.
Pre-requisites:
Basic C++ knowledge, as well as basic Rust knowledge is required. On the workshop day you will need a working Rust installation and CMake setup. We will provide material before the training day that participants should use to check their setup before the training.