[Qt-interest] C++ + QT vs C#

Scott Aron Bloom Scott.Bloom at sabgroup.com
Fri Mar 20 18:49:58 CET 2009


> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] On Behalf Of Pascal Patry
> Sent: Friday, March 20, 2009 10:25 AM
> To: qt-interest at trolltech.com
> Subject: Re: [Qt-interest] C++ + QT vs C#
> 
> On March 20, 2009 12:31:23 pm Sebastien Fricker wrote:
> > Le 20-03-2009, Philippe Fremy <phil at freehackers.org> a écrit :
> > > Ok I missed the point indeed, your post sounded like he did not care
> > > about memory consumption at all.
> > >
> > > Still, I would be surprise if there is no way to trigger garbage
> > > collection, or use an optimised structure for this, that does not
> > > involve keeping all the lines in memory.
> >
> > My experience concerning the garbage collection is that you can call
> > GC.Collect() but it has not real effect as long as you CPU is
> > intensitively used. The garbage collection is running in a thread in
> > background, and you cannot force the collection. This was my experience
> > on .NET CF, and the solution was to put the priority of the main thread
> > lower than normal and call GC.Collect()...
> > Well, you can image what I'm thinking about the M$ garbage collection
> > API... You can put it into a bin.
> > As comparaison: ADA -> it was possible to free pointer manually or
> > letting the garbage collection performing the job. ADA is 20 year old,
> > C# about 5, what a regression!
> 
> Garbage collection... it has been created to give a hand to developers... but
> the result
> is clean code becoming a real mess.
> 
> 
> 
> 
Now that's a great quote!




More information about the Qt-interest-old mailing list