Software Alternatives & Reviews

PyPy VS Cython

Compare PyPy VS Cython and see what are their differences

PyPy logo PyPy

PyPy is a fast, compliant alternative implementation of the Python language (2.7.1).

Cython logo Cython

Cython is a language that makes writing C extensions for the Python language as easy as Python...
PyPy Landing Page
PyPy Landing Page
Cython Landing Page
Cython Landing Page

PyPy details

Categories
Website Builder Website Design CMS
Website pypy.org  

Cython details

Categories
Website Builder Website Design CMS
Website cython.org  

PyPy videos

PyPy - the hero we all deserve. - Amit Ripshtos - PyCon Israel 2019

More videos:

  • Review - Using the PyPy runtime for Python
  • Review - How PyPy runs your program

Cython videos

Stefan Behnel - Get up to speed with Cython 3.0

More videos:

  • Review - Cython: A First Look
  • Review - Simmi Mourya - Scientific computing using Cython: Best of both Worlds!

Category Popularity

0-100% (relative to PyPy and Cython)
30
30%
70%
70
25
25%
75%
75
32
32%
68%
68
100
100%
0%
0

Social recommendations and mentions

Based on our record, Cython seems to be a lot more popular than PyPy. While we know about 42 links to Cython, we've tracked only 4 mentions of PyPy. We are tracking product recommendations and mentions on Reddit, HackerNews and some other platforms. They can help you identify which product is more popular and what people think of it.

PyPy mentions (4)

  • Python 3.12: A Game-Changer in Performance and Efficiency
    If you r looking for performance with almost fully supported C Extensions , pypy.org for you , 20x faster than cpython still. - Source: Reddit / 27 days ago
  • What change should Python 4 bring, in your opinion?
    I think you never heard of PyPy it is drop in replacable python written in Python and It is jit avg 5x faster than Python , 20x faster in some cases. Https://pypy.org. - Source: Reddit / 10 months ago
  • 4x smaller, 50x faster
    Well, pypy is a thing. Of course, your overall point still stands. - Source: Reddit / over 1 year ago
  • Microsoft is hiring, looking to speed up cpython
    Why don't they just sponsor pypy.org ? Its already 4x faster in average , 20x in many cases. We are using in 4 of our projects with one of them 10k active concurrent connections max , and its absolutely amazing. Its a realtime telemedince/chatroom (OnDoctor check in playstore). And we host it on 40$ Digital ocean machine. A lot less memory usage and so much faster. - Source: Reddit / almost 2 years ago

Cython mentions (42)

  • Been using Python for 3 years, never used a Class.
    There are also just-in-time compilers available for some Python features, that compile those parts to machine code. That includes Numba (usable as a library within CPython) and Pypy (an alternative Python implementation that includes a JIT compiler to improve performance). There’s also Cython, which is a superset of Python that allows more directly interfacing with C and C++ functions, and compiling the resulting... - Source: Reddit / 15 days ago
  • Python-based compiler achieves orders-of-magnitude speedups
    That would be things like cython (https://cython.org/) and rpython (https://rpython.readthedocs.io/en/latest/). - Source: Hacker News / 15 days ago
  • My Python Code is importing C functions
    However, you can't run it with just python, since it's not actually plain python code. Instead, you'll need the cython compiler. - Source: Reddit / 28 days ago
  • Starlite development updates January ’23
    As you can see, in this benchmark Starlite handily beats even blakchseep, a notoriously fast ASGI framework written in Cython. - Source: Reddit / 3 months ago
  • Codon: A high-performance Python compiler
    How does this relate to https://cython.org/ ? Would it be possible to write performance-sensitive parts of a Python system in Codon and link that to a CPython or PyPy runtime that supports more dynamic features? - Source: Hacker News / 4 months ago
View more

What are some alternatives?

When comparing PyPy and Cython, you can also consider the following products

PyInstaller - PyInstaller is a program that freezes (packages) Python programs into stand-alone executables...

Numba - Numba gives you the power to speed up your applications with high performance functions written...

cx_Freeze - cx_Freeze is a set of scripts and modules for freezing Python scripts into executables in much the...

nuitka - Nuitka is a Python compiler.

py2exe - A distutils extension to create standalone Windows programs from Python scripts.

bbfreeze - create stand-alone executables from python scripts

User reviews

Share your experience with using PyPy and Cython. For example, how are they different and which one is better?
Log in or Post with