my first numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · numba turns python...
TRANSCRIPT
![Page 1: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/1.jpg)
My First NumbaSaul Diez-Guerra
![Page 3: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/3.jpg)
Num—what?
![Page 4: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/4.jpg)
Why would you?
![Page 5: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/5.jpg)
Sorcery!
![Page 6: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/6.jpg)
Numba turns Python and NumPy code
into LLVM IR that can be
optimized and compiled
(so it runs faster)
![Page 7: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/7.jpg)
So… Cython!
![Page 8: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/8.jpg)
So… PyPy!
![Page 9: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/9.jpg)
So… C modules?CTypes?
CFFI?
![Page 10: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/10.jpg)
Parakeet?
![Page 11: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/11.jpg)
It is targeted
![Page 12: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/12.jpg)
WriteProfile
Optimize
![Page 13: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/13.jpg)
Installation
![Page 14: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/14.jpg)
DEMO TIME!
![Page 15: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/15.jpg)
Under (active) construction!
![Page 16: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/16.jpg)
Caveats
![Page 17: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/17.jpg)
The medium is the usage
![Page 18: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/18.jpg)
HEAVILYNumeric &
Computational
![Page 19: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/19.jpg)
Support forthcoming
![Page 20: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/20.jpg)
Q&A
![Page 21: My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python and NumPy code into LLVM IR that can be optimized and compiled (so it runs faster)](https://reader035.vdocuments.site/reader035/viewer/2022071219/6057bc2a3f86b22e001029de/html5/thumbnails/21.jpg)
Thanks!