Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document basic concepts #6

Open
Manu343726 opened this issue Jan 4, 2016 · 3 comments
Open

Document basic concepts #6

Manu343726 opened this issue Jan 4, 2016 · 3 comments

Comments

@Manu343726
Copy link
Contributor

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.

@foonathan
Copy link
Owner

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

@gabyx
Copy link
Contributor

gabyx commented Apr 16, 2020

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... (?)...

@foonathan
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants