Faster CPython 3.12 Plan

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

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Zigi - Delete the most useless function ever: context switching.
  • Sonar - Write Clean Python Code. Always.
  • Scout APM - Truly a developer’s best friend
  • ideas

    https://github.com/faster-cpython/ideas/wiki/Python-3.12-Goa... is interesting too.

    > Python currently has a single global interpreter lock per process, which prevents multi-threaded parallelism. This work, described in PEP 684, is to make all global state thread safe and move to a global interpreter lock (GIL) per sub-interpreter. Additionally, PEP 554 will make it possible to create subinterpreters from Python (currently a C API-only feature), opening up true multi-threaded parallelism.

    Very basic question: in a world where a Python program can spin up multiple subinterpreters, each of which can then execute on a separate CPU core (since they don't share a GIL), what will the best mechanisms be for passing data between those subinterpreters?

  • nogil

    Multithreaded Python without the GIL

    Looks like it's still active to me:

    https://github.com/colesbury/nogil/

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • pyperformance

    Python Performance Benchmark Suite

    25% number is from pyperformance benchmark suite, which you can replicate. Whether pyperformance is representative benchmark suite is another question.

    https://github.com/python/pyperformance

  • CPython

    The Python programming language

    Yes, it is released [1]. This allows you to access it from multiple thread in the same interpreter though, so I still don't understand robertlagrant's question.

    [1]: https://github.com/python/cpython/blob/4b81139aac3fa11779f6e...

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