Re: Software Architecture/Design
Brandon Van Every <[email protected]>
| Newsgroups | gmane.games.devel.sweng |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jun 10, 2010 at 6:47 AM, Thaddaeus Frogley <[email protected]> wrote: >> We cannot object to garbage collection forever, any more than we could >> insist on ASM code for everything forever. > > Garbage collection solves the obviously very difficult problem of > managing resources and object live times, by substituting in the much > easier problems of non-deterministic thread-safe object destruction So non-determinism makes performance unpredictable. Is there some other consequence? You already complained about performance below. The GC worries about the threads, what's the big deal? > and dangling circular references. The GC worries about it, what's the big deal? > Not to mention unpredictable performance spikes. Yes, but ASM lost, and eventually C++ will lose too. Eventually computers become fast enough that the typical performance spikes aren't important anymore. > GC makes an easy job easier, by making hard stuff harder. Harder to write a GC. So what? > Worst. Compromise. Ever. Surely you jest. It's a compromise, which had a worse impact in 1995, and gets less and less as the years go by. > But don't mind me, do go on. Cheers, Brandon Van Every _______________________________________________ Sweng-Gamedev mailing list [email protected] http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com