Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the challenges and pitfalls of Rust FFI in this 31-minute conference talk from RustFest Rome 2018. Delve into the complexities of efficient FFI bindings, a core feature of Rust, and learn about the potential risks to memory safety when working with raw pointers, type conversions, and memory allocation. Discover a taxonomy of common FFI pitfalls illustrated with real-world examples. Gain insights into relevant principles and effective approaches for writing correct and safe FFI code. Topics covered include pointers, type conversion, memory leaks, copying from C, starter pointers, and external tools. Benefit from valuable resources and tips to enhance your Rust FFI development skills.