-
Book Overview & Buying
-
Table Of Contents
C++ Memory Management
By :
This chapter explored various ways in which one can use the C++ memory management facilities in unusual ways: mapping objects onto memory-mapped hardware, integrating basic forms of error handling with the nothrow version of operator new(), reacting to out-of-memory situations with a std::exception_handler, and accessing atypical memory with non-portable services through a specialization of the “normal” allocation operator and a manager object. This gives us a broader overview of memory management facilities in C++ and how one can use them to one’s advantage.
One thing we have mentioned but not yet discussed is optimization: how to make memory allocation and memory allocation fast, blazingly fast even, and deterministic in terms of execution speed when some conditions are met. This is what we will do in Chapter 10 when explaining how to write arena-based allocation code.
Oh, and as a bonus, we will kill Orcs.
Orcs? What are you talking about?
...