What's the point of wrapping a C++ library instead of rewriting it in Rust? Does a move mean the same thing in Rust and in C++? How is borrow checking different from smart pointers? And what the F-F-I is a foreign function interface?
Máté Kovács (Principal Software Engineer at Braid) talks about his latest experiment to seamlessly wrap a C++ library with a Rust interface. He explains when, why, and how best to apply this approach, presenting the ideas with examples throughout a concrete codebase. Watch to learn about the differences and similarities of Rust and C++, the tools that can bridge the gap, and the concrete patterns you can use to successfully solve this problem in your own projects.
Follow along with the slides: https://mkovaxx.net/talks/wrapping-cp...
And read the code here: https://github.com/mkovaxx/mfem-rs
Get in touch!
hi@guild.host