Tag Archives: heap

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

OO Memory Management Model summary updated

Today I wrote a new version of my summary posted here. The new version covers more topics, here is the updated list: Memory portions assigned to a program (code area, heap / dynamic memory area), execution stack How code is loaded in Java The Activation Record (AR) and function calls Abbrevations (AR, RV, RA, SP,

Algoritmo Ricorsivo

Da canticchiare sulla base di Disco Labirinto dei Subsonica & Bluvertigo.. Algo Ricorsivo Quasi quasi lo direi Quasi quasi scrivilo Quasi quasi ti ho capito E mi sono rovinato Quasi quasi non ti seguo Quasi quasi ho il vomito Quasi quasi Ω(esagero) ..E non compilarono.. Vorrei un algoritmo ricorsivo Bianco senza cicli colorati Lungo un

Object Oriented Memory Management

Major Update on 10th April 2009, inclusion of C++ programming language! Updated on 18th April 2008, a complete example on stack and heap Updated on 15th April 2008, new contents and new layout! Updated on 6th April 2008, new contents! The paper you can download from here is about a model for memory management during

Where to find Archlinux in a VPS hosting service

You can find your favourite linux distribution at linode.com, a great hosting service where I’m transferring my blog and all other services I need. They offer great cheap VPS solutions, and you can choose Archlinux from the available linux distributions. Archlinux is currently in testing: for example, ssh will not work after a fresh install.