GC in Sciter’s Script

Excellent article by Ken Fox outlining architecture of different Garbage Collection strategies.

Sciter’s script uses “Copying Collector”. Its work is visualized as:

Copying GC at work

And DOM (tree of objects without cycles) is using Reference Counting that reflects in external native DOM API by pair of SciterUseElement and SciterUnUseElement (a.k.a. AddRef/Release).