Coolest D features

Benji Smith dlanguage at benjismith.net
Wed Dec 27 18:30:27 PST 2006


Walter Bright wrote:
> Benji Smith wrote:
>> Then, because this algorithm needed to be deployed to heterogeneous 
>> environments, a colleague of mine ported my code to C++. He did a 
>> straight transliteration of the code, preserving the same semantics 
>> from the Java to C++.
> 
> What did he do about the memory allocation? Use a gc in C++?

No, he explicitly deleted all of the objects that he newed.



More information about the Digitalmars-d mailing list