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

YouTube

Type-Driven API Design in Rust

Strange Loop Conference via YouTube

Overview

Explore the principles of type-driven API design in Rust through this 41-minute conference talk from Strange Loop 2021. Dive into the unique approach required for designing APIs in Rust, a language that combines imperative and functional concepts for safer low-level systems programming. Watch as Will Crichton, a Stanford University CS Ph.D. student, live-codes a simple Rust API, demonstrating how to leverage Rust's type system, particularly traits, to create interfaces that seamlessly integrate with existing code and help catch errors at compile-time. Learn to design without traditional object-oriented concepts like classes and inheritance, and gain insights into composing clean and efficient APIs in Rust. Benefit from Crichton's expertise in cognitive psychology and programming language theory as he shares valuable techniques for creating more robust and user-friendly Rust APIs.

Syllabus

"Type-Driven API Design in Rust" by Will Crichton

Taught by

Strange Loop Conference

Reviews

Start your review of Type-Driven API Design in Rust

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.