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

YouTube

Moving Faster - Everyday Efficiency in Modern C++

CppNow via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk examines how everyday programming choices affect performance in modern C++. It covers value and reference semantics, move semantics, forwarding, container selection, and related techniques for writing efficient, expressive code.

Syllabus

Intro
A 30 Year Tale
What are we doing wrong?
When does efficiency matter?
Writing optimal code
Compiler optimizations
Caches • Many of us grew up with simple architectures
Dynamic allocation
Static allocation
Registers
Embedded objects
Sharing space
Pass by value
Pass by const reference
Pass by non-const reference
Passing vector by value
Passing vector by r-value reference
Passing vector by non-const reference
Return by value
Return rules
Return Examples - Bad
Moving a string
Perfect Forwarding
Add - A Case Study
Container Choice
Vector vs. Array vs. C-array
List vs. Vector
List vs. Deque vs. Vector
Set/Map vs. Vector
Set vs. Vector

Taught by

CppNow

Reviews

Start your review of Moving Faster - Everyday Efficiency in Modern C++

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.