Re: __gc arrays

Rhys Weatherley <[email protected]>
Newsgroups gmane.comp.gnu.dotgnu.developer
Organization Southern Storm Software, Pty Ltd
Message-ID <[email protected]>
On Wednesday 21 April 2004 10:21 pm, Alex Stephens wrote:

> > 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.

Cheers,

Rhys.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.