D Kernel Development

Tim Matthews tim.matthews7 at gmail.com
Wed Nov 11 21:48:57 PST 2009


Jesse Phillips wrote:
> On Wed, 11 Nov 2009 20:02:16 -0800, Walter Bright wrote:
> 
>> If you don't use things that rely on the gc, the runtime support needed
>> by D2 is very minimal. You'd need to avoid:
>>
>> . resizing arrays
>> . associative arrays
>> . closures
>> . of course, any use of new
>> . array concatenation
>>
>> and the rest is pretty good to go.
> 
> Could I get a clarification here? You say not to use 'new' but Sean Kelly 
> is saying that it is still usable. I of course place greater weight on 
> your word. If 'new' is not an option does that take using objects out of 
> the equation?
> 
> Just collecting details for: http://www.prowiki.org/wiki4d/wiki.cgi?
> GarbageCollector


I think new should work fine if you explicitly call delete. sean: If 
that is not really the case then it should be?



More information about the Digitalmars-d mailing list