[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]__gc arrays

From: Alex Stephens
Subject: Re: [DotGNU]__gc arrays
Date: Wed, 21 Apr 2004 17:50:53 +0000

> > > Since it requires the programmer to take explicit action to use, I have
> > > never really understood how it helps prevent sloppy programming.
> >
> > I agree it doesn't prevent sloppy programming but it would prevent
> > overflows leading to security problems since the program will just
> > terminate with an exception.
> Only if the programmer uses the managed array capability.  If they write 
> ordinary C code, then the arrays are unmanaged by default and all bets are 
> off.

That's true but it's quite easy to replace unmanaged array declarations with 
managed ones using the __gc keyword. Btw, is there any chance of getting a C++ 
compiler for dotgnu in the relatively near future? I think the Mono team are 
working on one...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]