[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]__gc arrays
From: |
Rhys Weatherley |
Subject: |
Re: [DotGNU]__gc arrays |
Date: |
Wed, 21 Apr 2004 21:51:10 +1000 |
User-agent: |
KMail/1.4.3 |
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.