Tagged articles
numba
22 articles · Page 1 of 1
Python’s reputation for slowness can be overcome by selecting the right tools—Numba, PyPy, CuPy, JAX, Ray, Joblib, async I/O, memory profilers, and big‑data frameworks—delivering speedups from 6× to over 50× with minimal or no code modifications.
GPURayasync
0 likes · 22 min read

This article reviews eleven high‑performance Python libraries—Polars, Numba, orjson, PyO3, Blosc, Awkward Array, Dask, Vaex, Modin, scikit‑learn‑intelex, uvloop and PyPy—showing how they achieve multi‑fold speedups through Rust, JIT, SIMD, lazy evaluation and parallel execution, and offers guidance on when to choose each tool.
PythonRustdask
0 likes · 14 min read

Python is praised for its clarity but often deemed slow; this article reveals twelve overlooked, sometimes unconventional techniques—from using enumerate instead of range loops to leveraging Numba, Polars, and mypyc—that can dramatically accelerate data pipelines, APIs, and scientific workloads without rewriting code in another language.
PolarsPythondata pipelines
0 likes · 9 min read

This article reveals ten often‑overlooked Python performance techniques—from using enumerate and array structures to leveraging Numba, Polars, and generators—showing how careful coding, profiling, and modern libraries can turn sluggish scripts into lightning‑fast production workloads.
PolarsPydanticPython
0 likes · 9 min read

This article presents practical Python performance optimization techniques, covering principles such as avoiding premature optimization, reducing global variables, minimizing attribute access, eliminating unnecessary abstractions, avoiding data copying, using efficient string concatenation, leveraging short‑circuit logic, loop optimizations, JIT compilation with Numba, and selecting appropriate data structures.
code optimizationdata structuresnumba
0 likes · 16 min read

The article reviews Nvidia GTC 2025’s session on writing CUDA kernels with Python, compares tools such as Numba, CuPy, PyTorch extensions and cuda‑python, demonstrates a segmented reduction example with C++ and Python code, explains the underlying CUDA concepts, and shows how to install and use cuda‑python to simplify kernel development.
CUDACuPyGPU
0 likes · 10 min read

This article examines why Python is slower than compiled languages and presents five practical solutions—PyPy, Pyston, Nuitka, Cython, and Numba—detailing their mechanisms, compatibility, and trade‑offs for developers seeking to boost Python performance.
CythonPyPyPython
0 likes · 6 min read

This article introduces Numba, a Python just‑in‑time compiler, explains why it is advantageous over alternatives, demonstrates how to apply its @jit, @njit, @vectorize and other decorators, and shows how to run accelerated code on CPUs and GPUs using CUDA.
CUDAGPUPython
0 likes · 9 min read

This article explains why Python is praised for its readability, high‑level abstractions, extensive standard library, strong community support, and flexible performance‑boosting tools such as NumPy, Cython, and Numba, making it a versatile choice for scientific and general‑purpose programming.
CythonNumPyPython
0 likes · 28 min read

This article presents practical Python performance optimization techniques, covering fundamental principles such as avoiding premature optimization, weighing trade‑offs, eliminating global variables, reducing attribute access, minimizing unnecessary abstractions, avoiding data copies, leveraging efficient loops, using short‑circuit logic, applying numba JIT, and selecting appropriate data structures to significantly speed up code execution.
Pythondata structuresnumba
0 likes · 20 min read

This article introduces Numba, explains its parallel, distributed, and GPU acceleration capabilities, and provides detailed Pandas benchmark examples that show how Numba’s JIT compilation dramatically speeds up data‑frame operations compared with default and Cython engines.
JITPandasPython
0 likes · 7 min read

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

This article introduces Numba, a Just‑in‑Time compiler for Python that transforms functions into fast machine code using LLVM, explains why it lets you stay in pure Python, demonstrates basic @jit/@njit usage, advanced decorators, GPU execution with CUDA, and interoperability with C/C++ libraries.
CUDAGPUJIT
0 likes · 11 min read

This article introduces Numba, a Python Just-in-time compiler, explains why it is advantageous over alternatives, demonstrates how to apply its decorators such as @jit, @njit, @vectorize, and @cuda for CPU and GPU acceleration, and provides practical code examples and tips for optimal performance.
CUDAGPUJIT
0 likes · 10 min read

This article demonstrates how the Taichi library can speed up a Python prime‑counting program by roughly two hundred times compared to the unoptimized version and five times faster than using Numba, providing clear code examples and performance results.
Prime CountingPythonTaichi
0 likes · 4 min read

Numba is a Python just‑in‑time compiler that transforms functions into fast native machine code, enabling near C‑level performance without rewriting code; by adding simple decorators like @jit or @njit, you can accelerate loops, NumPy operations, and even leverage parallel or GPU execution.
JIT CompilationPythonnumba
0 likes · 7 min read

This article explains how to accelerate Python array computations by using Numba, demonstrating the limitations of pure NumPy, providing step‑by‑step code examples, performance benchmarks, and discussing Numba’s advantages, compilation overhead, GPU support, and comparisons with other optimization approaches.
NumPyPythonnumba
0 likes · 9 min read

This article introduces Numba, a Python just‑in‑time compiler, explains why it’s advantageous over alternatives, and provides detailed guidance on using its decorators such as @jit, @njit, @vectorize, and @cuda.jit, including code examples for CPU and GPU acceleration.
CUDAGPUJIT
0 likes · 12 min read

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

This article presents practical Python performance‑boosting techniques—including avoiding global variables, minimizing attribute access, eliminating unnecessary abstractions, reducing data copies, optimizing loops, leveraging built‑in functions, and using tools like numba—each illustrated with before‑and‑after code snippets and measured speed improvements.
benchmarkingcodedata structures
0 likes · 19 min read

Numba, a JIT compiler for Python, transforms array‑based functions into machine code, delivering speedups of up to 40‑fold for NumPy loops and over 200‑fold for pure Python loops, making data‑intensive tasks dramatically faster without altering original code.
JIT CompilationPython performanceScientific Computing
0 likes · 7 min read

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.
CythonNuitkaPyPy
0 likes · 7 min read
