Code Recipes for Python, Perl and More on GitHub – ActiveState

For more than a decade, ActiveState has hosted a vast repository of code recipes and discussions over at https://code.activestate.com/ – but in recent years it began to seem out-of-sync with the way developers shared code. New users and recipe updates had… Read more

Similar

Pre-Allocated Lists in Python

In CPython, elements of a list are stored as pointers to the elements rather than the values of the elements themselves. This is evident from the struct that represents a list in C: // Fetched from CPython main branch. Removed comments for brevity. typede... (more…)

Read more »

The State of Python in 2021

At the risk of alienating most of the readership of this magazine, here is a confession. I hated Python for a very long time. My issue was not with the language per se, even though the indentation … (more…)

Read more »

A Performance Analysis of Python WSGI Servers

In Part 1 of this series, we introduced you to WSGI and the top 6 WSGI web servers. In this post, we’ll show you the result of our performance benchmark analysis of these servers. There are many production-grade WSGI servers, and we were curious as to how... (more…)

Read more »