c style coding on dmd

Carl Clark carlclark at lavabit.com
Wed Nov 5 17:34:34 PST 2008


If you're going to write C code in D, what's the point of using D? The 
GC is your friend, usually, and unless you really know a lot about its 
functions, just let it do its thing. Of course, if you're porting C code 
over, that's a different matter, but when writing new D code, try to use 
the language advantages as much as possible.

On 2008-11-05 17:22, ViktorKrescvohn wrote:
> i used to c-style pointer heavy programming, is it wise to code c-style on d platfrom, i mean by turning off GC and stuff.


More information about the Digitalmars-d-learn mailing list