YoVDO

When You Hit "Error - Memory Is Not Aligned"

Offered By: code::dive conference via YouTube

Tags

Code::Dive Courses C++ Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore memory alignment in C++ through this 43-minute conference talk from code::dive 2018. Delve into the importance of alignment, default alignment rules, and various methods for ensuring proper alignment across different C++ versions. Learn about compiler-specific attributes, alignas and alignof keywords, std::aligned_storage, custom aligned allocators, and new features in C++17. Gain practical insights through code examples and discover how to handle alignment issues in your C++ projects. Perfect for developers looking to deepen their understanding of memory management and optimization techniques in C++.

Syllabus

Introduction
Welcome
Who am I
Agenda
What is alignment
What is memory
What is a viable
Alignment rules
When alignment may matter
When we know what alignment is
Compiler specific attributes
Compilerspecific functions
C11 alignment
Stand
LineStorage
AlignLock
CustomAllocators
AlignAllocators
AlignAllocators examples
Custom Deleter
UniquePointer
Standbind
Custom structure
How to use
Why
New features
Delete with alignment
PMR interface
Questions


Taught by

code::dive conference

Related Courses

From Developer to SW Architect
code::dive conference via YouTube
Stop Writing Test Doubles You Are Using
code::dive conference via YouTube
You Can Do Better! Presentations That Are Captivating
code::dive conference via YouTube
What C and C++ Developers Can Learn from Rust
code::dive conference via YouTube
Beautiful Python Refactoring II
code::dive conference via YouTube