New Rustacean

e031: FFI Deep Dive

New Rustacean

Exposing Rust types and functions to C API consumers.

Show Notes

It’s impossible to make the declarations below follow the order I talked through them on the recording without also making them horrible to read, so just use this outline instead:

  1. add_in_rust
  2. Strings
    1. concat_strings
    2. free_rust_string
  3. Point
    1. point_translate
  4. union
  5. OpaquePoint
    1. opaque_point_new
    2. opaque_point_translate
    3. opaque_point_free

Sponsors

Thanks to Parity for sponsoring the show and hiring Rust developers!

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

e030: Can You See Me Now? @ New Rustacean

📆 2019-04-27 06:00 / 00:18:37


New Rustacean

News: Rust 1.33 and 1.34 @ New Rustacean

📆 2019-04-20 21:15 / 00:18:58


New Rustacean

e029: I’m Out to C @ New Rustacean

📆 2019-04-04 06:15 / 00:23:20


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