Why Sage Developers Forked Pyrex in 2007
Cython was forked from Pyrex in 2007 by developers of the Sage computer algebra package (initially as SageX). They sought a broader scope, higher compatibility with Python, and better integration with scientific libraries like NumPy, which Pyrex's maintainer, Greg Ewing, did not align with.
The top 3
- Pyrex Maintainer's Limited Vision: The primary reason for the fork was Pyrex maintainer Greg Ewing's narrower vision for the language, which led to Sage developers' proposed patches and broader scope for the tool being rejected.
- Cython's Superior Optimizations & Python Compatibility: Sage developers sought to overcome Pyrex's technical limitations by pursuing higher compatibility with Python code and semantics, superior optimizations, and better integration with scientific Python extensions like NumPy.
- Sage Project's Performance Demands: The Sage computer algebra system required significantly faster code execution, sometimes orders of magnitude (100-1000 times) quicker than pure Python, and more direct, easier interfacing with C and C++ libraries, which Pyrex did not sufficiently provide.
Sources
Open the full topic