~/talk

A Verified Pipeline from a Specification Language to Optimized, Safe Rust

Talkat CoqPL 2022 · on Saturday, 2022-01-22· [rust, compilers-and-language-design]
links:none on file
slides:none on file

A verified pipeline converts hacspec executable specs to optimized, safe Rust by adding a Coq backend for hacspec, synthesizing low-level code with Fiat Cryptography, embedding and proving code in bedrock2 using separation logic for memory safety and functional correctness, then printing to Rust. Applied to BLS12-381 curves, the end-to-end artifacts are about 5.5k LOC and currently run ~80% slower than unverified Rust equivalents; proofs succeed, printing verification remains future work.

AI-written summary · about

  1. 0:00Start
  2. 6:12Overview
  3. 7:00Case Study. The BLS12 381 Curves
  4. 11:08Verified Printing to Rust
  5. 13:02Metrics and Conclusion
~/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.