~/talk

Does Rust SPARK Joy? Safe Bindings from Rust to SPARK, Applied to the BBQueue Li...

Talkat FTSCS 2023 · on Sunday, 2023-10-22· [embedded-and-hardware, rust]
links:none on file
links:none on file
slides:none on file

Implements safe Rust→SPARK bindings for a real BBQueue circular buffer, proving the approach works after iterative fixes and testing. Mirrors Rust types as explicit C structs, uses the C ABI layout, abandons Rust ownership across the boundary, and enforces correctness with a memory checker called valra. Reimplements the queue core in SPARK with atomic lock-free counters, documents the exact pointer layouts and compiler flags required, and reports all tests passing with no memory-safety violations.

AI-written summary · about

  1. 0:00Rust and SPARK intro
  2. 1:46FFI challenges and risks
  3. 3:11Rust and SPARK ownership
  4. 8:13BBQueue case study
  5. 12:33Data types across boundaries
  6. 17:14FFI memory safety
  7. 20:25Feasibility and automation
  8. 22:57Q&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.