Harnessing constexpr: A Path to Safer C++ by Mikhail Svetkin


Details
reMarkable is hosting this event
The address is: Fridtjof Nansens vei 12, 0369 Oslo
Route from metro: https://maps.app.goo.gl/zcxdnNFddde6FLL28
The front door to enter: https://maps.app.goo.gl/Ph4YorpgUqzhVXVRA
17:00 : Food and mingling
17:30 : Harnessing constexpr: A Path to Safer C++ by Mikhail Svetkin
Harnessing constexpr: A Path to Safer C++
In the ongoing debate about the safety of C++, undefined behavior (UB), bounds checking, and memory leaks often dominate the conversation.
While some argue that these pitfalls are inherent to the language’s power and flexibility, modern C++ standards have introduced mechanisms to mitigate these risks.This talk explores how leveraging constexpr from its inception in C++11 through its evolution in C++26, can significantly improve code safety. We’ll look at common safety issues in C++, explore tools and sanitizers that help and demonstrate how constexpr can be a powerful but often overlooked solution.
Mikhail Svetkin
Principal Software Engineer @ reMarkable I have been designing and developing software developer for the last 12 years which I spend working on many different projects and various platforms with and without operating system. I enjoy analyzing code to understand how it works and identify areas for improvement. Also I like to optimize the development process, from streamlining workflows to improving team communication and resolving bottlenecks. Main areas of interest are libraries, framework, architecture, build systems, package management and modern programming languages.

Harnessing constexpr: A Path to Safer C++ by Mikhail Svetkin