My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python...

21
My First Numba Saul Diez-Guerra

Transcript of My First Numba2013.es.pycon.org/media/my-first-numba.pdf · 2014. 11. 10. · Numba turns Python...

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)

My First NumbaSaul Diez-Guerra

Page 2: 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)

[email protected]

@definitely

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

Thanks!