A 100x speedup with unsafe Python
We're going to speed up some numpy code by 100x using "unsafe Python." Which is not quite the same as unsafe Rust, but it's a
bit similar, and I'm not sure what else to call it... you'll see. It's not something you'd use in most Python code, but it's
handy on occasion, and I think it shows "the nature of Python” from an interesting angle.
So let's say you use pygame to write a simple game in Python.
(Is pygame the way to go today? I'm not the guy to ask; to its credit, it has a very simple scree...
Read more at yosefk.com