YoVDO

Practical Performance Practices

Offered By: CppNow via YouTube

Tags

C++Now Courses Smart Pointers Courses Thread Safety Courses Atomics Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore practical performance optimization techniques in C++ through the lens of ChaiScript's 100x improvement in this CppNow conference talk. Learn how simplifying code and adopting idiomatic C++ practices can lead to significant performance gains without resorting to complex solutions like virtual machines or dynamic recompilation. Discover key concepts such as thread safety, atomics, register allocation, and smart pointer usage, illustrated with real-world examples. Gain insights into optimizing file operations, handling newline characters, and avoiding common pitfalls in C++ programming. Delve into the most impactful optimization strategies and their practical applications, equipping yourself with valuable knowledge to enhance the performance of your C++ projects.

Syllabus

Introduction
Optimization
Summary
Thread Safety
Atomics
Register Allocation
Shared Pointer
Stand End Line
Get File and Write File
Newline Character
Dont pass smart pointers
Most read examples
AtomicE things
Avoid shared pointers
Question
Performance Notes


Taught by

CppNow

Related Courses

Your Favorite Undefined Behavior in C++
CppNow via YouTube
Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube
Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube
Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube
Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube