Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Numba

< >

Numba is a compiler created in 2012 by Travis E. Oliphant.

#378on PLDB 12Years Old
Download source code:
git clone https://github.com/numba/numba
HomepageSource Code

Numba is an open source JIT compiler that translates a subset of Python and NumPy code into fast machine code.


Example from the web:
from numba import njit import random @njit def monte_carlo_pi(nsamples): acc = 0 for i in range(nsamples): x = random.random() y = random.random() if (x ** 2 + y ** 2) < 1.0: acc += 1 return 4.0 * acc / nsamples

- Build the next great programming language Add Issues About Search Keywords Livestreams Labs Resources Acknowledgements

Built with Scroll v154.3.0