Memory allocation: Difference between revisions

Content added Content deleted
m (Added Delphi reference to Pascal code)
Line 611: Line 611:
Test destructor
Test destructor
</pre>
</pre>
=={{header|Delphi}}==

See [[#Pascal]].
=={{header|E}}==
=={{header|E}}==
E is a memory-safe language and does not generally work with explicit deallocation. As in Python and Java, you can create arrays of specific data types which will, by any decent implementation, be compactly represented.
E is a memory-safe language and does not generally work with explicit deallocation. As in Python and Java, you can create arrays of specific data types which will, by any decent implementation, be compactly represented.