Python Articles, Tutorials & News

The Performance Overhead of Python C Extensions

Python is slow, and compiled languages like Rust, C, or C++ are fast. So when your application is too slow, rewriting some of your code in a compiled extension can seem like the natural approach to speeding things up. Unfortunately, compiled extensions ar…

Read more »

Gaming in Python: PyGame vs. Arcade vs. PyGame Zero

I tried writing games in Python a few years ago, but gave up as the only library at the time (Pygame) wasn’t very good. Recently, I came back to Python and found there are now multiple gaming libraries. In this post, I look at PyGame, Arcade, PyGame Zero …

Read more »