cython
« Back to VersTracker
Description:
Compiler for writing C extensions for the Python language
Type: Formula  |  Latest Version: 3.2.3@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: python compiler c-extensions performance cython
Install: brew install cython
About:
Cython is a static compiler for the Python programming language that generates C or C++ code. It enables developers to write C extensions for Python with C-like performance while maintaining Python-like syntax. This significantly speeds up Python code execution and allows seamless interaction with external C libraries.
Key Features:
  • Generates optimized C/C++ code from Python-like syntax
  • Optional static typing for major performance gains
  • Seamless interoperability with existing C/C++ libraries
  • Supports the full CPython API
Use Cases:
  • Performance optimization of computationally intensive Python code
  • Creating Python bindings for C/C++ libraries
  • Bypassing the Global Interpreter Lock (GIL) for parallel processing
Alternatives:
  • mypyc – Part of mypy; compiles Python to C but focuses on type-annotated code rather than C interop
  • Numba – JIT compiler for numerical functions; easier for array operations but less flexible for general C integration
License: Apache-2.0
Dependencies: python@3.14
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Nov 12, 2025 8:42pm 0 VERSION_BUMP 72908c9f
Oct 20, 2025 7:56am 0 VERSION_BUMP f5a6aa54
Oct 14, 2025 5:02pm 1 VERSION_BUMP 09a7efcc
Sep 16, 2025 8:33am 0 VERSION_BUMP b88c7ca8
Sep 10, 2025 10:36pm 0 VERSION_BUMP b7ccbe0c
Oct 12, 2024 9:38pm 0 VERSION_BUMP 24fef034
Oct 12, 2024 3:10pm 0 VERSION_BUMP bd42e815