Primary Photo for Mate Kovacs

Wrapping C++ (MFEM) in Rust

Presentation byMate Kovacs

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

Similar Presentations
Cover Photo for Building Embedded Systems With Rust

Building Embedded Systems With Rust

What do Rust, C, and C++ all have in common besides curly braces? Why do we say that "Rust is a systems programming language"? How is firmware made, and what the heck is it anyway?

Brian Schwind (Engineer at tonari) talks about how he built his own keyboard and developed the firmware in Rust. Watch to learn about the world of embedded programming that's hiding in plain sight everywhere around us, and how Rust can help you tap into it!

Brian Schwind
Primary Photo for Mate Kovacs

Wrapping C++ (MFEM) in Rust

Presentation byMate Kovacs

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

Similar Presentations
Cover Photo for Building Embedded Systems With Rust

Building Embedded Systems With Rust

What do Rust, C, and C++ all have in common besides curly braces? Why do we say that "Rust is a systems programming language"? How is firmware made, and what the heck is it anyway?

Brian Schwind (Engineer at tonari) talks about how he built his own keyboard and developed the firmware in Rust. Watch to learn about the world of embedded programming that's hiding in plain sight everywhere around us, and how Rust can help you tap into it!

Brian Schwind

Get in touch!

hi@guild.host