~/talk

Coccinelle for Rust

Talkat Linux Plumbers Conference 2023 · 2023-11-13..11-15· [rust]
links:none on file
slides:none on file

Coccinelle for Rust implements a semantic-patch engine that uses Rust Analyzer for parsing and type inference and relies on rustfmt for output, matching patterns across crates and rewriting code. It automates many real changes: it updates 200+ call sites in one rule, reproduced 13 commits affecting up to 94 files, and removes 69 pub modifiers across nine files. Current limitations include handling trailing commas, disjunctions, some use-declaration variations, and complex local-variable flows; pretty-printing and config-sensitive conditional code remain work-in-progress.

AI-written summary · about

  1. 0:00Introduction to Coccinelle
  2. 1:05Semantic patches concept
  3. 7:51Implementation details
  4. 11:27Testing with Stratis project
  5. 20:37Conclusion and future work
~/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.