conferences | speakers | series

The Practical Programming Language, or Why C++ Integers are Fundamentally Broken

home

The Practical Programming Language, or Why C++ Integers are Fundamentally Broken
DebConf20

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

Speakers: Shachar Shemesh