Am 19.09.2011, 03:06 Uhr, schrieb dsimcha <dsim...@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.