# Cython

Hacker Approved page: https://hackerapproved.com/p/cython/

15 people recommended Cython in Hacker News comments, 4 had mixed feelings and 7 criticized it, November 2025 to October 2026. It was recommended in 7 of 12 months, in 14 threads. It meets the Hacker Approved badge rule.

**Verdict:** 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.

Summary written by Claude from 28 comments. It was written before the November 2026 recount, and 26 of those comments still count.

## Why people recommend it

- Large speedup with little effort (3 comments in the sample): "You write the same language with immense speedup (matching what the "other languages" can achieve at much less effort" ([source](https://news.ycombinator.com/item?id=48069219)) "you can use Cython and get a performance boost at the same time" ([source](https://news.ycombinator.com/item?id=48567625)) "The speedup was pretty significant." ([source](https://news.ycombinator.com/item?id=47480963))
- Good for numpy and C extensions (3 comments in the sample): "Cython and PyBind and Nanobind are good for wrapping an existing library written in C++" ([source](https://news.ycombinator.com/item?id=48068080)) "the only reason to use cython (in my experience) is to write quick numpy extensions" ([source](https://news.ycombinator.com/item?id=49041119)) "have made it incredibly easy to write vectorized code" ([source](https://news.ycombinator.com/item?id=49707951))
- Type hints for Python code (3 comments in the sample): "it's really nice way to get the benefit of type checking in Python" ([source](https://news.ycombinator.com/item?id=48447383)) "which is a gradually typed variant of Python that compiles to C" ([source](https://news.ycombinator.com/item?id=46048729)) "I really like that Cython is using typehints now." ([source](https://news.ycombinator.com/item?id=45824553))
- Easy to start optimizing (2 comments in the sample): "It really makes it easy to get started in Python and worry about performance of the computation later." ([source](https://news.ycombinator.com/item?id=49442872)) "I've had very good experiences applying cython to python programs" ([source](https://news.ycombinator.com/item?id=45840259))

## What people warn about

- Different style and new quirks (2 comments in the sample): "the development style is very different for Cython and Python, adding a lot of impedance" ([source](https://news.ycombinator.com/item?id=50259144)) "you (and your potential audience) basically need to learn a new language, a lot of quirks" ([source](https://news.ycombinator.com/item?id=45821412))
- Messy to use in practice (2 comments in the sample): "I hope i will never have to use custom cython modules again." ([source](https://news.ycombinator.com/item?id=49749088)) "it is rather a mess to use in practice" ([source](https://news.ycombinator.com/item?id=50073339))

## Other compilers people recommend

- [GCC](https://hackerapproved.com/p/gcc/): 90 recommend, 37 mixed, 106 criticize
- [Clang](https://hackerapproved.com/p/clang/): 54 recommend, 14 mixed, 43 criticize
- [Free Pascal compiler](https://hackerapproved.com/p/free-pascal/): 30 recommend, 6 mixed, 7 criticize
- [GraalVM Native Image](https://hackerapproved.com/p/graalvm-native-image/): 16 recommend, 11 mixed, 8 criticize

## The badge

A product earns the Hacker Approved badge when at least 10 people recommend it, recommenders outnumber critics at least 2 to 1 (mixed feelings count toward neither side), it was recommended in at least 4 of the 12 months and in at least 5 different threads, and no single thread supplies more than half of the people who recommend it. Health and money products are never badged.

## Cite as

Hacker Approved, "Cython", https://hackerapproved.com/p/cython/ (15 recommend, 4 mixed, 7 criticize; Hacker News comments, November 2025 to October 2026).

Counts updated 2 Nov 2026, with data through October 31, 2026.
