News for hackers. Stuff that matters.
Re:Is Python Code Sensitive to CPU Caching? (2024) by davvid on Saturday April 05, 2025 @02:28PM (#43595542)
The article didn't mention Python's atomic refcounts. They're very bad for cache usage as they're constantly invalidating cache.
Re:Is Python Code Sensitive to CPU Caching? (2024) by senderista on Saturday April 05, 2025 @04:15PM (#43596486)
Non-atomic refcounts invalidate cache as well, they're just not as expensive.
Re:Is Python Code Sensitive to CPU Caching? (2024) by quotemstr on Saturday April 05, 2025 @02:36PM (#43595613)
The only version of Python that uses atomic reference counting is the very new free threaded version.