CppCon 2017: Bob Steagall “How to Write a Custom Allocator”
—
Presentation Slides, PDFs, Source Code and other presenter materials are available at:
—
You’d like to improve the performance of your application with regard to memory management, and you believe this can be accomplished by writing a custom allocator. But where do you start? Modern C brings many improvements to the standard allocator model, but with those improvements come several issues that must be addressed when designing a new allocator.
This talk will provide guidance on how to write custom allocators for the C 14/C 17 standard containers. It will cover the requirements specified by the standard, and will describe the facilities provided by the standard to support the new allocator model and allocator-aware containers. We’ll look at the issues of allocator identity and propagation, and examine their implications for standard library users, standard library implementers, and custom allocator implementers. We’ll see how a container uses its al
1 view
4109
1538
1 year ago 01:29:16 1
Delivering Safe C++ - Bjarne Stroustrup - CppCon 2023
2 years ago 00:59:34 1
CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”
3 years ago 01:47:45 1
CppCon 2017: Herb Sutter “Meta: Thoughts on generative C++”
3 years ago 01:03:40 1
CppCon 2017: Bob Steagall “How to Write a Custom Allocator”
4 years ago 01:02:28 1
CppCon 2017: James McNellis “Everything You Ever Wanted to Know about DLLs”
4 years ago 01:14:22 5
CppCon 2017: Fedor Pikus “C++ atomics, from basic to advanced. What do they really do?”
4 years ago 00:54:33 1
CppCon 2017: Nicolas Guillemot “Design Patterns for Low-Level Real-Time Rendering”
6 years ago 00:52:01 1
CppCon 2017: Louis Brandy “Curiously Recurring C++ Bugs at Facebook”
6 years ago 00:03:13 5
CppCon 2017: Dietmar Kühl “The End of std::endl”
6 years ago 01:06:46 13
CppCon 2017: Hartmut Kaiser “The Asynchronous C++ Parallel Programming Model”
6 years ago 01:31:14 1
CppCon 2017: Titus Winters “C++ as a “Live at Head“ Language”
6 years ago 01:38:41 1
CppCon 2017: Bjarne Stroustrup “Learning and Teaching Modern C++”
7 years ago 01:00:49 1
CppCon 2017: Jason Turner “Practical C++17”
7 years ago 01:00:45 21
CppCon 2017: Andrew Sutton “Meta”
7 years ago 01:10:15 16
CppCon 2017: “C++17 ParallelSTL: A Standardization Experience Report for CPU and GPU on SYCL”
7 years ago 01:08:04 19
CppCon 2017: Louis Dionne “Runtime Polymorphism: Back to the Basics”
7 years ago 00:54:26 15
CppCon 2017: Bryce Adelstein Lelbach “C++17 Features (part 2 of 2)”
7 years ago 00:49:00 150
CppCon 2017: Bryce Adelstein Lelbach “C++17 Features (part 1 of 2)”
7 years ago 00:04:49 23
CppCon 2017: Nicolas Fleury “Introduction to Sharpmake”
7 years ago 00:58:18 9
CppCon 2017: Alfred Bratterud “Deconstructing the OS: The devil’s In the side effects”
7 years ago 00:51:08 18
CppCon 2017: Billy Baker “Almost Unlimited Modern C++ in Kernel-Mode Applications”
7 years ago 00:55:33 30
CppCon 2017: Scott Wardle “ EA’s Secret Weapon: Packages and Modules”
7 years ago 01:00:35 71
CppCon 2017: J. McNellis, J. Mola, K. Sykes “Time Travel Debugging...”
7 years ago 00:40:54 1
CppCon 2017: Ingve Vormestrand “Tools and Techniques To Stay Up-to-date With Modern C++”