MENU

Fun & Interesting

From Rust to C and Back Again — by Jack O'Connor — Seattle Rust User Group, April 2025

Rust 2,527 7 days ago
Video Not Working? Fix It Now

This talk goes through calling C standard library functions, using the cc crate to build and link our own C code, and using the bindgen crate to generate bindings from a header file. These are advanced topics, but some beginners run into these topics early on, so hopefully this talk is accessible to anyone who knows some Rust and maybe a little bit of C. Slides, Code, etc. • Slides: https://jacko.io/rust_c/slides/ • Code: https://github.com/oconnor663/rust_c/tree/seattle_rust • Longer Version of Talk: https://www.youtube.com/watch?v=LLAUzghhNHg • Website: https://jacko.io/ • YouTube Channel: https://www.youtube.com/@oconnor663 Seattle Rust User Group: • https://www.meetup.com/Seattle-Rust-Meetup/ • https://discord.gg/4pDnjgaEV6

Comment