ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Dynamic Polymorphism With Code Injection and Metaclasses - Sy Brand [ ACCU 2021 ]

computer science (field)

+ c (programming language)

Dynamic Polymorphism c++

Code Injection and Metaclasses

Dynamic Polymorphism With Code Injection and Metaclasses

software development

c++

Cpp

Dynamic Polymorphism cpp

Dynamic Polymorphism

Sy Brand microsoft

Type erasure

Sy Brand

interface-based type erasure in C++

C++ Talk

Cpp Talk

cpp conference

cpp conference 2021

ACCU

ACCUConf

ACCU Conference

ACCU 2021

ACCU C++ Conference

Coding Talk

Автор: ACCU Conference

Загружено: 2021-03-23

Просмотров: 2344

Описание: #Programming #Cpp #AccuConf
Slides: https://accu.org/conf-previous/2021/s...
ACCU Website: https://www.accu.org
ACCU Conference Website: https://conference.accu.org
ACCU Twitter: @ACCUConf
Streamed & Edited By Digital Medium Ltd: https://events.digital-medium.co.uk

------
Dynamic polymorphism in C++ has historically meant virtual functions and inheritance. However, these form only one possible design for solving this problem, and they bring several implications on performance, ergonomics and flexibility.

Type erasure is another way to implement dynamic polymorphism, as demonstrated in several talks by Sean Parent and adopted in other languages, such as Rust’s trait objects. But implementing type erasing objects which provide ergonomic interfaces in C++ is cumbersome and error-prone, leading to a large family of types and libraries with subtly different semantics and lower adoption rates compared to inheritance.

This talk will present a possible future design for interface-based type erasure in C++ that marries the convenience of inheritance to the benefits which it otherwise lacks. It will introduce the code injection and metaclasses facilities which are proposed for inclusion in C++ along with a prototype implementation of the design based on the experimental metaclasses Clang fork.

------
Sy Brand
Sy is Microsoft’s C Developer Advocate. Their background is in compilers and debuggers for embedded accelerators, but they’re also interested in generic library design, metaprogramming, functional-style C, undefined behaviour, and making our communities more welcoming and inclusive.

------

Future Conferences:
ACCU 2022 Spring Conference, Bristol (UK), Marriott City Centre:
2022-04-05 to 2022-04-09.
-------------------------

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Dynamic Polymorphism With Code Injection and Metaclasses - Sy Brand [ ACCU 2021 ]

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]