Answer the question
In order to leave comments, you need to log in
Memory manager for C++ project?
For self-learning purposes, I decided to write a simple memory manager for my projects (hypothetically). All the literature I found describes the process of writing it under Linux, but I'm interested in the Windows platform. (maybe I just searched badly, poke your nose, it will also be useful).
A rather banal question is also of interest - how to actually test this? Well, tobish, how to understand whether the same garbage collector is working correctly, or defragmentation (if it is needed) ...
Much appreciated.
Answer the question
In order to leave comments, you need to log in
First, decide whether you need a memory manager (alloc/free) or a garbage collector?
And secondly, regardless of the answer to the first question, where do you see the fundamental inapplicability of information about writing a memory manager or garbage collector for one OS to another OS? And in general, all the articles and books about garbage collectors that I read were written either in an OS-independent style, as a maximum, only a practical study of the characteristics was under one particular OS.
Perhaps this post will help you - zamotivator.dreamwidth.org/497156.html. At one time, quite well-known programmers in Runet, people threw decent links on allocators and garbage collections there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question