The Practical Programming Language, or Why C++ Integers are Fundamentally Broken
Channel: DebConf Videos
Date: 2020-12-22

by Shachar Shemesh

At: DebConf20
https://debconf20.debconf.org/talks/68-the-practical-programming-language-or-why-c-integers-are-fundamentally-broken/

Practical is a new programming language. While it is still very early in its development cycle, and definitely not yet ready for general consumption, by being willing to question the most basic of assumptions taken for granted by other languages (namely, C and C++), it has been able to uncover a very different, better, way of doing things.

This talk will cover:
- How C, and therefor C++, D and many others, treats integers and integer promotion
- Why it is fundamentally broken, in ways that cause actual bugs every day.
- The Practical approach to integer promotion.
- How that approach  affects other areas:
  - User defined casts
  - Function overloading

Room: Talks
Scheduled start: 2020-08-28 10:00:00