User Tools

Site Tools


data-arrays-references

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
data-arrays-references [2019/10/19 17:03]
barryfp [Arrays]
data-arrays-references [2020/04/24 02:08] (current)
barryfp [Garbage collection]
Line 175: Line 175:
 Objects, data types and regular arrays are all '​constructed'​ at runtime and are accessed by reference. These items are automatically garbage collected when their reference count reaches zero or when their creating component is destroyed. ​ Objects, data types and regular arrays are all '​constructed'​ at runtime and are accessed by reference. These items are automatically garbage collected when their reference count reaches zero or when their creating component is destroyed. ​
  
-Note that Dana's garbage collector is a simple reference counter and **does not check** for circular references; it is therefore ​the programmer'​s responsibility to ensure that there are no further references to a constructed item for it to be cleaned up. +For more information on Dana's garbage collector, which is a little different to other languages, please see the [[memory-management|memory management]] topic.
 ====== Serialisation ====== ====== Serialisation ======
  
data-arrays-references.txt · Last modified: 2020/04/24 02:08 by barryfp