Pass the PMP® Exam on Your First Try — Expert-Led Training
The Most Addictive Python and SQL Courses
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore the performance implications of std::expected with monadic operations in this comprehensive conference talk from CppCon 2025. Examine the implementation details of std::expected and learn techniques for decomposing code while leveraging copy elision to avoid unnecessary resource allocations. Discover how monadic operations can build safer, more maintainable code with reduced boilerplate, addressing common concerns about unfamiliar syntax and potential performance penalties. Compare the performance of monadic interfaces with traditional approaches including exceptions and return codes through real-world production code samples that highlight common usage patterns. Gain insights into optimizing code effectively when adopting std::expected, with practical demonstrations of how to achieve better performance while maintaining code safety and readability. Learn from principal software engineer Vitaly Fanaskov's expertise in framework and library design as he addresses the hesitations many developers have about adopting monadic operations in C++ and provides concrete strategies for successful implementation.
Syllabus
Can std::expected with Monadic Operations REALLY Boost Your C++ Code Performance? - Vitaly Fanaskov
Taught by
CppCon