~/talk

Keynote: Inside the Mind of a Coccinelle Programmer

links:none on file
slides:none on file

Coccinelle is a user‑scriptable tool that searches 13M lines of kernel C for precise patterns and emits patch‑style fixes; it matches and rewrites code using semantic patches (example: fixes missing parentheses around ! and &&), runs a full-kernel pass in under 30s on an old 8‑core box, and the kernel now cites over 4,500 patches mentioning Coccinelle (3,000+ from others). Real results include devmification (≈170 remaining opportunities) and hundreds of submitted constification and other fixes.

AI-written summary · about

  1. 0:00Intro
  2. 0:52What is Coccinelle
  3. 2:45Example
  4. 4:18Fixing the problem
  5. 4:58Use case
  6. 5:44History
  7. 8:30Graphs
  8. 10:01Current Status
  9. 10:53Impact on Linux Kernel
  10. 12:10Examples of Patches
  11. 13:20Examples of Simple Patches
  12. 14:43Examples of Complex Patches
  13. 18:10Probe and Remove Functions
  14. 22:16Remove Functions
  15. 22:45Search for Opportunities
  16. 24:56My Rule
  17. 27:02Procedural Cases
  18. 28:28Constipation
  19. 29:14Multistep approach
  20. 32:25Lessons learned
  21. 32:43Start simple
  22. 34:15DevEmmafication
  23. 37:28Incremental Development
  24. 40:09Refine the Semantic Patch
  25. 41:00False Positive Example
  26. 41:59Two Rules
  27. 43:27Patterns
  28. 44:46Things to know
  29. 48:51Conclusion
  30. 50:20C Preprocessor
~/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.