New Rustacean

e029: I’m Out to C

New Rustacean

Using Rust’s Foreign Function Interface (FFI) with C!

Show Notes

The 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:

Sponsors

Thanks to Manning for sponsoring the show and giving all of you a 40%-off discount on their whole store (but especially Carol Nichols’ and Jake Goulding’s Rust in Motion video content and the Rust in Action MEAP!) at deals.manning.com/new-rustacean

Patreon Sponsors

(Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!)

Become a sponsor

Contact

Next Episodes

New Rustacean

Bonus 14: How the Sausage Gets Made @ New Rustacean

📆 2019-03-24 03:50 / 00:19:22


New Rustacean

Bonus 13: I Still Make Silly Mistakes @ New Rustacean

📆 2019-02-28 15:20 / 00:12:13


New Rustacean

e028: Meet My Associates @ New Rustacean

📆 2019-02-22 05:30 / 00:23:07


New Rustacean

News: Rust 1.32 @ New Rustacean

📆 2019-01-23 04:20 / 00:18:03


New Rustacean

News: Rust 1.31 and the 2018 Edition, Part II @ New Rustacean

📆 2019-01-14 23:01 / 00:22:42