Python, Software Development, and Tools - Digest 48
Appearance
- Unlocking Performance in Python’s Free-Threaded Future: GC Optimizations — Python 3.14’s no-GIL build got GC upgrades: faster cycle checks, smarter memory handling, and CPU prefetching, making GC-heavy code run quicker.
- Use trimmed in Django blocktranslate — The post explains how Django’s {% blocktranslate %} tag preserves whitespace by default, which can cause messy translation strings. Using the trimmed option removes unwanted leading and trailing whitespace, making translations cleaner without sacrificing template readability.
- Is Fortran better than Python for teaching the basics of numerical linear algebra? — The post argues that while Python’s ecosystem is powerful, its flexibility often confuses beginners learning numerical linear algebra. Fortran, being strongly typed and closer to mathematical pseudocode, can make core concepts clearer for students starting out, even if Python is indispensable later.
- Django Multi-Tenancy at Scale: Beyond Basic SaaS Patterns — The article explores Django multi-tenancy beyond the simple “shared DB + tenant_id” approach. It covers scaling challenges like data isolation, noisy neighbors, schema customization, and handling thousands of tenants, and compares strategies (shared schema, schema-per-tenant, database-per-tenant) with their trade-offs for real-world SaaS platforms. It’s the best summary and comparison I’ve found, and it really helped me choose an approach.
Read the full article here: https://medium.com/@denis.volokh/python-software-development-and-tools-digest-48-cd8dad43f22e