Популярное

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

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

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

Топ запросов

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

Simplest Strong Typing instead of Language Proposal ( P0109 ) - Peter Sommerlad - [CppNow 2021]

Автор: CppNow

Загружено: 2021-07-08

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

Описание:

#Boost #Cpp #CppNow
Slides: https://cppnow.org/history/2021/talks/
CppNow Website: https://cppnow.org
CppNow Twitter: @CppNow
Streamed & Edited By Digital Medium Ltd: https://events.digital-medium.co.uk
------
Safer and simpler C++ is the goal of many things I am doing. C++ has a rich and strong type system, except for the holes inherited from C. In this talk we will learn how to circumvent those holes and define useful types for stuff where otherwise we would have used plain ints, doubles, or strings. It demonstrates the simplest strong type mechanism of C++ that also works in C, but also a framework that was designed to make it even simpler to define strong types than what was proposed in P0109 as a language extension. We will also look at the perils of using size_t for capacity, indexing and size of containers and how strong types would have prevented some of their constructor usability issues. This leads to the duality of types used for a 1d vector space with a corresponding affine space that might share internal representation but not the corresponding operations, such as representing number of elements versus the distance between elements in an array.

You can take a look at the strong typing framework PSsst here: https://github.com/PeterSommerlad/PSsst and the language proposal at wg21.link/P0109
------
Peter Sommerlad
Better Software

Peter Sommerlad was director of IFS Institute for Software at FHO/HSR Rapperswil, Switzerland. Peter is co-author of the books POSA Vol.1 and Security Patterns and contributed to "97 things every programmer should know". His goal is to make software simpler and safer by Decremental Development: Refactoring software down to 10% its size with better architecture, testability and quality and functionality. To reach that goal his team and students created the C++ IDE Cevelop. Peter is a member of MISRA-C++, Hillside, ACM, IEEE Computer Society, SI, ACCU, and the ISO C++ standardization committee.
------

May 1, 2022 - May 6, 2022 - Aspen, Colorado
-------------------------
---

*--*

---

Simplest Strong Typing instead of Language Proposal ( P0109 ) - Peter Sommerlad - [CppNow 2021]

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

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

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

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

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

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

JASON TURNER - Strong Types – Better C++ (Keynote)

JASON TURNER - Strong Types – Better C++ (Keynote)

Lightning Talk: Lambda None of the Things - Braden Ganetsky - C++Now 2025

Lightning Talk: Lambda None of the Things - Braden Ganetsky - C++Now 2025

Lightning Talk: C++ vs Rust - Mackenzie

Lightning Talk: C++ vs Rust - Mackenzie "Zie" Weaver - C++Now 2025

Как взломать любое программное обеспечение

Как взломать любое программное обеспечение

Doxygen и его остроумное устройство • Исследуем и применяем • C • Live coding

Doxygen и его остроумное устройство • Исследуем и применяем • C • Live coding

Программирование на ассемблере без операционной системы

Программирование на ассемблере без операционной системы

Собеседование при поступлении на факультет математики Кембриджского университета

Собеседование при поступлении на факультет математики Кембриджского университета

ООП На Простых Примерах | Объектно-Ориентированное Программирование

ООП На Простых Примерах | Объектно-Ориентированное Программирование

Я удалил ';' из C

Я удалил ';' из C

Windows, MacOS and Web: Lessons from Cross-platform Development @ think-cell - Sebastian Theophil

Windows, MacOS and Web: Lessons from Cross-platform Development @ think-cell - Sebastian Theophil

Luke Valenty - High-Performance Message Dispatch in C++ - emBO++ 2023

Luke Valenty - High-Performance Message Dispatch in C++ - emBO++ 2023

Я в опасности

Я в опасности

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

Декораторы Python — наглядное объяснение

Декораторы Python — наглядное объяснение

Lightning Talk: I Now Maybe Understand C++ Hazard Pointers - Denis Yaroshevskiy - C++Now 2025

Lightning Talk: I Now Maybe Understand C++ Hazard Pointers - Denis Yaroshevskiy - C++Now 2025

Lightning Talk: Immovable C++ Objects? In My Vector? - Likelier Than You Think - Robert Leahy

Lightning Talk: Immovable C++ Objects? In My Vector? - Likelier Than You Think - Robert Leahy

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

7  ПАРАДОКСОВ БЕСКОНЕЧНОСТИ

7 ПАРАДОКСОВ БЕСКОНЕЧНОСТИ

Valerie Dore, Jessica Jay: ты не знал, кто пел все эти песни!

Valerie Dore, Jessica Jay: ты не знал, кто пел все эти песни!

Понимание GD&T

Понимание GD&T

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



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



Контакты для правообладателей: infodtube@gmail.com