Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!lust.ihug.co.nz!ihug.co.nz!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.java.programmer Subject: Re: Managed-Code Bloat Followup-To: comp.lang.java.programmer Date: Tue, 07 Jun 2011 13:38:22 +1200 Organization: Geek Central Lines: 18 Message-ID: References: NNTP-Posting-Host: 118-92-86-36.dsl.dyn.ihug.co.nz Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: lust.ihug.co.nz 1307410702 3818 118.92.86.36 (7 Jun 2011 01:38:22 GMT) X-Complaints-To: abuse@ihug.co.nz NNTP-Posting-Date: Tue, 7 Jun 2011 01:38:22 +0000 (UTC) User-Agent: KNode/4.4.11 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5046 In message , Joshua Cranmer wrote: > On 6/6/2011 5:06 PM, Lawrence D'Oliveiro wrote: > >> I think JavaScript uses reference-counting, too. Why else would it have a >> “delete” statement > > As for python, Python does have a garbage collector because it is very > easy to accidentally create cycles in references, the big bane of > reference-counted systems. Yes, but like Perl, the garbage collector only gets invoked in those less- common cases where you do indeed have such cycles. The rest of the time (which is most of the time), reference-counting works just fine. > Both SpiderMonkey and V8 are garbage-collected. Probably same here.