You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like us to make progress in some of these areas in 2026 and into 2027. Feel free to propose more areas!
Python feature support
Add support for missing Python features. At least these are important:
Real support for generator expressions
Nested classes
Descriptors
Robustness and safety
Major focus on fixing bugs, focusing on deviations from CPython semantics, including crashes.
Fix type and memory safety issues.
Examples include generally fixing open bugs, safer # type: ignore comments, and remaining unwanted thread safety issues related to free threading.
Peak performance
Support unsigned native integer types like u64.
Support fast direct access to native integer/float buffers via new librt features (beyond vec types to avoid copying).
Support direct C calls into C extensions built separately (also non-mypyc C extensions).
Support value/record/struct types.
Usability
Improve usability. This includes improvements to the command line interface, and error handling and messages.
Performance bottlenecks
Address some of the worst performance bottlenecks in generated code. Focus particularly on cases where performance is worse than CPython, and cases where we generate inefficient code for common use cases.
Compilation speed
Improve compilation speed through incremental compilation, parallel compilation, etc.
Build system integration
Document how to integrate mypyc into build systems, and improve features that support build system integration.
Reacted by Xuanda Yang, Bruno Cabral, Yi, Thorsten Sommer, Vini Patel, Jingchen Ye, buster-blue, OlegAlexander, Konstantin Lopuhin, Andrea Vouk and 8 more
Reacted by Xuanda Yang, Bruno Cabral, OlegAlexander, JotaRata, Jahongir Qurbonov, BobTheBuidler, AmirSoroush, Agriya Khetarpal and Kevin Kannammalil
Currently loop/list/integer heavy code can be quite slow relative to lower-level languages. We are faster than CPython, but major performance improvements seem possible here.
Promising improvements include fixed-width integers, packed arrays, and the removal of redundant reference count ops and runtime type checks.
This could also help with compilation speed, since mypyc itself contains a lot of code that currently isn't very efficient (e.g. data flow analysis). If we can speed up compilation, there's more room to implement additional optimizations.
Updated for 2024 goals. The main new goal is no-gil support (#1038) -- this seems higher priority than multiple subinterpreters, though both are promising.
Reacted by JotaRata, Guy Wilson , ap, Ben Samuel, Asuka Minato and Agriya Khetarpal
Updated for 2025 goals. They are mostly similar to what we had before, but I made some minor changes. I'm hoping that we'll make good progress this year!
Reacted by Liam DeVoe, Asuka Minato, Jahongir Qurbonov and Agriya Khetarpal
Updated for remaining 2026 goals and initial 2027 goals. We've reached some goals so those were removed, and I'm hoping that we'll make process in multiple goals in the next year!
Reacted by Ivan Levkivskyi, Michael R. Crusoe, cloudishBenne, Kevin Kannammalil and Jahongir Qurbonov
Activity
[-][RFC] Development focus areas for 2021[/-][+]Development focus areas for 2021[/+]JukkaL commentedon Jun 8, 2021
Focus area update
Currently loop/list/integer heavy code can be quite slow relative to lower-level languages. We are faster than CPython, but major performance improvements seem possible here.
Promising improvements include fixed-width integers, packed arrays, and the removal of redundant reference count ops and runtime type checks.
This could also help with compilation speed, since mypyc itself contains a lot of code that currently isn't very efficient (e.g. data flow analysis). If we can speed up compilation, there's more room to implement additional optimizations.
[-]Development focus areas for 2021[/-][+]Development focus areas for 2023[/+]JukkaL commentedon Apr 17, 2023
Updated the focus areas for 2023 (edited the original summary in place).
JukkaL commentedon Apr 22, 2023
Added multiple subinterpreter support (#993) as a focus area.
[-]Development focus areas for 2023[/-][+]Development focus areas for 2024[/+]JukkaL commentedon May 18, 2024
Updated for 2024 goals. The main new goal is no-gil support (#1038) -- this seems higher priority than multiple subinterpreters, though both are promising.
JukkaL commentedon Jan 13, 2025
Updated for 2025 goals. They are mostly similar to what we had before, but I made some minor changes. I'm hoping that we'll make good progress this year!
[-]Development focus areas for 2024[/-][+]Development focus areas for 2025[/+][-]Development focus areas for 2025[/-][+]Development focus areas for 2026-2027[/+]JukkaL commentedon Oct 8, 2026
Updated for remaining 2026 goals and initial 2027 goals. We've reached some goals so those were removed, and I'm hoping that we'll make process in multiple goals in the next year!