High-level programming language Python has announced the stable release of Python 3.11.0 in a blog post on Monday. The 3.11 series is the newest major release of the programming language containing new features and optimizations.
Python 3.11 is quite exciting for its multitude of performance improvements, which look much better in the performance department due to the Faster CPython Project. The Python 3.11 version can be 10-60% faster than Python 3.10. Moreover, Pyston and PyPy hold advantages in some areas but CPython seems much more efficient than its prior releases.
Some of the main features include adding support for task groups with async I/O, fine-grained error locations in tracebacks, exception groups and except*, support for parsing TOML in the standard library, and various typing changes.
The biggest addition among the many individual performance improvements in Python 3.11 is the ‘specializing adaptive interpreter’. The interpreter attempts to analyze running code and replace general bytecodes with type-specific ones, as an object's type rarely changes. For example, binary operations such as addition and subtraction can be replaced with specialized versions for floats, integers,and strings.
As per the official Python benchmark suite, the 3.11 version runs 1.25 times faster than Python 3.10 (as an aggregate measure). Users don't need to make any code changes for Python programs to benefit from the Python 3.11's speedups.
To know more about the downloads and information on Python 3.11, click here.
- Amazon Warns Engineers Against AI Productivity Traps in Latest Memo
- Gnani AI Launches Prisma v3.0 Speech Recognition Model for 10 Languages
- Venttup Raises $3 Million To Expand Precision Manufacturing
- Articul8 Launches Bivia To Help Enterprise AI Agents Make Decisions
- NVIDIA Launches Open-Weight Transcription Model for 40 Languages
- Sarvam AI Rolls Out Indus Cowork to 2,500 Maharashtra Govt Officials

