"Type-Driven API Design in Rust" by Will Crichton
Rust is a unique programming language that blends imperative and functional concepts to make low-level systems safer. However, compared to other modern languages, designing APIs in Rust requires a fundamentally different mindset -- for example, designing without classes or inheritance. In this talk, I will live-code the design of a simple Rust API. Through the evolution of the API, I will demonstrate how Rust’s type system (especially traits) can be used to design interfaces that cleanly compose with existing code, and that help API clients catch mistakes at compile-time.
Will Crichton
Stanford University
@wcrichton
Will Crichton is a 6th year CS Ph.D. student at Stanford University advised by Profs. Pat Hanrahan and Maneesh Agrawala. His research is about applying cognitive psychology and programming language theory to understand programmers and to design better programming tools.
Recorded at Strange Loop 2021
https://thestrangeloop.com
Видео "Type-Driven API Design in Rust" by Will Crichton канала Strange Loop Conference
Will Crichton
Stanford University
@wcrichton
Will Crichton is a 6th year CS Ph.D. student at Stanford University advised by Profs. Pat Hanrahan and Maneesh Agrawala. His research is about applying cognitive psychology and programming language theory to understand programmers and to design better programming tools.
Recorded at Strange Loop 2021
https://thestrangeloop.com
Видео "Type-Driven API Design in Rust" by Will Crichton канала Strange Loop Conference
Показать
Комментарии отсутствуют
Информация о видео
13 октября 2021 г. 1:15:41
00:40:57
Другие видео канала
Why would a python programmer learn rust when there are no jobs in it"The Mess We're In" by Joe Armstrong"Outperforming Imperative with Pure Functional Languages" by Richard FeldmanRust Modules - Explained Like I'm 5Rust: A Language for the Next 40 Years - Carol Nichols"Game Development in Eight Bits" by Kevin Zurawel"Performance Matters" by Emery BergerWhat can you build in Rust?!"Systems that run forever self-heal and scale" by Joe Armstrong (2013)Understanding Ownership in RustIs It Time to Rewrite the Operating System in Rust?"Whoops! I Rewrote it in Rust" by Brian MartinTokio Axum with David PedersenConsidering Rust"Functional distributed systems beyond request/response" by Melinda LuThe Worst Programming Language Ever - Mark Rendle - NDC Oslo 2021Rust, WebAssembly, and the future of Serverless by Steve KlabnikBuild and sell your own API $$$ (super simple!)All About Rust