5 ms·
Please clarify what do you mean by incorporating a C compiler. Does this mean you're abandoning the "custom C frontend inside the D compiler" effort in favor of
by akireu 5y ago
Please clarify what do you mean by incorporating a C compiler. Does this mean you're abandoning the "custom C frontend inside the D compiler" effort in favor of something like clang? To me, the other possibility - having *yet another* C compiler to look out for - is just terrifying.
- WalterBright 5y ago> Does this mean you're abandoning the "custom C frontend inside the D compiler" effort in favor of something like clang? No. It means the custom C frontend inside the D compiler, with the semantic routines in the D compiler tweaked where necessary to support C semantics.
- akireu 5y agoWon't this require years of busywork? The various intrinsics, function attributes, C compiler args compatibility, ABI profiles for various platforms/systems (including the Windows GCC/VC ABI idiocy?) upd: Also, I'm not sure that implementing -funsigned-char in 2022 will be all that great for morale!
- WalterBright 5y agoIt required maintenance, sure. But most of those extensions can be safely ignored.