YoVDO

Building Languages in Rust

Offered By: Strange Loop Conference via YouTube

Tags

Strange Loop Conference Courses Parsing Courses Code Generation Courses Macros Courses Benchmarking Courses Systems Programming Courses

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

Compilers
Stanford University via Coursera
Build a Modern Computer from First Principles: Nand to Tetris Part II (project-centered course)
Hebrew University of Jerusalem via Coursera
Разработка веб-сервисов на Go - основы языка
Moscow Institute of Physics and Technology via Coursera
Complete Guide to Protocol Buffers 3 [Java, Golang, Python]
Udemy
Angular tooling: Generating code with schematics
Coursera Project Network via Coursera