Lifetime Safety in C++: Past, Present and Future - Gabor Horvath - CppCon 2023
https://cppcon.org/
---
Lifetime Safety in C++: Past, Present and Future - Gabor Horvath - CppCon 2023
https://github.com/CppCon/CppCon2023
How can we make C++ safer without sacrificing its performance and flexibility? Memory safety is a desirable property for any C++ program, but it is not easy to achieve. Recent revisions of the C++ standard rendered some unsafe code ill-formed or harmless, but there are still many gaps. Comprehensive lifetime analysis like that of Rust can help detect memory errors, but it often requires major changes to the code structure. This can be impractical, costly, and risky, especially for legacy code. This talk surveys mitigations available today that can help enhance the safety of our code. These mitigations include warnings and static analysis checks from MSVC, Clang, and GCC, dynamic analysis tools, and changes to the C++ language. It also explores some directions to further improve the safety of the language.
---
Gabor Horvath
Gabor Horvath is a software engineer and a researcher in the field of static analysis. He has been contributing to various research projects on program analysis since 2012, and he obtained his Ph.D. degree on this topic from Eotvos Lorand University in 2020. He has extensive experience in teaching C++ and compiler construction courses to undergraduate students at the same university. He is also a co-owner of the Clang Static Analyzer, a popular open-source tool for finding bugs in C, C++, and Objective-C programs. He has been mentoring students in the LLVM project as part of the Google Summer of Code program, and he has also interned for leading tech companies such as Apple, Microsoft and Google.
__
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
YouTube Channel Managed by Digital Medium Ltd: https://events.digital-medium.co.uk
---
Registration for CppCon: https://cppcon.org/registration/
#cppcon #cppprogramming #cpp