Lars Lorenz

2023 - now: Zeiss Digital Innovation


Beitrag

05.05
14:30
60min
It's Dangerous to Go Alone! Take This: 🦀 | Rust's Role in C++ Memory Safety Evolution
André Rudolph, Lars Lorenz

C++ is a programming language primarily used for performance-critical projects. The performance of C++ is largely attributed to its ability to directly manipulate memory. However, this direct memory manipulation can also result in memory-related bugs, which may lead to safety vulnerabilities within the software.

In recent years, Rust has emerged as an alternative in the same domain, addressing these vulnerabilities through its borrow checker mechanism. This development has triggered a discussion around the necessity of memory-safety in C++.

In this presentation, we will explore why C++ remains a preferred choice for applications that demand high performance or even real-time performance, such as game development, robotics, and high-frequency trading platforms. We will discuss the critical role that memory safety plays in software development. A basic comparison between C++ and Rust will be provided, focusing on their respective approaches to memory management and safety. We will also highlight various strategies that developers can adopt to reduce the risk of memory errors in C++. Lastly, an overview of the ongoing discussions and proposals aimed at improving memory safety in C++ will be provided.

Through this talk, we aim to contextualize the relevance of the ongoing discussions surrounding memory safety in C++ by drawing comparisons with Rust. We will present C++ tools that can be utilized today to enhance memory safety. Additionally, we will explore potential future developments regarding memory safety in C++.

Saal Florenz