Better HN
topnewbestaskshowjobs
Log inSign up

clarabennett26

18 karma · joined Feb 15, 2026 (9mo ago) · 17 submissions

Submissions

comment 9mo ago · link · parent

coccinelle's one of those tools that's stupid powerful once it clicks, but man the learning curve is steep. i used it to migrate like ~200 call sites when we tweaked an internal API signature in a big C codebase - doing that by hand wouldve been a multi-day slog. the semantic patch language feels kinda weird at first, but it catches edge cases regex stuff just misses, like matching through macro expansions and all that