Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cwyers
· 9y ago · 0 comments
C++ was deliberately backwards compatible with C. D was not backwards compatible with C or C++.
Comments
[–]
gorthol
9y ago
D uses C calling conventions and struct layout so it's pretty trivial to call D code from D or vicecersa and link together, the only step added over C++ is writing an include file with the declarations of the stuff you want to call.