Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
High-performance native telemetry engine
·
Module 2
Modern C++ and Manual Memory Management
1
Mastering the Rule of Five
Implement the Rule of Five (destructor, copy/move constructor, copy/move assignment).
2
Optimizing Resource Transfers with Move Semantics
Apply move semantics to optimize resource transfers using `std::move` and rvalue references.
3
Smart Pointers for RAII Memory Management
Use smart pointers (`std::unique_ptr`, `std::shared_ptr`) to manage memory with RAII.
4
Memory Alignment and Padding in Structs
Describe memory alignment requirements and padding in structs.
5
Cache Line Impact on Data Access Performance
Explain how CPU cache lines impact the performance of data access patterns.
6
Placement New for Custom Memory Allocation
Allocate and deallocate raw memory using placement new for custom memory schemes.
7
Bump Pointer Allocator Implementation
Implement a simple linear allocator with bump pointer allocation.
8
Dynamic Object Arrays
Manage memory for arrays of objects with proper construction and destruction.
Previous module
C++ Foundations for Systems Programming
Next module
Concurrency Fundamentals with Locks