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

Paulo Pinto pjmlp at progtools.org
Fri Dec 8 10:33:12 UTC 2023


On Friday, 8 December 2023 at 10:18:20 UTC, Sergey wrote:
> On Thursday, 7 December 2023 at 19:10:32 UTC, Chris J wrote:
>> 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/
>
> Nice finding! Thanks for sharing.
>
> Someone with Reddit account - can you please post it here: 
> https://www.reddit.com/r/ThePrimeagenReact/ ?
> It is interesting article and it deserves some more attention. 
> If it will be chosen could be good for D as well

Done, 
https://www.reddit.com/r/ThePrimeagenReact/comments/18dk19s/mixing_c_d_and_rust_for_fun_and_profit_part_1/?


More information about the Digitalmars-d mailing list