"Code Generating a Safer Web with Rocket" by Sergio Benitez

Web frameworks are laden with compromise. Do I choose the simplicity and ease of a dynamically typed language, or the safety, security, and performance of a compiled, statically typed language? Do I choose a framework that's made every decision for me or one that's made few? Rocket is a new web framework for the Rust language that aims to eliminate these compromises. Rocket builds on Rust's strong type system and code generation facilities to provide a new level of simplicity, safety, security, expressiveness, and performance. With Rocket, developers only write what's unique — never boilerplate — and instruct Rocket to code generate the rest. Code generated by Rocket automatically parses, validates, and deserializes incoming request data and metadata. There is no runtime introspection and no runtime errors; it all happens at compile-time. Rocket's code generation enables it to protect against input validation hazards that other frameworks consider not-their-problem. In Rocket, request handlers are protected by a set of types, known as request guards, that represent security and data validation policies. Rocket only dispatches requests to a handler when all of its guards pass. In other words, Rocket guarantees that handlers only execute under validated security and data policies. This talk will describe Rocket and its approach to request handling, focusing on the use of code generation to deliver a superior developer experience and strong security guarantees. Sergio Benitez Sergio is a third-year PhD student at Stanford. His research focuses on converging programming language theory with operating systems and security. His recent work introduced Rusty Types, a formal typing discipline based on the Rust programming language. Before Stanford, Sergio spent time interning at Google, Apple, and SpaceX where he worked on projects ranging from designing anomaly detection algorithms to tuning the performance of operating systems running on rockets and other spacecraft.

"Rusty Runtimes: Building Languages In Rust" by Aditya Siram
▶︎

"Rusty Runtimes: Building Languages In Rust" by Aditya Siram

"Type-Driven API Design in Rust" by Will Crichton
▶︎

"Type-Driven API Design in Rust" by Will Crichton

"Stop Rate Limiting! Capacity Management Done Right" by Jon Moore
▶︎

"Stop Rate Limiting! Capacity Management Done Right" by Jon Moore

"A (Not So Gentle) Introduction To Systems Programming In ATS" by Aditya Siram
▶︎

"A (Not So Gentle) Introduction To Systems Programming In ATS" by Aditya Siram

"Predictive Load-Balancing: Unfair but Faster & more Robust" by Steve Gury
▶︎

"Predictive Load-Balancing: Unfair but Faster & more Robust" by Steve Gury

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker
▶︎

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains
▶︎

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

"Supporting Data Journalism through Compilers for Visual Inputs" by Parker Ziegler
▶︎

"Supporting Data Journalism through Compilers for Visual Inputs" by Parker Ziegler

Something is jamming GPS over Europe. Here's what we found
▶︎

Something is jamming GPS over Europe. Here's what we found

Co-Creator of Haskell: Why Learn Functional Programming, Useless vs Useful Languages | Simon Jones
▶︎

Co-Creator of Haskell: Why Learn Functional Programming, Useless vs Useful Languages | Simon Jones

What do tech pioneers think about the AI revolution? - The Engineers, BBC World Service
▶︎

What do tech pioneers think about the AI revolution? - The Engineers, BBC World Service

"Using data-driven metrics to anticipate and prevent security incidents" by Caitlin Buckshaw
▶︎

"Using data-driven metrics to anticipate and prevent security incidents" by Caitlin Buckshaw

The History of Rust
▶︎

The History of Rust

C# Tutorial For Beginners - Learn C# Basics in 1 Hour
▶︎

C# Tutorial For Beginners - Learn C# Basics in 1 Hour

An introduction to structs, traits, and zero-cost abstractions by Tim McLean - Rust KW Meetup
▶︎

An introduction to structs, traits, and zero-cost abstractions by Tim McLean - Rust KW Meetup

Andrej Karpathy: From Vibe Coding to Agentic Engineering w/ Stephanie Zhan
▶︎

Andrej Karpathy: From Vibe Coding to Agentic Engineering w/ Stephanie Zhan

"The Lux Programming Language" by Eduardo Julian
▶︎

"The Lux Programming Language" by Eduardo Julian

Tim Cameron Ryan - Sensors, Servos, and Signals with Rust
▶︎

Tim Cameron Ryan - Sensors, Servos, and Signals with Rust

"Datafun: a functional query language" by Michael Arntzenius
▶︎

"Datafun: a functional query language" by Michael Arntzenius

"Clean" Code, Horrible Performance
▶︎

"Clean" Code, Horrible Performance