A function decorator that rewrites the bytecode to enable goto in Python

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

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

  • Also C# (21 years): https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...

    PHP perhaps gets honorable mention for not originally having a goto statement, but adding one something like 10 years later.

    Zig moved in the opposite direction. It had one at first, and then removed it: https://github.com/ziglang/zig/issues/630

  • python-goto

    A function decorator, that rewrites the bytecode, to enable goto in Python

  • 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.

    InfluxDB logo
  • pex

    A tool for generating .pex (Python EXecutable) files, lock files and venvs.

  • Don't know if I agree about the goto thing, but there are actually a number of options now for delivering varying degrees of self-contained Python executable.

    When I evaluated the landscape a few years ago, I settled on PEX [1] as the solution that happened to fit my use-case the best— it uses a system-provided Python + stdlib, but otherwise brings everything (including compiled modules) with it in a self-extracting executable. Other popular options include pyinstaller and cx_freeze, which have different tradeoffs as far as size, speed, convenience, etc.

    [1]: https://github.com/pantsbuild/pex

  • plusplus

    Enables increment operators in Python using a bytecode hack

  • I do the same in my module that enables increment operators in Python by patching the bytecode for two unary plus/minus ops: https://github.com/borzunov/plusplus

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