The Alternative Implementation Problem

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Scout Monitoring - Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • hpy

    HPy: a better API for Python

  • > numpy (and swig) predates Unladen Swallow

    Sure, but that’s not what I said. Numpy is surprisingly old, but (at least according to my own impressions at the time) in 2010 supporting it was in no way table stakes for an “alternative” implementation of Python. Hell, Jython was still occasionally taken seriously then, and Microsoft still pretended they cared about IronPython.

    > I would suggest the C API is just as much a part of Python as the standard library

    As things stand, yes, no question.

    The problem is, it was never designed that way. In particular, it cannot (or at least not designed to) support any other memory management strategy but CPython’s, thus efforts like HPy[1]. For example, while the language docs admonish you not to depend on __del__ running at any particular moment, if we consider the Python/C API a part of the language, then the language has to behave as though it uses eager reference counting and occasionally runs a cycle collector. And that’s the easy case—think about how deeply the GIL is rooted there.

    That is good design for something that’s part of the language, as it effectively is. It was never intended to be and never received commensurate amounts of care. It just turned out that way—and ain’t that a sad thing to admit.

    [1] http://hpyproject.org/

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • HPy - A better C API for Python

    1 project | /r/Python | 11 Jan 2023
  • New record breaking for Python in TechEmPower

    2 projects | /r/Python | 8 Dec 2022
  • Is it time to leave Python behind? (My personal rant)

    4 projects | /r/Python | 27 Nov 2022
  • socketify.py - Bringing WebSockets, Http/Https High Peformance servers for PyPy3 and Python3

    5 projects | /r/Python | 8 Nov 2022
  • HPy: A better C API for Python

    1 project | news.ycombinator.com | 25 Oct 2022