~/talk

Why you'd be better off using QuickCheck when porting to Rust

Talkat RustFest 2016 · 2016-09-17..09-18· [rust, testing]
slides:none on file

A Rust port of Musashi called r68k uses QuickCheck to prove instruction‑level equivalence to the C emulator by generating random initial states and observing concrete counterexamples, running 1,600 QuickCheck tests that find behavioral mismatches, producing 16 PRs against Musashi and requiring 3h45m single‑thread runs; the effort verifies instruction behavior, exposes macro madness and an O(n²) compiler bug, and forces Cargo testing workarounds for a single‑threaded C library.

AI-written summary · about

  1. 0:00Introduction to quick check
  2. 4:46How quick check works
  3. 7:25Addressing criticisms
  4. 11:54Case study: CPU emulation
  5. 18:17Designing effective properties
  6. 23:00Real world usage 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.