I write about speeding up Python software development, and code, at https://pythonspeed.com
I write about fundamental engineering skills and programmer career advice at https://codewithoutrules.com
I also write a weekly email about all the mistakes I've made both coding and in my career over the past 20 years, so that you can learn and avoid them: https://softwareclown.com
- Loading Pydantic models from JSON without running out of memory
by itamarst on 5/22/25, 6:06 PM, with comments
- The surprising way to save memory with BytesIO
by itamarst on 1/30/25, 8:34 PM, with comments
- Faster pip installs: caching, bytecode compilation, and uv
by itamarst on 1/22/25, 7:44 PM, with comments
- Catching memory leaks with your test suite
by itamarst on 1/14/25, 7:29 PM, with comments
- Reducing CO₂ emissions with faster software
by itamarst on 12/9/24, 5:13 PM, with comments
- Using portable SIMD in stable Rust
by itamarst on 11/12/24, 3:41 PM, with comments
- Beyond multi-core parallelism: faster Mandelbrot with SIMD
by itamarst on 9/30/24, 3:35 PM, with comments
- Let's build and optimize a Rust extension for Python
by itamarst on 9/16/24, 1:25 PM, with comments
- It's time to stop using Python 3.8
by itamarst on 9/13/24, 4:52 PM, with comments
- Running 15× faster with a situation-specific algorithm
by itamarst on 5/30/24, 3:17 PM, with comments
- Jevons Paradox doesn't always apply to software
by itamarst on 2/27/24, 5:08 PM, with comments
- Not just Nvidia: GPU programming that runs everywhere
by itamarst on 2/13/24, 5:58 PM, with comments
- Profiling your Numba code
by itamarst on 1/30/24, 5:12 PM, with comments
- Beware of misleading GPU vs. CPU benchmarks
by itamarst on 1/17/24, 4:23 PM, with comments
- How many CPU cores can you use in parallel?
by itamarst on 12/18/23, 4:04 PM, with comments
- Using Polars in a Pandas World
by itamarst on 11/30/23, 3:32 PM, with comments
- Two kinds of threads pools, and why you need both
by itamarst on 11/21/23, 3:51 PM, with comments
- Speeding Up Cython with SIMD
by itamarst on 10/20/23, 2:27 PM, with comments
- Speeding up Floyd-Steinberg dithering: an optimization exercise
by itamarst on 9/20/23, 7:34 PM, with comments
- The easiest way to speed up Python with Rust
by itamarst on 7/10/23, 5:37 PM, with comments
- When NumPy is too slow
by itamarst on 6/27/23, 6:01 PM, with comments
- Python 3.7: 30% of PyPI downloads, end of life in 3 weeks
by itamarst on 6/12/23, 6:53 PM, with comments
- Understanding CPUs can help speed up Numba and NumPy code
by itamarst on 6/8/23, 4:00 PM, with comments
- Choosing a good file format for Pandas
by itamarst on 5/24/23, 3:50 PM, with comments
- “Externally managed environments”: when PEP 668 breaks pip
by itamarst on 5/5/23, 2:54 PM, with comments