~/talk

Ruby Extension Library Verified using Coq Proof-assistant

Talkat RubyKaigi 2017 · 2017-09-18..09-20· [ruby]
slides:none on file

Generates C from Coq via a custom plugin and produces a working Ruby extension (html_escape) used from Ruby; Coq proofs show functional correctness (fast_power equals naive power) and prove safety properties like verified absence of overflows for inputs within specified bounds. Plugin emits Coq-generated C but the plugin itself is not machine-verified. Implementation includes SSE m128 support and microbenchmarks: the SSE path wins up to ~25% escapable characters and the generated extension runs correctly when loaded.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:48What is Coq proof assistant
  3. 3:20Verifying Ruby extensions with Coq
  4. 8:20Implementing fast power in Coq
  5. 12:30Curry-Howard correspondence
  6. 20:40Verifying HTML escape function
  7. 27:30Using SSE for faster HTML escape
  8. 31:34Generating verified C code
  9. 32:42Benchmarking performance
  10. 34:31Why learn Coq
  11. 38:50Q&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.