by SloopJon · 11y ago · 0 comments
http://dlang.org/interfaceToC.html
Can anyone comment further?
https://github.com/crabtw/rust-bindgen is a tool in the vein of dstep.
(Rust has the advantage of having no runtime beyond what C needs unlike D with its current garbage collector, so FFI, especially exposing a C interface, is likely somewhat simpler.)