Главная
Study mode:
on
1
Introduction
2
DefinitionChecked Generics
3
DefinitionChecking in C
4
Why is it important
5
C error messages
6
Is static typing useful
7
Shifting left
8
Type Erasure
9
Checked Generics in Practice
10
C Templates Concepts
11
Generic Functions
12
Constraints
13
Interface Parameters
14
Type Parameters
15
Implementation Parameters
16
Checked Generics in Other Languages
17
C
18
Swift
19
Protocols
20
Generic Function
21
Generic Variatics
22
Rust Traits
23
Rust Advanced Features
24
Rust Periodics
25
Interfaces
26
Checked vs Template
27
Chandler Carruth
28
Examples
Description:
Explore definition-checked generic programming in this comprehensive conference talk from CppNow 2023. Dive into the advantages of checked generics over C++20 templates and concepts through a series of examples. Compare approaches from C++0x concepts, Swift, Rust, and Carbon, examining how they achieve fundamental benefits of definition checking. Investigate how this form of generic programming provides a better foundation across various language aspects. Delve into challenging aspects of building a compelling definition-checked generics system, surveying existing approaches and discussing limitations like undecidability and non-termination. Learn from industry experts Chandler Carruth, Josh Levenberg, and Richard Smith as they share insights from their work on the Carbon language project and explore the future of generic programming in C++ and C++-like languages.

Definition-Checked Generics, Part 1 - The Why and How

CppNow
Add to list
0:00 / 0:00