Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

One Thousand Ways to Die in Rust FFI

Rust via YouTube

Overview

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.

Syllabus

Introduction
Google X Lab
Outline
Pointers
Type Conversion
Memory Leaks
Copy from C
Starter pointers
External tools
Resources
Tips
Questions

Taught by

Rust

Reviews

Start your review of One Thousand Ways to Die in Rust FFI

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.