~/talk

MiniRust: A core language for specifying Rust

Talkat RustWeek 2025 · 2025-05-13..05-17· [rust, compilers-and-language-design]
slides:none on file

MiniRust is a precise, operational core language plus an executable interpreter (Specker) that lowers Rust and answers whether a program has UB by running the spec. Memory models allocations as lists of initialized/uninitialized bytes, values are encoded/decoded to bytes and encode/decode returning None signals invalid representation ⇒ UB. It models provenance and tree‑borrows, uses a nondeterministic pick for choices, already runs many Rust features, and the demo concretely flags the earlier surprising UB.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Integer assertion failure
  3. 6:43Rust and C specs challenges
  4. 8:05Desired Rust spec properties
  5. 10:12MiniRust core language
  6. 12:38MiniRust syntax and semantics
  7. 16:07Operational semantics design
  8. 17:50MiniRust memory model
  9. 19:55Types and values in memory
  10. 21:40Uninitialized bytes decoding
  11. 23:48Demo: interpreter detects UB
  12. 24:49Translating Rust to MiniRust
  13. 25:31Bool and invalid representations
  14. 26:55Padding in type representations
  15. 28:41MiniRust status and contributors
  16. 29:24Future of MiniRust spec
  17. 30:08Q&A: threads and nondeterminism
  18. 32:55Q&A: provenance and aliasing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.