Comment by kreetx
1 year ago
Only guessing, but since the language is for scripting then maybe all garbage could be collected when the script finishes?
1 year ago
Only guessing, but since the language is for scripting then maybe all garbage could be collected when the script finishes?
I was also curious. Looking at the code, it seems values are Boxed, but there's a special type called Shared that is an Rc-RefCell (unless Send-enabled.):
Not even reference counting.
There are no references as values are always cloned (or moved).