~/talk

All aboard the Rust (electric freight) train!

Talkat RustConf 2022 · on Friday, 2022-08-05· [rust]
github:jswang
slides:none on file

Parallel Systems builds a full electric freight vehicle stack in Rust: firmware, control state machines, simulation, PTC networking and perception, and it runs. Macros generate state-machine code and diagrams; the simulation uses enum dispatch for a 10x improvement in iteration time; PTC parsing encodes 100 PTC message types with ~10k LOC of structs and ~5.5k LOC generated; DeepStream/CUDA bindings use bindgen + Drop for safety to wrap C APIs. Results: working vehicles and fast sims, with tradeoffs of opaque macros, tricky callbacks, and onboarding cost.

AI-written summary · about

  1. 0:00Intro
  2. 1:17System Architecture
  3. 2:35Vehicle Software
  4. 3:25State Machines 101
  5. 8:19State Machines in Rust: Summary
  6. 11:15Vehicle Simulation Model
  7. 12:33Conductor Nodes
  8. 17:04Rust in Simulation: Summary
  9. 20:03Positive Train Control with Rust macros
  10. 21:33Code Breakdown
  11. 22:08Positive Train Control: Summary
  12. 23:59Perception Framework
  13. 25:33Crabification Architecture
  14. 29:29User Application
~/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.