mrodz / mscript

Programming Language
Apache License 2.0
4 stars 1 forks source link

[specification] Garbage Collector #180

Closed mrodz closed 7 months ago

mrodz commented 9 months ago
mrodz commented 9 months ago

Check out these crates:

mrodz commented 7 months ago

Circular references are also a problem at compilation and will leak memory in some cases. Usually it's when a class has an Rc property and a field that references the class.

Also, reworking mutability and lifetimes with a garbage collected object may prove troublesome.