Skip to content
0:00 / 0:00

#rocket#rust#macros

RustConf 2017 - Building Rocket by Sergio Benitez

Rust Programming Language

70K subscribers • 72 videos on Hallway • Conference channel

YouTube
  • Recommended by 3 people: 2 in engineering communities and 1 curated list.
  • Presented by Sergio Benitez, creator of Rocket
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

11K views9 years ago3 recommendations

Web developmentProgramming languagesRustLanguage design and type systemsAPI design

Sergio Benitez explains how the Rocket web framework uses Rust's code generation and macro facilities to deliver simplicity and performance.

Building Rocket by Sergio Benitez Rocket is a web framework for Rust that delivers simplicity, reliability, and performance -- a rare combination. Rocket's ability to deliver in all three areas is largely enabled by Rust's code generation facilities. Based on developer input, Rocket generates code that eliminates boilerplate and leads to more robust, secure, and predictable web applications. This talk dissects Rocket and its code generation by describing how Rocket is built. Special attention is placed on elucidating Rocket's use of present and future code generation facilities in Rust.

Why it's here

3 people recommend this

What people say. Recommended for understanding how Rocket's macros work under the hood and what code they generate.

Moments people linked to

programming-talkscurated list on GitHubRecommends

Under “Rust”

Building Rocket 00:33:15 by **Sergio Benitez** (2017)

u/HenryZimmermanin r/rust • Recommends

On “Rocket: what's with the boilerplate?”

Sergio (the author of Rocket) has a talk where he touches on exactly what the macros generate: link to this video
3View on Reddit

u/Torcheristin r/rust • Recommends

On “My second impression of Rust and why I think it's the best general-purpose language!”

Rust Conference talk by Sergio on Rocket.rs link to this video
3View on Reddit