Grok the GIL: Write Fast and Thread-Safe Python

Read ancient CPython source code, and learn a principle so pithy you can write it on the back of your hand. Read more


Integer vs. Linear Programming in Python

In real warfare and strategy games, strategists are faced with a common problem: how to allocate their resources to be the most efficient possible? Let's take an example where we have three resources: 🌾food, 🪵wood, and 🪙gold. We can produce three types of... (more…)

Read more »