Tagged articles
19 articles
Page 1 of 1
Python Programming Learning Circle
Python Programming Learning Circle
Nov 7, 2025 · Fundamentals

Mastering Python File Extensions and Their Use Cases

This article explains the purpose and typical usage of various Python file extensions—including .py, .ipynb, .pyi, .pyc, .pyw, and .pyx—provides code examples, demonstrates how to write type‑hint files, and compares pure Python with Cython for performance‑critical tasks.

Cythonfile extensionsperformance
0 likes · 7 min read
Mastering Python File Extensions and Their Use Cases
21CTO
21CTO
Jun 17, 2024 · Fundamentals

How Cython, SPy, and Sub‑Interpreters Are Supercharging Python Performance

At PyCon 2024, experts demonstrated how static typing, Cython compilation, static‑linked C extensions, and sub‑interpreter architectures can dramatically accelerate Python code, reduce runtime overhead, and mitigate GIL limitations, offering practical pathways for faster, more scalable Python applications.

CythonGILoptimization
0 likes · 11 min read
How Cython, SPy, and Sub‑Interpreters Are Supercharging Python Performance
Python Programming Learning Circle
Python Programming Learning Circle
Jul 29, 2023 · Fundamentals

Cython 3.0 Released: New Features and Improvements

Cython 3.0 has been officially released, offering a more Pythonic syntax, better C/C++ integration, expanded pure‑Python mode, automatic NumPy ufunc generation, Unicode identifiers, and preliminary support for Python's limited API, making it faster, safer, and easier to use.

CompilationCythonPure Python mode
0 likes · 4 min read
Cython 3.0 Released: New Features and Improvements
21CTO
21CTO
Jul 20, 2023 · Fundamentals

What’s New in Cython 3.0? A Deep Dive into Its Major Features and Impact

Cython 3.0, announced by co‑developer Dr. Stefan Behnel after nearly five years, drops Python 2 support, aligns fully with Python 3 semantics, improves exception handling and C/C++ interoperability, and resolves compatibility issues that affected tools like the AWS CLI.

C extensionsCythonPython
0 likes · 4 min read
What’s New in Cython 3.0? A Deep Dive into Its Major Features and Impact
MaGe Linux Operations
MaGe Linux Operations
Jul 6, 2023 · Fundamentals

Boost Python Performance: Top Tools and Techniques for Faster Code

This article surveys a range of Python acceleration tools—from NumPy, SciPy, and Pandas for efficient array operations to JIT compilers like PyPy and Pyston, GPU libraries such as PyCUDA, and C‑extension generators like Cython—explaining how each can dramatically speed up single‑processor or parallel code while balancing memory usage.

CythonGPUnumba
0 likes · 6 min read
Boost Python Performance: Top Tools and Techniques for Faster Code
21CTO
21CTO
Nov 9, 2022 · Fundamentals

Exploring Python’s Major Interpreters: CPython, Jython, IronPython, PyPy, and Cython

An overview of Python’s primary interpreter implementations—including CPython, Jython, IronPython, PyPy, and Cython—highlights their origins, execution models, compatibility, performance characteristics, and unique advantages, helping developers choose the right runtime for their specific needs.

CPythonCythonInterpreters
0 likes · 4 min read
Exploring Python’s Major Interpreters: CPython, Jython, IronPython, PyPy, and Cython
21CTO
21CTO
Jan 18, 2022 · Fundamentals

Why Python 3.11 Is Twice as Fast as 3.10 – Inside the Shannon Plan

On January 18, 2022 the Python Software Foundation released Python 3.10, 3.9, and a preview of 3.11, detailing performance gains, Windows installer issues, and a critical Cython‑related memory leak fixed in the upcoming 3.10.3 release.

CPythonCythonVersion Release
0 likes · 5 min read
Why Python 3.11 Is Twice as Fast as 3.10 – Inside the Shannon Plan
MaGe Linux Operations
MaGe Linux Operations
May 2, 2021 · Fundamentals

How to Speed Up Python: 5 Proven Alternatives to CPython

Although Python is slower than C or Java for CPU‑intensive tasks, several projects such as PyPy, Pyston, Nuitka, Cython, and Numba offer practical ways to boost its performance, each with its own trade‑offs and compatibility considerations.

CythonPyPyPython
0 likes · 6 min read
How to Speed Up Python: 5 Proven Alternatives to CPython
MaGe Linux Operations
MaGe Linux Operations
Dec 15, 2020 · Fundamentals

Boost Python Speed: 5 Proven Techniques to Outrun C and Java

Although Python is slower than C, Java, or JavaScript for CPU‑intensive tasks, several projects—including PyPy, Pyston, Nuitka, Cython, and Numba—offer distinct approaches such as JIT compilation, LLVM back‑ends, or C conversion to significantly improve Python’s runtime performance.

CythonJITLLVM
0 likes · 5 min read
Boost Python Speed: 5 Proven Techniques to Outrun C and Java
MaGe Linux Operations
MaGe Linux Operations
Jun 6, 2019 · Artificial Intelligence

How to Make NLP 100× Faster with Cython and spaCy

This article explains how Cython—a Python superset that compiles to C—can accelerate natural‑language‑processing tasks, showcases the NeuralCoref v3.0 project, provides profiling tips, demonstrates Python‑to‑Cython code transformations, and presents benchmark results showing up to a hundred‑fold speedup.

CythonPythonspaCy
0 likes · 16 min read
How to Make NLP 100× Faster with Cython and spaCy
MaGe Linux Operations
MaGe Linux Operations
Jul 23, 2018 · Artificial Intelligence

Boost NLP Speed 100× with Cython: A Practical Guide

This article explains how to accelerate Python‑based natural language processing pipelines by up to a hundred times using Cython, covering profiling, code conversion, integration with spaCy, and practical Jupyter Notebook examples for fast, production‑ready NLP modules.

CythonspaCy
0 likes · 14 min read
Boost NLP Speed 100× with Cython: A Practical Guide
MaGe Linux Operations
MaGe Linux Operations
Apr 2, 2015 · Fundamentals

Boost Python Speed: 5 Proven Techniques and Alternative Runtimes

This article explores why Python’s execution speed lags behind compiled languages, presents two main optimization strategies, and details five practical approaches—including PyPy, Pyston, Nuitka, Cython, and Numba—to significantly improve Python performance on the same hardware.

CythonNuitkaPerformance Optimization
0 likes · 7 min read
Boost Python Speed: 5 Proven Techniques and Alternative Runtimes