C++ Weekly - Ep 250 - Custom Allocation - How, Why, Where (Huge multi threaded gains and more!)

Subscribers:
120,000
Published on ● Video Link: https://www.youtube.com/watch?v=5VrX_EXYIaM



Duration: 19:04
18,892 views
612


☟☟ Awesome T-Shirts! Sponsors! Books! ☟☟

Examples used: https://github.com/lefticus/cpp_weekly/blob/master/PMR/performance_tests.cpp
Some Benchmarks: https://quick-bench.com/q/YCTABMeSoSbb3fzDMlX7_Gg9Jy0

https://www.youtube.com/watch?v=ko6uyw0C8r0 Local (Arena) Memory Allocators Part 1 - John Lakos - Meeting C++ 2017
https://www.youtube.com/watch?v=fN7nVzbRiEk Local (Arena) Allocators Part II - John Lakos - Meeting C++ 2017
https://www.youtube.com/watch?v=ebn1C-mTFVk CppCon 2019: John Lakos “Value Proposition: Allocator-Aware (AA) Software”


Herb Sutter: Leak-Freedom By Default: https://youtu.be/JfmTagWcqoE


A discussion on the differences between a allocator and memory_resource https://www.youtube.com/watch?v=v3dz-AKOVL8&feature=youtu.be&t=1755


C++ ON SEA - JULY 4-7, 2022

► Check out C++ On Sea in Folkestone, UK, July 4-7, 2022
Jason is one of the keynote speakers
Link: https://bit.ly/35tdT5b


WANT MORE JASON?

► My Training Classes: http://emptycrate.com/training.html
► Follow me on twitter: https://twitter.com/lefticus


SUPPORT THE CHANNEL

► Patreon: https://www.patreon.com/lefticus
► Github Sponsors: https://github.com/sponsors/lefticus
► Paypal Donation: https://www.paypal.com/donate/?hosted_button_id=PQ4A2V6ZZFQEU


JASON'S BOOKS

► C++ Best Practices
Amazon Paperback (Color Printing): https://amzn.to/3wpAU3Z
Leanpub Ebook: https://leanpub.com/cppbestpractices


JASON'S PUZZLE BOOKS

► Object Lifetime Puzzlers Book 1
Amazon Paperback: https://amzn.to/3g6Ervj
Leanpub Ebook: https://leanpub.com/objectlifetimepuzzlers_book1

► Object Lifetime Puzzlers Book 2
Leanpub Ebook: https://leanpub.com/objectlifetimepuzzlers_book2

► Copy and Reference Puzzlers Book 1
Amazon Paperback: https://amzn.to/3g7ZVb9
Leanpub Ebook: https://leanpub.com/copyandreferencepuzzlers_book1

► OpCode Puzzlers Book 1
Amazon Paperback: https://amzn.to/3KCNJg6
Leanpub Ebook: https://leanpub.com/opcodepuzzlers_book1


RECOMMENDED BOOKS

► Bjarne Stroustrup's A Tour of C++: https://amzn.to/3IUiVGt


AWESOME PROJECTS

► The C++ Starter Project - Gets you started with Best Practices Quickly - https://github.com/cpp-best-practices/cppbestpractices
► C++ Best Practices Forkable Coding Standards - https://github.com/cpp-best-practices/cpp_starter_project


O'Reilly VIDEOS

► Inheritance and Polymorphism in C++ - https://www.oreilly.com/library/view/inheritance-and-polymorphism/9781491961933/
► Learning C++ Best Practices - https://www.oreilly.com/library/view/learning-c-best/9781491954898/




Other Videos By C++ Weekly With Jason Turner


2021-01-29C++ Mythbusting with Victor and Jason
2021-01-28I2C Device Hacking With Raspberry Pi 2 - Part 3
2021-01-25C++ Weekly - Ep 256 - C++11's Garbage Collector
2021-01-22I2C Device Hacking With Raspberry Pi 2 - Part 2
2021-01-20I2C Device Hacking With Raspberry Pi 2
2021-01-18C++ Weekly - Ep 255 - C++11-17 Features You Still Cannot Use in 2021
2021-01-11C++ Weekly - Ep 254 - C++23's signed / unsigned size_t Literals
2021-01-04C++ Weekly - Ep 253 - C++20 is Official! How To Get Your Copy of the Standard
2020-12-28C++ Weekly - Ep 252 - Real World PMR: 2-3x Faster JSON Parsing with Custom Allocation Strategies
2020-12-21C++ Weekly - Ep 251 - constexpr Parameters With C++20's CNTTP
2020-12-14C++ Weekly - Ep 250 - Custom Allocation - How, Why, Where (Huge multi threaded gains and more!)
2020-12-07C++ Weekly - Ep 249 - Types That Shall Not Be Named
2020-11-30C++ Weekly - Ep 248 - Understand the C++17 PMR Standard Allocators and Track All the Things
2020-11-23C++ Weekly - Ep 247 - -O3, -Os, -Og, -Oz, Oh My!
2020-11-16C++ Weekly - Ep 246 - (+[](){})() What Does It Mean?
2020-11-09C++ Weekly - Ep 245 - PMR: Mistakes Were Made (By Me)
2020-11-02C++ Weekly - Ep 244 - Channel News, Updates, Thank Yous, and Changes
2020-10-26C++ Weekly - Ep 243 - Computer Science: The Magic of Two's Complement Binary Math
2020-10-22How To Actually Fix The Davinci Resolve "clip could not be processed" Error!
2020-10-19C++ Weekly - Ep 242 - Design By Introspection in C++20 (concepts + if constexpr)
2020-10-12C++ Weekly - Ep 241 - Using `explicit` to Find Expensive Accidental Copies



Tags:
C++
Programming