Layered Configuration and Safe Hot Reload in Rust
Lightningat RustConf 2026 · on Wednesday, 2026-09-09· at 17:10· Room 511 | Palais des Congrès de Montréal, Palais des Congrès de Montréal·
summary
Claims a compilerlike configuration pipeline that raises confidence for hot reload by doing parsing, structural and semantic validation, then lowering into the exact runtime shape so reloads don’t panic. Implements the pipeline with Rust idioms: arc-swap for swapping, TryFrom conversions, derive macros to auto-generate a validation tree, and annotate-snippets for compiler-grade diagnostics. The author abandoned Serde and built a bespoke toolkit that generates templates, an LSP server, and working diagnostics, reducing but not eliminating boilerplate.
AI-written summary · about
related talks
25m"Compiler-Driven Development: Making Rust Work for You"
40mRust’s approach of getting things right
28mC2Rust: Migrating Legacy Code to Rust
58m(Almost) Everything You Should Know About The Compiler Frontend
20mHayroll: A Modular Wrapper for Translating C Macros and Conditional Compilation to Rust
32mBuilding and Maintaining Rust at Scale
38mStrategies to speed up build iteration, or dynamic hot reloading
01h 08mFireside chat
