Would You Bet $100,000,000 on D?

Trass3r un at known.com
Sun Sep 18 19:01:04 PDT 2011


Am 19.09.2011, 03:06 Uhr, schrieb dsimcha <dsimcha at yahoo.com>:
> how hard can it possibly be to translate **non-preprocessor-abusing** C  
> code to D?  D is almost a superset of C.  The only incompatibilities I  
> can think of are the preprocessor/module system, bitfields, and some  
> minor syntactic differences.  Am I missing anything important?

Yep, but C code does abuse the preprocessor.
Static arrays are another incompatibility, I'm not sure though if  
extern(C) automatically makes int[3] being passed by ref.


More information about the Digitalmars-d mailing list