C++ Weekly - Ep 252 - Real World PMR: 2-3x Faster JSON Parsing with Custom Allocation Strategies

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



Duration: 20:54
11,227 views
319


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

Note: I continue to sometimes mix up the usage of "allocator" and "memory_resource" in this video.

Tests I ran: https://github.com/lefticus/cpp_weekly/blob/master/PMR/json_tests.cpp

Performance Results Published from Boost JSON: http://vinniefalco.github.io/doc/json/json/benchmarks.html
Test suite for Boost JSON: https://github.com/boostorg/json/tree/develop/bench

T-SHIRTS AVAILABLE!

► The best C++ T-Shirts anywhere! https://my-store-d16a2f.creator-spring.com/


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


GET INVOLVED

► Video Idea List: https://github.com/lefticus/cpp_weekly/issues


JASON'S BOOKS

► C++ Best Practices
Amazon Paperback: 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
Amazon Paperback: https://amzn.to/3whdUDU
Leanpub Ebook: https://leanpub.com/objectlifetimepuzzlers_book2

► Object Lifetime Puzzlers Book 3
Leanpub Ebook: https://leanpub.com/objectlifetimepuzzlers_book3

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

► Copy and Reference Puzzlers Book 2
Amazon Paperback: https://amzn.to/3X1LOIx
Leanpub Ebook: https://leanpub.com/copyandreferencepuzzlers_book2

► Copy and Reference Puzzlers Book 3
Leanpub Ebook: https://leanpub.com/copyandreferencepuzzlers_book3

► 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++ (now with C++20/23!): https://amzn.to/3X4Wypr


AWESOME PROJECTS

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


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-02-05I2C Device Hacking With Raspberry Pi 2 - Part 4
2021-02-01C++ Weekly - Ep 257 - Garbage In, Garbage Out - Why Initialization Matters
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!



Tags:
C++
Programming
C++ PMR
C++ Weekly
Jason Turner
JSON Parsing
C++ Performance
Custom Allocation