by ofalkaed 3 hours ago

>Nothing beats D's ImportC

What does it offer over Zig's translate-c?

WalterBright 3 hours ago | [-0 more]

D does a pretty good job translating function-like macros, including creating lambdas out of macro expressions like:

    #define X 3+y
I haven't experimented with translate-c to see just what it does, I am going by the description of it which is a bit vague.

ImportC can also import D modules, so C code can access the D code.