Algorithms + Data Structures = Programs cover image

Episode 118: C++ Allocators with Zach Laine! (Part 2)

Algorithms + Data Structures = Programs

00:00

Why Shouldn't Allocators in Vector Be a Part of the Standard Library?

I have very strong opposition to the use of allocator pattern, and it's a viral nature across, you know, vocabulary types that do not allocate. We want the standard library to be like useful tools that everybody can make use out of. But here's the crazy part, like, people are doing exactly what you said. They're making pool allocators and they're using what vector and they're getting great results out of it. I really think it's more like a percent of a percent, we talk about instantiations. If there's some squirrely edge cases that you write, you don't writing those code. Do automated companies that have to follow Ms.Ra, do

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app