Tag Archives: static and dynamic memory allocation

A major revision for my publication about Object-Oriented Memory Management

It took about a year for a major revision of my document about memory management in object oriented programming languages. This major revision adds C++ in addition to Java. The paper is about a model for memory management during the execution of programs written in Java and C++. The number of pages grew from 17

Heap vs. Stack in C++

After the study of pointers versus references, the second natural question that comes in head of a ex Java developer turning to C++ is: “What are the difference between static and dynamic memory allocation in C++?” which can be translated as: “When should I use the stack and when do I have to use the