Hacker News new | ask | show | jobs
by schveiguy 1354 days ago
import C is not perfect. There are pieces of C that don't map directly to D. Such as #define constants and macros.

That being said, it will make writing bindings a LOT easier, even though D already has direct binding to C functions.