Moving Faster: Everyday Efficiency in Modern C++
There seems to be a widely held belief among programmers today that efficiency no longer matters in most situations because processors are so fast and numerous and memory is so large. But from a user’s perspective computers are often slower today than they were 30 years ago despite the enormous increase in measured performance of the hardware. How can this be? If this is true, what are we doing wrong and what can we do about it? Is efficiency an everyday concern for working programmers, or is it only needed for special cases written by specialists?
In this talk we will explore these questions and consider the proposition that, contrary to popular belief, performance almost always matters and pervasive attention to efficiency is essential to ensure good performance. We will examine the efficiency tools modern C++ has to offer and discuss techniques for writing efficient code in an elegant, expressive and natural way. Topics will include tuning vs. optimizing, value semantics vs. reference semantics, unions and variants, move semantics, forwarding, container choice, in-place construction, and container node handling.
EVENT:
C++Now 2018
SPEAKER:
Alan Talbot
PERMISSIONS:
Original video was published with the Creative Commons Attribution license (reuse allowed).
CREDITS:
Original video source: https://www.youtube.com/watch?v=J9yVA341zrw
Additional material for C++ learners:
https://amzn.to/2TquTgE Murach's C++ Programming
https://amzn.to/2Tqx2ZK. C++ in One Hour a Day, Sams Teach Yourself (8th Edition)
https://amzn.to/2Fk1CiP A Tour of C++ (2nd Edition) (C++ In-Depth Series)
https://amzn.to/2OjPToz C# Programming Illustrated Guide For Beginners & Intermediates: The Future Is Here! Learning By Doing Approach
Видео Moving Faster: Everyday Efficiency in Modern C++ канала Coding Tech
In this talk we will explore these questions and consider the proposition that, contrary to popular belief, performance almost always matters and pervasive attention to efficiency is essential to ensure good performance. We will examine the efficiency tools modern C++ has to offer and discuss techniques for writing efficient code in an elegant, expressive and natural way. Topics will include tuning vs. optimizing, value semantics vs. reference semantics, unions and variants, move semantics, forwarding, container choice, in-place construction, and container node handling.
EVENT:
C++Now 2018
SPEAKER:
Alan Talbot
PERMISSIONS:
Original video was published with the Creative Commons Attribution license (reuse allowed).
CREDITS:
Original video source: https://www.youtube.com/watch?v=J9yVA341zrw
Additional material for C++ learners:
https://amzn.to/2TquTgE Murach's C++ Programming
https://amzn.to/2Tqx2ZK. C++ in One Hour a Day, Sams Teach Yourself (8th Edition)
https://amzn.to/2Fk1CiP A Tour of C++ (2nd Edition) (C++ In-Depth Series)
https://amzn.to/2OjPToz C# Programming Illustrated Guide For Beginners & Intermediates: The Future Is Here! Learning By Doing Approach
Видео Moving Faster: Everyday Efficiency in Modern C++ канала Coding Tech
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
CppCon 2016: Timur Doumler “Want fast C++? Know your hardware!"ITT 2016 - Kevlin Henney - Seven Ineffective Coding Habits of Many ProgrammersStack vs Heap Memory in C++CppCon 2016: Jason Turner “Practical Performance Practices"CppCon 2019: Andrei Alexandrescu “Speed Is Found In The Minds of People"The Speed Game: Automated Trading Systems in C++ - Carl Cook - Meeting C++ 201610 Tips For Clean CodeSMART POINTERS in C++ (std::unique_ptr, std::shared_ptr, std::weak_ptr)CppCon 2017: Nicolai Josuttis “The Nightmare of Move Semantics for Trivial Classes”CppCon 2014: Mike Acton "Data-Oriented Design and C++"CppCon 2017: Louis Brandy “Curiously Recurring C++ Bugs at Facebook”CppCon 2019: Bjarne Stroustrup “C++20: C++ at 40”Copying and Copy Constructors in C++CppCon 2017: Carl Cook “When a Microsecond Is an Eternity: High Performance Trading Systems in C++”CppCon 2015: Andrei Alexandrescu “std::allocator...”CONST in C++Comparing C to machine languageC++ Weekly - Ep 222 - 3.5x Faster Standard Containers With PMR!CppCon 2018: Jonathan Boccara “105 STL Algorithms in Less Than an Hour”CppCon 2019: Klaus Iglberger “Back to Basics: Move Semantics (part 1 of 2)”