Загрузка...

Modern C++ Development: Limitations and Problems in std::function and Similar Constructs - CppCon 24

#cpp #cppcon Modern C++ Development - Limitations and Problems in std::function and Similar Constructs: Mitigations and Alternatives - Amandeep Chawla - CppCon 2024 Slides: https://github.com/CppCon/CppCon2024/blob/main/Presentations/Limitations_and_Problems_in_StdFunction_and_Similar.pdf --- In this talk, we will delve into the limitations and challenges associated with using std::function, std::packaged_task, std::apply, and similar constructs in modern C++ development. Despite their utility, these constructs often introduce performance overheads by invoking copies and moves of captured member variables, leading to increased complexity and unexpected behavior. I will share practical examples and common pitfalls encountered in real-world applications. Finally, I will present an alternative approach I have developed to mitigate these issues, offering a more efficient and reliable solution for developers. --- Amandeep Chawla is a seasoned software engineer with over 20 years of experience in C++. Since graduating in 2002, he has been actively working with C++ throughout his career. In his early years, Amandeep specialized in embedded systems, where he utilized a small subset of C++. This foundational experience provided him with a deep understanding of low-level programming and resource-constrained environments. In 2006, Amandeep joined Adobe, where he has held various roles over the past 17 years. Throughout his tenure at Adobe, he has been extensively involved in projects that heavily rely on C++. As a Senior Computer Scientist - II, Amandeep is currently a valued member of the core team responsible for Adobe CC Libraries. His contributions to the team involve leveraging C++ to develop robust and cross-platform solutions. With his extensive experience in C++, Amandeep has gained valuable insights into the language's strengths, limitations, and best practices. He has a deep appreciation for tackling complex challenges and finding innovative solutions to optimize performance, maintainability, and cross-platform compatibility. https://www.youtube.com/watch?v=clpQVn_LAiM

Видео Modern C++ Development: Limitations and Problems in std::function and Similar Constructs - CppCon 24 автора CppVault
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки