DiscoverChaos Computer Club - Rustfest 2018 Rome (mp3)One Thousand Ways to Die in Rust FFI (rustfest18rome)
One Thousand Ways to Die in Rust FFI (rustfest18rome)

One Thousand Ways to Die in Rust FFI (rustfest18rome)

Update: 2018-11-23
Share

Description

Efficient FFI bindings are one of the core features of Rust; however dereferencing raw pointers, conversion between Rust and C types, memory allocation, ..., all could possibly go wrong in FFI code and undermine the memory safety guarantee of Rust. The Rustonomicon and a few previous talks at RustFest discuss the topic of Rust FFI; but overlook the challenges in writing correct and safe FFI code. In this talk, we discuss a taxonomy of common pitfalls in Rust FFI with real-world examples. Moreover, we will review relevant principles and share our approach to effectively avoid the pitfalls.

about this event: https://c3voc.de
Comments 
00:00
00:00
x

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

One Thousand Ways to Die in Rust FFI (rustfest18rome)

One Thousand Ways to Die in Rust FFI (rustfest18rome)

Yiming Jing