What does it take to design a memory allocator? Dynamic Memory Allocation System Design

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Wow 22 min and I went from ??? To having my own design allocator based on your video. Thank you so much !

megatu
Автор

Interesting and extremely underrated video!!! Excellent, you are a great teacher !!!

samarthtandale
Автор

Wow, that constant-time coalescing trick is exactly the kind of thing you wouldn't easily even notice on your own, let alone intentionally design. That's a really beautiful solution. This kind of thing is exactly why I'm so glad to be able to study CS online now - my local universities are horrible but insights like this are so valuable. Thank you for making this available!

gloverelaxis
Автор

Awesome thanks! Working on my first allocator. This helps a ton

NathanHedglin
Автор

My understanding of an explicit free list was that it was a separate list than the allocator kept track of, but storing them inside the free block is an interesting idea. But, like you say, the disadvantage is that the blocks must be a least big enough to hold all pointers.

Stradigos
Автор

I implemented a BASIC memory allocator in x86-64 asm for my brainfuck interpreter project.

I was thinking on improving the design and making it slightly less shitty.

But after some research (including your video) I came to the conclusion that Im perfectly happy with my current implementation (the amount of work I'd have to put in is just scary as fuck).

But I really wanna thank you for this channel, it's pure gold.

marcelijankowski
Автор

13:40
All 3 of these algorithms will give you memory.
Will they give you memory fast?
Will they give you memory efficiently?
I don’t know 😅

SuperGanga