Building Languages in Rust
Offered By: Strange Loop Conference via YouTube
Course Description
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
Tags
Related Courses
CompilersStanford University via Coursera Compilers
Stanford University via edX Introduction to NLP and Syntactic Processing
Packt via Coursera Data Manipulation in Alteryx
DataCamp Advanced Software Construction in Java
Massachusetts Institute of Technology via edX