e031: FFI Deep Dive

e031: FFI Deep Dive

00:00

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:

add_in_rust
Strings

concat_strings
free_rust_string

Point

point_translate

union
OpaquePoint

opaque_point_new
opaque_point_translate
opaque_point_free

Links

Rust FFI Omnibus
the repository for the show
RFC #2195

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

Adam Green
Aleksey Pirogov
Alexander Kryvomaz
Alexander Lozada
Alexander Payne
Andrew Dirksen
Andrew Thompson
Anthony Deschamps
Anthony Scotti
Arlen Haftevani
Arlo (Hyena)
Arun Kulshreshtha
Behnam Esfahbod
Benjamin Manns
Benjamin Wasty
Brandon ‘Spanky’ Mills
Brian Casiello
Brian Manning
Brian McCallister
Bryan Stitt
Caryn Finkelman
Cass Costello
Cat Dad
Chap Lovejoy
Charlie Egan
Chip
Chris Palmer
Christoffer Ceutz
Cristian Paul
Dan Ab

Comments

00:00