handles and variables

Blitz3D Forums/Blitz3D Beginners Area/handles and variables

In C++, C, Pascal, etc. you can allocate memory with functions like malloc, realloc, calloc, not to mention all the memory management functions in Windows. The programmer is then free to use the memory for whatever they wish. Thus things can be arranged in memory as desired. Implementing sub-allocators is not uncommon.

Things like placement new, and the ability to replace the allocator for new, allows the developer to place C++ objects in specified memory locations.