Yongwei Wu
Chief Technical Consultant at Singularity Intelligence Research Institute
A research institute fellow and author of *C++ in Action: Core Techniques and Best Practices*, he is a well-known C++ expert in China. He previously served as a senior system architect at Intel’s Asia-Pacific R&D Center and has nearly 30 years of experience in C/C++ system-level software development and architecture. His expertise spans the C++ language (including C++98/C++11/14/17/20/23), software architecture, performance optimization, design patterns, and code reuse. He is dedicated to creating concise, maintainable code and architectures, and has deep knowledge of open-source platforms such as GNU/Linux. As a long-standing senior technical coach, he has provided training and guidance across multiple areas, including C++, software architecture, secure software development, and open-source software.
Topic
To Be or Not to Be: Object Lifetime Issues and Related Tools
Whether an object should “to be or not to be” is a question every C++ programmer must pay close attention to. Object lifetime is a fundamental concept in C++, and misunderstandings about it are the root cause of many coding errors. Unlike Rust, C++ cannot reject code with lifetime issues at compile time, but we can still use various tools to help identify and prevent lifetime-related problems. This talk will cover the basic concepts of object lifetime, analyze common pitfalls, and introduce tools and techniques that can assist developers in detecting and avoiding lifetime issues in C++ programs.