memory icon indicating copy to clipboard operation
memory copied to clipboard

Document basic concepts

Open Manu343726 opened this issue 9 years ago • 3 comments

In addition to memory-specific concepts already described in docs, it would be useful to describe basic concepts of memory management, such as allocator, arena, pool, etc. This would make the library design easier to understand by newcomers. Also this clarifies the nomenclature used by the library and its docs.

Manu343726 avatar Jan 04 '16 09:01 Manu343726

Agree. Dokumentation improvement is on my Todo-List. Also plan to add groups, e.g. all allocator classes, adapters, etc. for easier overview.

foonathan avatar Jan 04 '16 10:01 foonathan

It would also be very helpful, to have an more complex example where we build something like the complex composed allocator Andrei Alexandrescu showed in the video: https://youtu.be/LIb3L4vKZ7U?t=4125

I am also wondering if there is already some allocator in the library which splits to different allocators depending on which core (thread) it allocates... (?)...

gabyx avatar Apr 16 '20 18:04 gabyx

It would also be very helpful, to have an more complex example where we build something like the complex composed allocator Andrei Alexandrescu showed in the video: https://youtu.be/LIb3L4vKZ7U?t=4125

I have the segregators: https://foonathan.net/memory/segregator_8hpp.html

I am also wondering if there is already some allocator in the library which splits to different allocators depending on which core (thread) it allocates... (?)...

No, there is nothing like that, but PRs are welcome.

foonathan avatar May 05 '20 15:05 foonathan