CppCon 2017: Bob Steagall “How to Write a Custom Allocator”

  Рет қаралды 60,282

CppCon

CppCon

Күн бұрын

Пікірлер: 24
@sicko815
@sicko815 Жыл бұрын
Watching this after John Lakos' talk Such a beautiful follow up
@kinershah464
@kinershah464 Жыл бұрын
Very good presentation. He must have done a lot of research and studying to compile the content for this presentation.
@seidenada526
@seidenada526 7 жыл бұрын
Don't watch this talk if you are looking for some code examples. The subject is more like "What traits and types you should study in order to be able to write a custom allocator". Good material though.
@cypix314123
@cypix314123 7 жыл бұрын
Yeah, it is more about what you need to define (in terms of traits) and how those definitions fit together. It is also a bit of history which could prove useful if you need to modernize allocators written by someone else.
@Kalumbatsch
@Kalumbatsch 7 жыл бұрын
Right, in that case you should watch the talk "Custom allocator code to cut & paste", this one is more about how to write a custom allocator.
@seidenada526
@seidenada526 7 жыл бұрын
I prefer the talk of Andrei Alexandrescu in the CppCon 2015 about std :: allocator. Way more fun and teachful than your sarcasm.
@Kalumbatsch
@Kalumbatsch 7 жыл бұрын
Maybe, if "teachful" was a word.
@fwang3695
@fwang3695 3 ай бұрын
I love this man! thanks for these wonderful presentations!
@s_alexander_n
@s_alexander_n 9 ай бұрын
Thank you, Bob Steagall! 😃
@tohopes
@tohopes 6 жыл бұрын
20:10 deep propagation of alligators pretty scary!
@pskocik
@pskocik 5 жыл бұрын
it's what the reptilians want. they've deeply infiltrated c++ now.
@lorenzombolis
@lorenzombolis 5 жыл бұрын
Anyone care to explain what the example at 11:00 is, or how it can be used? Because I have no clue whatsoever
@IK-ow2zk
@IK-ow2zk 3 жыл бұрын
Thanks a lot for the video!
@CppCon
@CppCon 3 жыл бұрын
Glad it was helpful!
@jflopezfernandez
@jflopezfernandez 7 жыл бұрын
Awesome talk, thank you
@JohnForTheWin
@JohnForTheWin 3 жыл бұрын
Great talk!
@sproccoli
@sproccoli 11 ай бұрын
i do not support alligator propagation. We have enough of them already.
@КНЯЗЬДИМИТРИЙХВОРОСТИНИН
@КНЯЗЬДИМИТРИЙХВОРОСТИНИН 6 жыл бұрын
Thank you! Спаси Господи!
@anon_y_mousse
@anon_y_mousse 2 жыл бұрын
Very informative, but Bob needs to incorporate some levity and differ the pitch of his voice from time to time. I nearly fell asleep.
@pajeetsingh
@pajeetsingh 5 жыл бұрын
Why can't we just use new and delete again?
@Theodorlei1
@Theodorlei1 4 жыл бұрын
The default stays new and delete :) Allocators allow you to open the hood and choose a different option if you need to
@movax20h
@movax20h 4 жыл бұрын
@Drip all of these can be solved with global allocator. Custom allocators are very niche and somehow over rated. Mostly useful to using stack as primary allocation with fallback, and for arena allocation. But even for that you don't need standard tools and can roll your own stuff for it, but if you try to use stl containers then you need to use them , or write an adapter.
@dekadebashish
@dekadebashish 2 жыл бұрын
@@movax20h they are still useful when you want to isolate the alloac and dealloc calls from the global allocator for some reason. (may be initial dev ). Also, for some library like json in c++, a developer might want to use some different allocator to improve performance.
@alexeysubbota
@alexeysubbota 9 күн бұрын
I stopped watching at half an hour because of lack of practical information about "How to write a custom allocator" at all.
When Europe Falters, America Gains
59:02
Good Times Bad Times
Рет қаралды 67 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
CppCon 2017: Pablo Halpern “Allocators: The Good Parts”
1:00:49
CppCon 2017: Chandler Carruth “Going Nowhere Faster”
1:00:58
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН