Hacker ApprovedDepartments

Cython

Hacker Approved

Shares rank 6 of 26 compilers by recommenders

Compiles Python-like code to C for large speedups, with type hints and easy C interop. Critics say it needs a different style and adds a build step.

Compiles Python-like code to C for large speedups, with type hints and easy C interop. Critics say it needs a different style and adds a build step.

29 people gave an opinion

recommend it
22
criticize it
7
approval share
76%
Each figure is one person. RecommendsCriticizes

Recommended in 8 of 13 months

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

Why it carries the badge

  • 22 people recommend itNeeds 10 or more, met.
  • 3.1 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 8 of 13 monthsNeeds 4 or more, 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

  • Large speedup with little effort

    “You write the same language with immense speedup (matching what the "other languages" can achieve at much less effort).”

    Comment from 8 May 2026 in “Mojo 1.0 Beta”

    “you can use Cython and get a performance boost at the same time”

    Comment from 17 Jun 2026 in “Making ast.walk 220x Faster”

    “The speedup was pretty significant.”

    Comment from 22 Mar 2026 in “Node.js worker threads are problematic, but they work great for us”
  • Good for numpy and C extensions

    “Cython and PyBind and Nanobind are good for wrapping an existing library written in C++”

    Comment from 8 May 2026 in “Mojo 1.0 Beta”

    “the only reason to use cython (in my experience) is to write quick numpy extensions”

    Comment from 24 Jul 2026 in “Fil-C: Garbage In, Memory Safety Out – Filip Pizlo – SSW 2026 [video]”

    “have made it incredibly easy to write vectorized code”

    Comment from 15 Sep 2026 on Hacker News
  • Type hints for Python code

    “it's really nice way to get the benefit of type checking in Python”

    Comment from 8 Jun 2026 in “Are you expected to run five Python type-checkers now?”

    “which is a gradually typed variant of Python that compiles to C”

    Comment from 25 Nov 2025 in “APT Rust requirement raises questions”

    “I really like that Cython is using typehints now.”

    Comment from 5 Nov 2025 on Hacker News
  • Easy to start optimizing

    “It really makes it easy to get started in Python and worry about performance of the computation later.”

    Comment from 26 Aug 2026 in “Python's pre-declared constants are kinda weird”

    “I've had very good experiences applying cython to python programs”

    Comment from 6 Nov 2025 in “How often does Python allocate?”

What people warn about

Each mark is one comment

  • Different style and new quirks

    “the development style is very different for Cython and Python, adding a lot of impedance”

    Comment from 27 Oct 2026 in “Python's experimental JIT to be removed”

    “you (and your potential audience) basically need to learn a new language, a lot of quirks”

    Comment from 5 Nov 2025 on Hacker News
  • Messy to use in practice

    “I hope i will never have to use custom cython modules again.”

    Comment from 18 Sep 2026 in “Flet 1.0 – Build cross-platform apps in Python”

    “it is rather a mess to use in practice”

    Comment from 13 Oct 2026 in “11 year old unsoundness bugs found in Rust borrow checker”

Other compilers people recommend

The four most recommended other compilers, 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.

Cython compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
GCC13812353%1215 yrs9 owners—
Clang745060%12——
Free Pascal compiler38784%11—Approved
GraalVM Native Image31978%11—Approved
CythonThis page22776%8—Approved
See all 26 compilers, ranked

What people said

28 of the 33 comments that mention it, newest first. Each links to the original comment.

“Most performance sensitive features are already available in python between numpy, numba and Cython”

RecommendsComment from 27 Oct 2026 in “Python's experimental JIT to be removed”

“you significantly increase your chance to write seg faults that kills the runtime”

CriticizesComment from 27 Oct 2026 in “Python's experimental JIT to be removed”

“all of them are lacking in different ways”

CriticizesComment from 27 Oct 2026 in “Python's experimental JIT to be removed”

“the development style is very different for Cython and Python, adding a lot of impedance”

MixedComment from 27 Oct 2026 in “Python's experimental JIT to be removed”

“It didn't seem too bad to me”

MixedComment from 13 Oct 2026 in “11 year old unsoundness bugs found in Rust borrow checker”

“it is rather a mess to use in practice”

CriticizesComment from 13 Oct 2026 in “11 year old unsoundness bugs found in Rust borrow checker”

“I hope i will never have to use custom cython modules again.”

CriticizesComment from 18 Sep 2026 in “Flet 1.0 – Build cross-platform apps in Python”

“have made it incredibly easy to write vectorized code”

RecommendsComment from 15 Sep 2026 on Hacker News

“It really makes it easy to get started in Python and worry about performance of the computation later.”

RecommendsComment from 26 Aug 2026 in “Python's pre-declared constants are kinda weird”

“then you have to have a build step”

CriticizesComment from 16 Aug 2026 in “Numba in the Browser: Unlocking a New Scientific Python Stack in JupyterLite”

“the only reason to use cython (in my experience) is to write quick numpy extensions”

RecommendsComment from 24 Jul 2026 in “Fil-C: Garbage In, Memory Safety Out – Filip Pizlo – SSW 2026 [video]”

“It uses the CPython ABI to drastically reduce the friction of switching between C & Python.”

RecommendsComment from 15 Jul 2026 in “What Every Python Developer Should Know About the CPython ABI”

“it still can not produce an executable independent from the Python runtime”

MixedComment from 25 Jun 2026 in “Show HN: Nimic – Pure Python as a systems language with AOT compilation”

“Cython is the gold reference standard.”

RecommendsComment from 25 Jun 2026 in “Show HN: Nimic – Pure Python as a systems language with AOT compilation”

“you can use Cython and get a performance boost at the same time”

RecommendsComment from 17 Jun 2026 in “Making ast.walk 220x Faster”

“it's really nice way to get the benefit of type checking in Python”

RecommendsComment from 8 Jun 2026 in “Are you expected to run five Python type-checkers now?”

“You write the same language with immense speedup (matching what the "other languages" can achieve at much less effort).”

RecommendsComment from 8 May 2026 in “Mojo 1.0 Beta”

“Cython and PyBind and Nanobind are good for wrapping an existing library written in C++”

RecommendsComment from 8 May 2026 in “Mojo 1.0 Beta”

“The speedup was pretty significant.”

RecommendsComment from 22 Mar 2026 in “Node.js worker threads are problematic, but they work great for us”

“Cython and all the libs you mention use the c-api, which is the #1 thing python needs to lose”

CriticizesComment from 14 Mar 2026 in “Python: The Optimization Ladder”

“which is a gradually typed variant of Python that compiles to C”

RecommendsComment from 25 Nov 2025 in “APT Rust requirement raises questions”

“Consider rewriting the hot paths to a C extension, or using cython or nim”

RecommendsComment from 21 Nov 2025 in “Performance hacks for faster Python code”

“Yes, this looks easier than Perl's XS”

RecommendsComment from 19 Nov 2025 in “What Killed Perl?”

“I've had very good experiences applying cython to python programs”

RecommendsComment from 6 Nov 2025 in “How often does Python allocate?”

“I really like that Cython is using typehints now.”

RecommendsComment from 5 Nov 2025 on Hacker News

“The benchmarking features are great, interactivity with C libraries is great.”

MixedComment from 5 Nov 2025 on Hacker News

“you (and your potential audience) basically need to learn a new language, a lot of quirks”

CriticizesComment from 5 Nov 2025 on Hacker News

“Cython is a mature option”

RecommendsComment from 5 Nov 2025 on Hacker News

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