YoVDO

All You Need to Know About the Rust FFI - Lecture 2

Offered By: Rust via YouTube

Tags

Rust Courses Memory Management Courses Vectors Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of Rust's Foreign Function Interface (FFI) in this 37-minute conference talk from Rust Hungary. Dive into the complexities of interfacing Rust with other programming languages, covering topics such as ownership, borrowing, and memory management across language boundaries. Learn how to effectively pass vectors, slices, and strings between Rust and external functions. Discover the nuances of working with CStr and CString, and understand the challenges of dealing with asynchronous functions and futures in FFI contexts. Gain practical insights from hands-on experience as the speaker, a Rust engineer, guides you through various FFI scenarios and best practices.

Syllabus

Introduction
What is it about?
Primitives in FFI
Structures
Opaque pointers
Borrowing and ownership
Vectors
Slices
Strings
Corresponding string types
Borrowing with callbacks
Asynchronous functions (including futures)
Summary


Taught by

Rust

Related Courses

Heterogeneous Parallel Programming
University of Illinois at Urbana-Champaign via Coursera
Advanced Operating Systems
Georgia Institute of Technology via Udacity
計算機程式設計 (Computer Programming)
National Taiwan University via Coursera
Introduction to Operating Systems
Georgia Institute of Technology via Udacity
Android Performance
Google via Udacity