Brussels / 3 & 4 February 2018

schedule

Reaching const evaluation singularity

An introduction into miri and Rust's const evaluation


The Rust interpreter miri has been merged into rustc to be its new const evaluator. This merge not only fixed various bugs in the old const evaluator, it opened up the avenue for many new features. Ever wanted to do a for loop in a constant? Want to parse a toml file into a static Config struct and report parsing errors as compile-time errors? Well, now you can do all that (pending RFCs for the details). In this talk I will present miri's design, its usage in the compile-time evaluator as well as future features that are enabled by it

Speakers

Photo of Oliver Schneider Oliver Schneider

Attachments

Links