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

Posted in C++, Programming by - June 12, 2024

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

URLs

This post was written by

Leave a Reply

Your email address will not be published. Required fields are marked *

Please enter and activate your license key for Cryptocurrency Widgets PRO plugin for unrestricted and full access of all premium features.