Тёмный

Composable C++: Principles and Patterns - Ben Deane - CppCon 2021 

CppCon
Подписаться 149 тыс.
Просмотров 17 тыс.
50% 1

cppcon.org/
github.com/CppCon/CppCon2021
---
Programming consists of two activities:
1. Breaking down a problem in parts small enough to understand and implement.
2. Composing the parts to build up functionality and solve the original problem.
That second step is where complexity has an unfortunate tendency to show up,
time and time again.
In this talk, I will highlight some recipes and principles for crafting code that can be more beautifully composed. We'll see how to build on composition-friendly types and patterns and leverage them to achieve simpler code, and in turn how this allows us to use those composable pieces to solve not just the original problem but sibling problems.
I'll show useful techniques in crafting composable interfaces: at the function level, considering types; at the object level, considering patterns; at the larger structural level, considering hierarchies, traversal and execution choices. These techniques are equally applicable to "traditional" run-time polymorphic code and to code that uses compile-time polymorphism.
---
Ben Deane
Ben was a game programmer for over 20 years, working in C++ since the late 90s, for companies like EA and Blizzard. In 2018 he left the games industry to join Quantlab, an automated trading firm, where he writes modern, well-performing C++. He likes to play with algorithms, and to make the type system work for him, and he’s always looking for useful new techniques. Ben is the presenter of several previous C++Now and CppCon talks.
---
Videos Filmed & Edited by Bash Films: www.BashFilms.com
RU-vid Channel Managed by Digital Medium Ltd events.digital-medium.co.uk
*--*

Наука

Опубликовано:

 

6 фев 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Deducing this Patterns - Ben Deane - CppCon 2021
1:02:42
I SIMULATED THIS EURO 2024 GAME.. 🤯
00:13
Просмотров 3,4 млн
Фэйворит жвачка А? (2024)
01:00
Просмотров 348 тыс.
Keynote: Optimizing for Change - Ben Deane - CppNorth 2023
1:24:24
Back to Basics: Classic STL - Bob Steagall - CppCon 2021
1:01:31
The Factory Pattern - Mike Shah - CppCon 2021
1:01:06
Просмотров 18 тыс.
The Thirty Million Line Problem
1:48:55
Просмотров 243 тыс.
Ok, but can you do this in C?
3:15:56
Просмотров 32 тыс.
Развод с OZON - ноутбук за 2875₽
17:48