Memory allocation: Difference between revisions

m
(added Arturo implementation)
Line 201:
In Arturo, memory allocation is handled totally and exclusively by the VM, who is responsible for allocating and de-allocatiing memory when no longer needed, via the garbage collector.
 
The only way a programmer can "allocate" more memory is by flexible structures, like Blocks, and adding more elements to one of the pre-allocated structures.:
 
<syntaxhighlight lang="arturo">
1,532

edits