D in the KDAB blog: using D as a glue language between C++ and Rust

Chris J cjljosten at gmail.com
Thu Dec 7 19:10:32 UTC 2023


Today, I stumbled on a blog post where someone used D as a glue 
language between C++ and Rust, by using the C++ linkage 
functionality to call C++ code and the ability to manually 
override the name mangling using `pragma(mangle, "…")` to call 
Rust code.

https://www.kdab.com/mixing-c-and-rust-for-fun-and-profit-part-1/


More information about the Digitalmars-d mailing list