Integer Type Selection in C++ - Safe, Secure and Correct Code
Offered By: CppNow via YouTube
Course Description
Overview
Explore the intricacies of integer type selection in C++ for safe, secure, and correct code in this comprehensive conference talk by Robert Seacord at CppNow 2023. Delve into topics such as signed versus unsigned integers, exact width integers, and their proper usage. Gain insights on safety and security concerns associated with incorrect integer type selection. Learn about two's complement, pure binary, overflow, undefined behavior, size_t optimization, volatiles, and use cases for signed and unsigned integers. Understand the implications of subtraction operations, storage requirements, and the do-while loop in the context of integer types. Benefit from the expertise of Robert Seacord, a renowned author and standardization lead, as he shares valuable knowledge to help developers make informed decisions about integer type selection in C++ programming.
Syllabus
Introduction
Topics
Signed
twos complement
unsigned intertypes
pure binary
overflow
sign vs unsigned
Undefined Behavior
SizeT
Optimization
Volatiles
Size T
Use Cases
Signed and Unsigned
SsizeT
Poll
Use Case
Signed Integers
When You Subtract
How Much Storage
Unsigned Integers
Do While Loop
Taught by
CppNow
Related Courses
Your Favorite Undefined Behavior in C++CppNow via YouTube Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube