Numba
Numba is an open-source JIT compiler that translates a subset of Python and NumPy into fast machine code using LLVM, via the llvmlite Python package.[src] It offers a range of options for parallelising Python code for CPUs and GPUs, often with only minor code changes.[src] Numba was started by Travis Oliphant in 2012 and has since been under active development with frequent releases.[src] The project is driven by developers at Anaconda, Inc., with support by DARPA, the Gordon and Betty Moore Foundation, Intel, Nvidia and AMD, and a community of contributors on GitHub.[src]
Numba is an open-source JIT compiler that translates a subset of Python and NumPy into fast machine code using LLVM, via the llvmlite Python package.[src] It offers a range of options for parallelising Python code for CPUs and GPUs, often with only minor code changes.[src] Numba was started by Travis Oliphant in 2012 and has since been under active development with frequent releases.[src] The project is driven by developers at Anaconda, Inc., with support by DARPA, the Gordon and Betty Moore Foundation, Intel, Nvidia and AMD, and a community of contributors on GitHub.[src] import numba import random @numba.jit def monte_carlo_pi(n_samples: int) -> float: """Monte Carlo""" acc = 0 for i in range(n_samples): x = random.random() y = random.random() if (x**2 + y**2) The just-in-time compilation happens transparently when the function is called: >>> monte_carlo_pi(1000000) 3.14[src]
9 sentences · 9 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Numba." encyclopegia.org, 2026, https://encyclopegia.org/wiki/numba. Accessed 30 November 2026.
Chicago
"Numba." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/numba.
APA
encyclopegia.org. (2026). Numba. Retrieved November 30, 2026, from https://encyclopegia.org/wiki/numba
Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON