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

YouTube

The Cost of Zero-Cost Abstractions in Rust

Rust via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the concept of Zero-Cost Abstractions in Rust through this in-depth conference talk. Analyze generated code to determine the actual overhead of abstractions, using a running example to illustrate key points. Dive into intermediate representations, examine for loops, and compare Rust's approach to C. Gain insights into panic handling and understand the reasoning behind using two registers. Learn how to critically evaluate the true cost of seemingly cost-free abstractions in Rust programming.

Syllabus

Intro
Disclaimer
Running Example
Expand
Intermediate Representation
For Loops
Model
Representation
Code
Main Function
C vs Rust
Panic
Why two registers

Taught by

Rust

Reviews

Start your review of The Cost of Zero-Cost Abstractions 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.