Skip to content

Comment on Lets Talk About Something Diabolical: A PyPy Intro (David Beazley PyCon keynote)parent

Comments

Cython is both differently defined and serves a different purpose. First of all, RPython is runnable, Cython is not. RPython has type inference, but more importantly, because it works from live objects, it has Python as a metaprogramming language. It's also much easier to extend than Cython.

Purpose wise cython is for optimizing pieces of code, rpython is for writing interpreters. RPython is quite faster than Cython, but it's also much more restricted, making it a bit unusable for the purpose of "just" speeding up pieces of code (you can't have PyObject equivalents).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.