[Oberon] memory freeing

spir denis.spir at gmail.com
Tue Jun 29 22:19:50 MEST 2010


When I resize the array actually holding a sequence's elements, the previous array is lost. In C or Pascal, I should free it, since it is dynamically allocated (in heap, certainly); but there is no such statement (free, release) in Oberon AFAIK.
The report speak about GC, but this is in the informative part presenting some aspects of Oberon-the-system as an example environment for Oberon-the-language.

oo2c, the compiler I presently, indeed can be built to use a GC (and I did it). So, I should be safe. But this does not solve the issue in the general case. What should I do?

Thank you,

vit esse estrany ☣


More information about the Oberon mailing list