Using Rust\u2019s Foreign Function Interface (FFI) with C!
\nShow Notes\nThe code samples here directly match the things I described in the show, so you will likely want to look at add
and ffi::add
, then Point
, translate
, and ffi::translate
in that order.
Other helpful Rust FFI discussions:
\nThanks to Manning for sponsoring the show and giving all of you a 40%-off discount on their whole store (but especially Carol Nichols\u2019 and Jake Goulding\u2019s Rust in Motion video content and the Rust in Action MEAP!) at deals.manning.com/new-rustacean
\nPatreon Sponsors\n(Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!)
\nBecome a sponsor\n\nContact\n