This strikes me as a strong motivation to stop using 'transparent' garbage collection as seen in so many dynamic languages. IT DOES NOT WORK. Period. Get over yourselves.
This strikes me as a strong motivation to stop using 'transparent' garbage collection as seen in so many dynamic languages. IT DOES NOT WORK. Period. Get over yourselves.
Explicit life time management? refcounting? ownership models?
They all have problems (although the exact problems change) and/or require substantially different programming models.
That said, changing from GC to explicit lifetime management requires wide-reaching language changes that I don't see how you would apply to JavaScript, or nearly any GC language. It's a very fundamental aspect of the language, and not easily changed. Hence the work into better collectors by the languages that do GC, so the parent's comment is not really enlightening.
It was more a question of whether the commenter had any better solutions to propose. I was /really/ trying not to just be a dick and say "cool, so you work out how to do that without changing the language at all".
:D