Optimization of Scientific Code with Cython: Ising Model

Python is quick and easy to code, but can be slow when doing intensive numerical operations. Translating code to Cython can be helpful, but in most cases requires a bit of trial and error to achieve the optimal result. Cython's tutorials contain a lot of information, but for iterative workflows like optimization with Cython, it's often useful to see it done "live".

For that reason, I decided to record some screencasts showing this iterative optimization process, using an Ising Model, as an example application.

 •  0 comments  •  flag
Share on Twitter
Published on December 11, 2017 12:00
No comments have been added yet.


Jake VanderPlas's Blog

Jake VanderPlas
Jake VanderPlas isn't a Goodreads Author (yet), but they do have a blog, so here are some recent posts imported from their feed.
Follow Jake VanderPlas's blog with rss.