Re: A re-announce on GC's defects
- From: Michael Nemtsev <nemtsev@xxxxxxx>
- Date: Thu, 18 Jan 2007 11:32:23 +0000 (UTC)
Hello Born,
B> GC is really garbage itself
B> B> Reason 1:
B> B> There is delay between the wanted destruction and the actual
B> destruction.
B> B> Negative effects by the destruction delay:
B> B> 1) Efficiency issue
Does it really bad? :) It only depends on your app context. If it doesnt meets your requirement welcome back to unmanaged world with manually memmory management
B> 2) Logic issue
B> B> The need for weak reference makes the destruction delay logically
B> incorrect.
Caching is the logically incorrect too?
B> The only problem with this approach is cyclic
B> reference. However, even if not theoretically proven, the problem
B> generally can be solved by replacing some strong references with weak
B> references.
But it's logically incorrect, as mentioned before :)
B> I believe the restriction by GC is one of the main reasons why in
B> some field (the gaming industry, for example), java or C# is rarely
B> used in serious products who face real computing challenges.
lol
What does the "serious product" and "real computing challenge" mean for your?
The FPS? :)
BTW, last DX samples are in C#. The real challenge of C# and game industry is performance.
In 2 - 3 years it will be solved
B> Solution
B> B> 1) The ideal solution is to convince the language providers to give
B> us back the ability of managing memory by our own. GC can still be
B> there, and it becomes a real addictive in that situation.
Nobody prohibits u to use C++
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" (c) Michelangelo
.
- References:
- A re-announce on GC's defects
- From: Born
- A re-announce on GC's defects
- Prev by Date: Re: A re-announce on GC's defects
- Next by Date: Re: Test Driven Development and C#
- Previous by thread: Re: A re-announce on GC's defects
- Next by thread: Re: A re-announce on GC's defects
- Index(es):
Relevant Pages
|