Nuitka
| Nuitka | |
|---|---|
| Developers | Kay Hayen and others |
| Stable release | 4.0.5
/ 12 March 2026 |
| Written in | C, Python |
| Available in | English |
| Type | source-to-source compiler |
| License | Apache License 2.0 |
| Website | nuitka |
| Repository | github |
Nuitka (pronounced as /njuːtkʌ/) is a source-to-source compiler which compiles Python code to C source code, applying some compile-time optimizations in the process such as constant folding and propagation, built-in call prediction, type inference, and conditional statement execution. Nuitka initially was designed to produce C++ code, but current versions produce C source code using only those features of C11 that are shared by C++03, enabling further compilation to a binary executable format by modern C and C++ compilers including gcc, clang, MinGW, or Microsoft Visual C++. It accepts Python code compatible with several different Python versions (currently supporting versions 2.6, 2.7, and 3.3–3.13) and optionally allows for the creation of standalone programs that do not require Python to be installed on the target computer.
Nuitka was discussed at the 2012 EuroPython conference, and serious development began at the end of the same year. It now supports virtually all of the features of the Python language. Additional compile-time optimizations are planned for future releases, including avoiding the use of Python objects for additional variables whose type can be inferred at compile time, particularly when using iterators, which is expected to result in a large performance increase.