Hacker ApprovedDepartments

Coccinelle

Tied for most recommended of 3 code transformation tools

Lets you write C source changes that apply across many kernel versions, with behaviour people find easy to follow. Its documentation is often called hard to understand.

Lets you write C source changes that apply across many kernel versions, with behaviour people find easy to follow. Its documentation is often called hard to understand.

7 people gave an opinion

recommend it
7
criticize it
0
approval share
100%
Each figure is one person. RecommendsCriticizes

Recommended in 3 of 13 months

  1. November 2025: not recommended
  2. December 2025: not recommended
  3. January 2026: not recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 7 people recommend itNeeds 10 or more, not met.
  • Nobody criticizes itNeeds 2 to 1 or better, met.
  • Recommended in 3 of 13 monthsNeeds 4 or more, not met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Valuable AST-based tooling for C

    “between cbmc, frama-c and coccinelle there is hardly another language with comparable tooling”

    Comment from 14 Apr 2026 in “Someone Bought 30 WordPress Plugins and Planted a Backdoor in All of Them”

    “AST-driven tooling is very valuable”

    Comment from 8 Mar 2026 in “Beagle, a source code management system that stores AST trees”
  • Very useful, regarded as the best

    “it’s also very useful to do patches that work universally across kernels no matter how badly modified the sources are”

    Comment from 22 Feb 2026 in “Coccinelle: The Linux kernel's source-to-source transformation tool”

    “definitely the best and the most useful”

    Comment from 21 Feb 2026 in “Coccinelle: The Linux kernel's source-to-source transformation tool”

What people warn about

Each mark is one comment

  • Documentation hard to understand

    “I find its documentation totally incomprehensible for some reason”

    Comment from 21 Feb 2026 in “Coccinelle: The Linux kernel's source-to-source transformation tool”

Other code transformation tools people recommend

The two most recommended other code transformation tools, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Coccinelle compared with 2 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
CoccinelleThis page70100%3——
OpenRewrite7188%3——
go fix7278%2——
See all 3 code transformation tools, ranked

What people said

6 of the 7 comments that mention it, newest first. Each links to the original comment.

“between cbmc, frama-c and coccinelle there is hardly another language with comparable tooling”

RecommendsComment from 14 Apr 2026 in “Someone Bought 30 WordPress Plugins and Planted a Backdoor in All of Them”

“AST-driven tooling is very valuable”

RecommendsComment from 8 Mar 2026 in “Beagle, a source code management system that stores AST trees”

“it’s also very useful to do patches that work universally across kernels no matter how badly modified the sources are”

RecommendsComment from 22 Feb 2026 in “Coccinelle: The Linux kernel's source-to-source transformation tool”

“definitely the best and the most useful”

RecommendsComment from 21 Feb 2026 in “Coccinelle: The Linux kernel's source-to-source transformation tool”

“I find its documentation totally incomprehensible for some reason”

MixedComment from 21 Feb 2026 in “Coccinelle: The Linux kernel's source-to-source transformation tool”

“where I understand exactly what it does, when it does it and why it does it”

RecommendsComment from 21 Feb 2026 in “Coccinelle: The Linux kernel's source-to-source transformation tool”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.