POV-Ray : Newsgroups : povray.off-topic : infested computers - how does it happen? : Re: infested computers - how does it happen? Server Time
7 Sep 2024 01:24:00 EDT (-0400)
  Re: infested computers - how does it happen?  
From: Nicolas Alvarez
Date: 6 Dec 2008 23:55:54
Message: <493b575a@news.povray.org>
Darren New wrote:
> Orchid XP v8 wrote:
>> Warp wrote:
>>>   Also, if the mahjong program was created with a GC'd language, the GC
>>> might completely nullify the benefit of swapping.
>> 
>> Only if the GC actually runs.
> 
> I think Warp might mean that the program might tend to hold onto data
> longer than it really needs to, in the event the GC doesn't run. Since a
> GC sweep by an otherwise mostly-idle program would only bring stuff into
> core once, so it wouldn't nullify the benefits of swapping it out.
> 
> However, many GCed languages will take messages like iconification and
> priority lowerings and do a GC before going quiescent. In this case, you
> might even get better behavior than in a language where you can't compress
> used memory because people are holding raw pointers.
> 
> Windows already trims your working set and swaps much of your program out
> if you're idle and the window gets iconified, as well.

Oh come on, don't start yet another pro-GC flamewar.

(just today I had the pleasure of reading the old thread "the POV-ray
SDL--similar to Java and/or Python?" in p.advanced-users)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.