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

YouTube

Building Languages in Rust

Strange Loop Conference via YouTube

Overview

Explore the potential of Rust for language development in this 36-minute conference talk from Strange Loop. Dive into the process of building a compiler for a small, garbage-collected Scheme-like language entirely in Rust. Discover the advantages and challenges of using Rust for language implementation, comparing it to traditional C-based approaches. Learn about parsing techniques, macro writing, code generation, and tail call optimization. Examine benchmarks that compare the performance of the Rust-based garbage collector and runtime with similar well-known languages written in C. Gain insights into the lessons learned from this innovative approach to compiler construction, and understand how Rust's expressive power and safety features can benefit language implementors.

Syllabus

Overview
Rust
Parsing a string
Parsing Symbols
Writing A Macro
Example
Code Generation
Tail Calls
Benchmarks
Lessons learned

Taught by

Strange Loop Conference

Reviews

Start your review of Building Languages 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.