Главная
Study mode:
on
1
Intro
2
A 30 Year Tale
3
What are we doing wrong?
4
When does efficiency matter?
5
Writing optimal code
6
Compiler optimizations
7
Caches • Many of us grew up with simple architectures
8
Dynamic allocation
9
Static allocation
10
Registers
11
Embedded objects
12
Sharing space
13
Pass by value
14
Pass by const reference
15
Pass by non-const reference
16
Passing vector by value
17
Passing vector by r-value reference
18
Passing vector by non-const reference
19
Return by value
20
Return rules
21
Return Examples - Bad
22
Moving a string
23
Perfect Forwarding
24
Add - A Case Study
25
Container Choice
26
Vector vs. Array vs. C-array
27
List vs. Vector
28
List vs. Deque vs. Vector
29
Set/Map vs. Vector
30
Set vs. Vector
Description:
Explore the importance of efficiency in modern C++ programming through this comprehensive conference talk from C++Now 2018. Delve into the misconception that performance no longer matters due to advanced hardware, and discover why computers often feel slower today than 30 years ago. Learn about efficiency tools in modern C++ and techniques for writing high-performance code elegantly and expressively. Cover topics such as tuning vs. optimizing, value vs. reference semantics, unions and variants, move semantics, forwarding, container choice, in-place construction, and container node handling. Gain insights on writing optimal code, compiler optimizations, caches, dynamic and static allocation, passing and returning values, perfect forwarding, and choosing the right containers for your needs.

Moving Faster - Everyday Efficiency in Modern C++

CppNow
Add to list
0:00 / 0:00