3 ms·
>Nothing beats D's ImportC What does it offer over Zig's translate-c?
by ofalkaed 10mo ago
>Nothing beats D's ImportC
What does it offer over Zig's translate-c?
- WalterBright 10mo agoD 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.