Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
WalterBright
2 days ago
|
parent
|
context
|
favorite
| on:
Why we built Lightpanda in Zig
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
ImportC can also import D modules, so C code can access the D code.