>>this is just a very simplified "philosophy" of memory allocation, because, in practice, there are a lot of techniques, strategies,
>>etc. Each one with its own advantages and disadvantages.
>
>Any resources that you know of that delve into these philosophies, techniques, and strategies in more detail? (books, web sites, etc.)
Here are the last two good books I've read on C++ and which discuss these matters as well:
"Effective C++" by Scott Meyers ISBN:0-201-92488-9
"More Effective C++" by Scott Meyers ISBN 0-201-63371-X
Both are 100% what their title says. The first one has one special and excelent chapter on memory management. The
second one contains deep discussions on the "new" and "delete" operators, smart pointers and good memory
management + exception handling.
Another wonderful book is Bjarne Stroustrup's "The Design and Evolution of C++" (ISBN: 0-201-54330-3).
He also dedicates a special chapter to memory management where he explains why is memory management
the way it is in C++.
Vlad
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement