Back to Browse

Rust Foreign Function Interfaces (Rust for Rustaceans Book Club: Chapter 11)

403 views
Oct 28, 2024
58:42

Join us as we work through the excellent Rust for Rustaceans by Jon Gjengset together. The book is an excellent next step for diving that little bit deeper into understanding Rust. To get the most out of these sessions, reading the chapter before hand is strongly recommended, but not required. This session covered Chapter 11: Foreign Function Interfaces. FFIs are what allow Rust to interface with other languages. In this chapter, we walk through the essential features of Rust that allow us to do this - starting with the 'extern' keyword, and moving onto more subtle considerations such as how allocations are behaving, and the use of callbacks. In addition, the talk highlights strategies for leveraging the Rust type system to ensure that the invariants of the external FFI code are maintained. The presentation will conclude with relevant references to recent advancements and developments in FFI with Rust. Speaker: Useful Links: - The book: https://rust-for-rustaceans.com/ - Jon Gjengset's youtube channel: https://www.youtube.com/@jonhoo - Slides https://github.com/DarthB/rust-for-rustaceans-chapter11 Presenter: Tim Janus Meetup info: This was a recording of a virtual meetup on 2nd October 2024. For information about future events join our meetup group: https://www.meetup.com/rust-and-c-plus-plus-in-cardiff/ You can also find us on discord, drop us a message to be sent the link. Big thank you to Esri for sponsoring our meetup page

Download

0 formats

No download links available.

Rust Foreign Function Interfaces (Rust for Rustaceans Book Club: Chapter 11) | NatokHD