News for hackers. Stuff that matters.
Re:Ask HN: How do you interop between Rust and C++? by tronical on Monday April 03, 2023 @06:44AM (#35421309)
You might find this article helpful from my colleague Tobias: https://slint-ui.com/blog/rust-and-cpp.html
Re:Ask HN: How do you interop between Rust and C++? by sylware on Monday April 03, 2023 @07:23AM (#35421669)
I write plain and simple C and assembly, does work with the rust/c++ tantrums of the other devs. Those are very egoistical as the other way around is not true.

It comes down to binary interface (~ABI), and you better keep it stupid and simple. It means the c++ or rust devs must care to design and implement an ABI level interface.