Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Hidden Overhead of a Function API

CppCon via YouTube

Overview

Explore the often-overlooked performance implications of function signatures in C++ programming through this conference talk from CppCon 2024. Delve into the intersection of API design and code performance, focusing on how ABI specifications affect assembly code generation across common platforms. Learn about crucial performance considerations when designing function signatures, including detailed analysis of value vs. output parameter returns, value vs. reference parameter passing, and the real runtime costs of supposedly zero-overhead abstractions like std::unique_ptr and std::span. Drawing from over 15 years of competitive programming experience, Software Engineer Oleksandr Bacherikov from Snap Inc. provides practical insights into optimizing function APIs for maximum performance while maintaining clean, generic implementations.

Syllabus

Hidden Overhead of a Function API - Oleksandr Bacherikov - CppCon 2024

Taught by

CppCon

Reviews

Start your review of Hidden Overhead of a Function API

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.