~/talk

Performant, Readable and Interoperable Rust from Dafny

Talkat Dafny 2025 · on Sunday, 2025-01-19· [rust]
links:none on file
links:none on file
links:none on file
slides:none on file

A Dafny-to-Rust compiler that emits largely readable Rust code, uses a postprocessing pass to reuse local names and factor absolute paths into imports, and proves its identifier encoding injective as part of CI (injective mapping lemma in CI). Memory model uses nullable raw pointers, RC + RefCell semantics lowered to unsafe wrappers and zero-cost Option encodings, with mutable reference counting for the encryption SDK. Published mid‑July, it shows 9 of 10 benchmarks ≤22% slower with 2 matches to native while yielding 20% code reduction in the encryption SDK.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Compile Dafny to Rust
  3. 3:13Readability of identifiers
  4. 5:42Simplify module paths
  5. 7:07References without GC
  6. 10:39Inheritance and coercion
  7. 11:40Initialization tracking
  8. 13:29Extern and extend methods
  9. 14:36Performance and readability
  10. 15:21Q&A
~/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.