348 views
in GUI Development by
Objects can be created dynamically by using the 'new' operator. Why does the programming language Chora not provide a 'delete' operator?

1 Answer

0 votes
by
The entire memory management within an Embedded Wizard UI application is controlled by a Garbage Collector. It ensures that memory is released when it is not used any more. This means: You never need to worry about it!

As soon as there are no more references to an object, it is unreachable and can be freed by the Garbage Collector.

The big advantage: You cannot access any object which is already freed and you cannot free an object twice...

Embedded Wizard Website | Privacy Policy | Imprint

...