~/talk

C2Rust: Migrating Legacy Code to Rust

Talkat RustConf 2018 · on Friday, 2018-08-17· [rust, open-source]
slides:none on file

Three open source tools: a transpiler that uses clang and compile_commands.json to emit structurally equivalent but unsafe Rust (lots of wrapping_add pointer ops and malloc style allocs), a dynamic analysis runtime that runs C and Rust side‑by‑side via an MBE or log‑based cross‑check intercepting syscalls to compare arguments and returns, and a nascent refactoring tool that turns idioms like counted while loops into range for loops; demos and code live at c2rust.com and github.com/immunant/c2rust.

AI-written summary · about

  1. 0:00Intro
  2. 0:36Legal Disclaimer
  3. 1:06Introduction
  4. 1:36Team
  5. 2:07Why C2Rust
  6. 2:51Why Rust
  7. 4:29The Flow
  8. 6:15Goals
  9. 7:29C2Rust
  10. 10:41Invoke the compiler
  11. 13:19Limitations
  12. 15:04Web Demo
  13. 15:43Docker Vagrant
  14. 16:36Build Translator
  15. 17:05Transpiler
  16. 17:57Rust Output
  17. 19:17CrossCheck Tool
  18. 19:35CrossCheck Example
  19. 20:17CrossCheck Options
  20. 22:18Crosschecking
  21. 23:05Logbased Crosschecking
  22. 24:25Pie in the Sky
  23. 27:09Work with us
  24. 27:32Github
~/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.