DiscoverNew Rustaceane031: FFI Deep Dive
e031: FFI Deep Dive

e031: FFI Deep Dive

Update: 2019-05-14
Share

Description

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



Links



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


Comments 
loading
00:00
00:00
1.0x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

e031: FFI Deep Dive

e031: FFI Deep Dive