3 ms·
"There's a reason almost no widely used language implementation relies on ref-counting. CPython is the only real exception" Perl is also ref counted. Swift too
by tyingq 7y ago
"There's a reason almost no widely used language implementation relies on ref-counting. CPython is the only real exception"
Perl is also ref counted. Swift too.
Edit: Also TCL, and PHP is mostly recounted...the "GC" just deals with circular refs.
- lizmat 7y agoJust for the record: Raku (née Perl 6) most definitely does not do refcounting. If you want to do serious async programming, refcounting becomes a nightmare to get right and/or a source of potential deadlocks.