Can std::expected with Monadic Operations REALLY Boost Your C++ Code Performance? - Vitaly Fanaskov
Автор: CppCon
Загружено: 2025-12-17
Просмотров: 2329
Описание:
https://cppcon.org
---
Can std::expected with Monadic Operations REALLY Boost Your C++ Code Performance? - Vitaly Fanaskov - CppCon 2025
---
Monadic operations offer a powerful way to build safer, more maintainable code while reducing boilerplate. However, many software engineers remain hesitant to adopt them. There are two main reasons for this: unfamiliar syntax and potential performance penalty. Whereas the first issue is more individual, the second one is general. Let’s have a look at it together! In this talk, we'll explore the implementation details of std::expected, explore techniques for decomposing code, and demonstrate how to leverage copy elision to avoid unnecessary resource allocations. I'll compare the performance of a monadic interface with traditional approaches, including exceptions and return codes, using real-world production code samples to highlight common usage patterns. This talk will be useful for software engineers interested in adopting std::expected but cautious about the performance implications and want to learn how to optimise their code effectively.
---
Slides: https://github.com/CppCon/CppCon2025/...
Work at Hudson River Trading (HRT): https://tinyurl.com/safxfctf
---
Vitaly Fanaskov
Vitaly Fanaskov is a principal software engineer at reMarkable. He has been designing and developing software using C++ and some other languages for over 10 years. Primary areas of interest are design and development of frameworks and libraries, modern programming languages, and functional programming. Vitaly holds a PhD in Computer Science from the Moscow State Mining University.
---
CppCon is the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. You will enjoy inspirational talks and a friendly atmosphere designed to help attendees learn from each other, meet interesting people, and generally have a stimulating experience. Taking place this year in Aurora, Colorado, near the Denver airport, and including multiple diverse tracks, the conference will appeal to anyone from C++ novices to experts.
Annual CppCon Conference - https://www.cppcon.org
/ cppcon
https://x.com/cppcon
/ cppconference
/ cppcon
https://mastodon.social/@CppCon
---
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
YouTube Channel Managed by Digital Medium Ltd: https://events.digital-medium.co.uk
---
#cpp #cplusplus #cppcon #cppprogramming #cplusplusprogramming #softwaredevelopment #softwareengineering #coding #code #computerscience #technology #technews #programming #programmer
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: