Pyston VS FrameworkBenchmarks

Compare Pyston vs FrameworkBenchmarks and see what are their differences.

Pyston

A faster and highly-compatible implementation of the Python programming language. (by pyston)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Pyston FrameworkBenchmarks
22 366
2,482 7,378
0.0% 1.1%
2.6 9.8
about 1 year ago 5 days ago
Python Java
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Pyston

Posts with mentions or reviews of Pyston. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-08.
  • Codon: Python Compiler
    9 projects | news.ycombinator.com | 8 May 2023
    Just for reference,

    * Nuitka[0] "is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11."

    * Pypy[1] "is a replacement for CPython" with builtin optimizations such as on the fly JIT compiles.

    * Cython[2] "is an optimising static compiler for both the Python programming language and the extended Cython programming language... makes writing C extensions for Python as easy as Python itself."

    * Numba[3] "is an open source JIT compiler that translates a subset of Python and NumPy code into fast machine code."

    * Pyston[4] "is a performance-optimizing JIT for Python, and is drop-in compatible with ... CPython 3.8.12"

    [0] https://github.com/Nuitka/Nuitka

    [1] https://www.pypy.org/

    [2] https://cython.org/

    [3] https://numba.pydata.org/

    [4] https://github.com/pyston/pyston

  • How is Golang websocket better than FastAPI websocket?
    2 projects | /r/FastAPI | 25 Feb 2023
    and if you need more speed you can try https://www.pypy.org/ or https://github.com/tonybaloney/Pyjion or https://www.pyston.org/
  • Arduino Announces MicroPython Support
    2 projects | /r/programming | 12 Nov 2022
    What efforts have been done come with limitations. PyPy is mostly compatible. Pyston seems mostly compatible but offers only modest speedups. IronPython and Jython run on the .NET and Java runtimes, respectively. They’re JITed as a consequence of that, but that also means they’re stuck in those environments and don’t work with CPython modules that use native code.
  • When should you upgrade to Python 3.11?
    1 project | news.ycombinator.com | 24 Oct 2022
  • Pyston-lite: our Python JIT as an extension module
    4 projects | news.ycombinator.com | 8 Jun 2022
    https://github.com/pyston/pyston/blob/69b190003f14dfd2f6d276...

    Seems easier to use the C functions to do this, rather than rely on system commands.

  • Parallélisation distribuée presque triviale d’applications GPU et CPU basées sur des Stencils avec…
    7 projects | dev.to | 30 Apr 2022
    Releases · pyston/pyston
  • You Should Compile Your Python and Here’s Why
    3 projects | news.ycombinator.com | 29 Apr 2022
  • IA et Calcul scientifique dans Kubernetes avec le langage Julia, K8sClusterManagers.jl
    11 projects | dev.to | 12 Mar 2022
    root@julia-75444d5c79-686cf:/# curl -LO [https://github.com/pyston/pyston/releases/download/pyston\_2.3.2/PystonConda-1.1-Linux-x86\_64.sh](https://github.com/pyston/pyston/releases/download/pyston_2.3.2/PystonConda-1.1-Linux-x86_64.sh) % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 670 100 670 0 0 8072 0 --:--:-- --:--:-- --:--:-- 7976 100 88.2M 100 88.2M 0 0 89.3M 0 --:--:-- --:--:-- --:--:-- 89.3M root@julia-75444d5c79-686cf:/# chmod +x PystonConda-1.1-Linux-x86_64.sh root@julia-75444d5c79-686cf:/# ./PystonConda-1.1-Linux-x86_64.sh Welcome to PystonConda 1.1 In order to continue the installation process, please review the license agreement. Please, press ENTER to continue >>> PystonConda installer code uses BSD-3-Clause license as stated below. Binary packages that come with it have their own licensing terms and by installing PystonConda you agree to the licensing terms of individual packages as well. They include different OSI-approved licenses including the GNU General Public License and can be found in pkgs//info/licenses folders. ============================================================================= Copyright (c) 2021, Anaconda, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Anaconda, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANACONDA, INC BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Do you accept the license terms? [yes|no] [no] >>> yes PystonConda will now be installed into this location: /root/pystonconda - Press ENTER to confirm the location - Press CTRL-C to abort the installation - Or specify a different location below [/root/pystonconda] >>> PREFIX=/root/pystonconda Unpacking payload ... Collecting package metadata (current_repodata.json): done Solving environment: done ## Package Plan ## environment location: /root/pystonconda added / updated specs: - _libgcc_mutex==0.1=conda_forge - _openmp_mutex==4.5=1_gnu - brotlipy==0.7.0=py38h79d3a15_1003 - bzip2==1.0.8=h7f98852_4 - ca-certificates==2021.10.8=ha878542_0 - certifi==2021.10.8=py38hc2d5299_1 - cffi==1.15.0=py38h9a12ab7_0 - charset-normalizer==2.0.11=pyhd8ed1ab_0 - colorama==0.4.4=pyh9f0ad1d_0 - conda-package-handling==1.7.3=py38h79d3a15_1 - conda==4.11.0=py38h4c12d10_0 - cryptography==36.0.0=py38ha252339_0 - freetype==2.10.4=h0708190_1 - idna==3.3=pyhd8ed1ab_0 - jbig==2.1=h7f98852_2003 - jpeg==9e=h7f98852_0 - lerc==3.0=h9c3ff4c_0 - libdeflate==1.8=h7f98852_0 - libffi==3.4.2=h7f98852_5 - libgcc-ng==11.2.0=h1d223b6_12 - libgomp==11.2.0=h1d223b6_12 - libpng==1.6.37=h21135ba_2 - libstdcxx-ng==11.2.0=he4da1e4_12 - libtiff==4.3.0=h6f004c6_2 - libwebp-base==1.2.2=h7f98852_1 - libzlib==1.2.11=h36c2ea0_1013 - lz4-c==1.9.3=h9c3ff4c_1 - ncurses==6.2=h58526e2_4 - openssl==1.1.1l=h7f98852_0 - pip==22.0.3=pyhd8ed1ab_0 - pycosat==0.6.3=py38h79d3a15_1009 - pycparser==2.21=pyhd8ed1ab_0 - pyopenssl==22.0.0=pyhd8ed1ab_0 - pysocks==1.7.1=py38h4c12d10_4 - pyston2.3==2.3.2=0_23_pyston - pyston==2.3.2=3 - python==3.8.12=3_23_pyston - python_abi==3.8=1_23_pyston - readline==8.1=h46c0cb4_0 - requests==2.27.1=pyhd8ed1ab_0 - ruamel_yaml==0.15.80=py38h79d3a15_1006 - setuptools==60.7.0=py38hc2d5299_0 - six==1.16.0=pyh6c4a22f_0 - sqlite==3.37.0=h9cd32fc_0 - tk==8.6.11=h27826a3_1 - tqdm==4.62.3=pyhd8ed1ab_0 - tzdata==2021e=he74cb21_0 - urllib3==1.26.8=pyhd8ed1ab_1 - wheel==0.37.1=pyhd8ed1ab_0 - xz==5.2.5=h516909a_1 - yaml==0.2.5=h7f98852_2 - zlib==1.2.11=h36c2ea0_1013 - zstd==1.5.2=ha95c52a_0 The following NEW packages will be INSTALLED: _libgcc_mutex conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge _openmp_mutex conda-forge/linux-64::_openmp_mutex-4.5-1_gnu brotlipy pyston/linux-64::brotlipy-0.7.0-py38h79d3a15_1003 bzip2 conda-forge/linux-64::bzip2-1.0.8-h7f98852_4 ca-certificates conda-forge/linux-64::ca-certificates-2021.10.8-ha878542_0 certifi pyston/linux-64::certifi-2021.10.8-py38hc2d5299_1 cffi pyston/linux-64::cffi-1.15.0-py38h9a12ab7_0 charset-normalizer conda-forge/noarch::charset-normalizer-2.0.11-pyhd8ed1ab_0 colorama conda-forge/noarch::colorama-0.4.4-pyh9f0ad1d_0 conda pyston/linux-64::conda-4.11.0-py38h4c12d10_0 conda-package-han~ pyston/linux-64::conda-package-handling-1.7.3-py38h79d3a15_1 cryptography pyston/linux-64::cryptography-36.0.0-py38ha252339_0 freetype conda-forge/linux-64::freetype-2.10.4-h0708190_1 idna conda-forge/noarch::idna-3.3-pyhd8ed1ab_0 jbig conda-forge/linux-64::jbig-2.1-h7f98852_2003 jpeg conda-forge/linux-64::jpeg-9e-h7f98852_0 lerc conda-forge/linux-64::lerc-3.0-h9c3ff4c_0 libdeflate conda-forge/linux-64::libdeflate-1.8-h7f98852_0 libffi conda-forge/linux-64::libffi-3.4.2-h7f98852_5 libgcc-ng conda-forge/linux-64::libgcc-ng-11.2.0-h1d223b6_12 libgomp conda-forge/linux-64::libgomp-11.2.0-h1d223b6_12 libpng conda-forge/linux-64::libpng-1.6.37-h21135ba_2 libstdcxx-ng conda-forge/linux-64::libstdcxx-ng-11.2.0-he4da1e4_12 libtiff conda-forge/linux-64::libtiff-4.3.0-h6f004c6_2 libwebp-base conda-forge/linux-64::libwebp-base-1.2.2-h7f98852_1 libzlib conda-forge/linux-64::libzlib-1.2.11-h36c2ea0_1013 lz4-c conda-forge/linux-64::lz4-c-1.9.3-h9c3ff4c_1 ncurses conda-forge/linux-64::ncurses-6.2-h58526e2_4 openssl conda-forge/linux-64::openssl-1.1.1l-h7f98852_0 pip conda-forge/noarch::pip-22.0.3-pyhd8ed1ab_0 pycosat pyston/linux-64::pycosat-0.6.3-py38h79d3a15_1009 pycparser conda-forge/noarch::pycparser-2.21-pyhd8ed1ab_0 pyopenssl conda-forge/noarch::pyopenssl-22.0.0-pyhd8ed1ab_0 pysocks pyston/linux-64::pysocks-1.7.1-py38h4c12d10_4 pyston pyston/noarch::pyston-2.3.2-3 pyston2.3 pyston/linux-64::pyston2.3-2.3.2-0_23_pyston python pyston/linux-64::python-3.8.12-3_23_pyston python_abi pyston/linux-64::python_abi-3.8-1_23_pyston readline conda-forge/linux-64::readline-8.1-h46c0cb4_0 requests conda-forge/noarch::requests-2.27.1-pyhd8ed1ab_0 ruamel_yaml pyston/linux-64::ruamel_yaml-0.15.80-py38h79d3a15_1006 setuptools pyston/linux-64::setuptools-60.7.0-py38hc2d5299_0 six conda-forge/noarch::six-1.16.0-pyh6c4a22f_0 sqlite conda-forge/linux-64::sqlite-3.37.0-h9cd32fc_0 tk conda-forge/linux-64::tk-8.6.11-h27826a3_1 tqdm conda-forge/noarch::tqdm-4.62.3-pyhd8ed1ab_0 tzdata conda-forge/noarch::tzdata-2021e-he74cb21_0 urllib3 conda-forge/noarch::urllib3-1.26.8-pyhd8ed1ab_1 wheel conda-forge/noarch::wheel-0.37.1-pyhd8ed1ab_0 xz conda-forge/linux-64::xz-5.2.5-h516909a_1 yaml conda-forge/linux-64::yaml-0.2.5-h7f98852_2 zlib conda-forge/linux-64::zlib-1.2.11-h36c2ea0_1013 zstd conda-forge/linux-64::zstd-1.5.2-ha95c52a_0 Preparing transaction: done Executing transaction: done installation finished. Do you wish the installer to initialize PystonConda by running conda init? [yes|no] [no] >>> yes no change /root/pystonconda/condabin/conda no change /root/pystonconda/bin/conda no change /root/pystonconda/bin/conda-env no change /root/pystonconda/bin/activate no change /root/pystonconda/bin/deactivate no change /root/pystonconda/etc/profile.d/conda.sh no change /root/pystonconda/etc/fish/conf.d/conda.fish no change /root/pystonconda/shell/condabin/Conda.psm1 no change /root/pystonconda/shell/condabin/conda-hook.ps1 no change /root/pystonconda/lib/python3.8/site-packages/xontrib/conda.xsh no change /root/pystonconda/etc/profile.d/conda.csh modified /root/.bashrc ==> For changes to take effect, close and re-open your current shell. <== If you'd prefer that conda's base environment not be activated on startup, set the auto_activate_base parameter to false: conda config --set auto_activate_base false Thank you for installing PystonConda!
  • Guido van Rossum: Faster CPython (2021) [pdf]
    7 projects | news.ycombinator.com | 23 Jan 2022
    Honestly, even that seems trivial? By my reading of https://github.com/pyston/pyston#installing-packages , the only impact is that when you install (compiled) libraries they need to be recompiled, just like if you use Alpine (which is also ABI-incompatible because it uses musl libc), which is a little bit of pain at build/packaging time but doesn't actually break anything (i.e. there are no libraries that you can't use, just libraries with an extra compile step) and doesn't affect runtime behavior at all.
  • How to improve requests per second?
    1 project | /r/FastAPI | 20 Oct 2021

FrameworkBenchmarks

Posts with mentions or reviews of FrameworkBenchmarks. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-25.
  • Why choose async/await over threads?
    11 projects | news.ycombinator.com | 25 Mar 2024
    Neat. Thanks for sharing!

    Interestingly, may-minihttp is faring very well in the TechEmpower benchmark [1], for whatever those benchmarks are worth. The code is also surprisingly straightforward [2].

    [1] https://www.techempower.com/benchmarks/

    [2] https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...

  • Ntex: Powerful, pragmatic, fast framework for composable networking services
    2 projects | news.ycombinator.com | 23 Mar 2024
    ntex was formed after a schism in actix-web and Rust safety/unsafety, with ntex allowing more unsafe code for better performance.

    ntex is at the top of the TechEmpower benchmarks, although those benchmarks are not apples-to-apples since each uses its own tricks: https://www.techempower.com/benchmarks/#hw=ph&test=fortune&s...

  • A decent VS Code and Ruby on Rails setup
    8 projects | news.ycombinator.com | 21 Feb 2024
    Ruby is slow. Very slow. How much you may ask? https://www.techempower.com/benchmarks/#hw=ph&test=fortune&s... fastest Ruby entry is at 272th place. Sure, top entries tend to have questionable benchmark-golfing implementations, but it gives you a good primer on the overhead imposed by Ruby.

    It is also not early 00s anymore, when you pick an interpreted language, you are not getting "better productivity and tooling". In fact, most interpreted languages lag behind other major languages significantly in the form of JS/TS, Python and Ruby suffering from different woes when it comes to package management and publishing. I would say only TS/JS manages to stand apart with being tolerable, and Python sometimes too by a virtue of its popularity and the amount of information out there whenever you need to troubleshoot.

    If you liked Go but felt it being a too verbose to your liking, give .NET a try. I am advocating for it here on HN mostly for fun but it is, in fact, highly underappreciated, considered unsexy and boring while it's anything but after a complete change of trajectory in the last 3-5 years. It is actually the* stack people secretly want but simply don't know about because it is bundled together with Java in the public perception.

    *productive CLI tooling, high performance, works well in a really wide range of workloads from low to high level, by far the best ORM across all languages and back-end framework that is easier to work with than Node.JS while consuming 0.1x resources

  • The Erlang Ecosystem [video]
    1 project | news.ycombinator.com | 8 Jan 2024
    Although that seems to have improved in recent years.

    https://www.techempower.com/benchmarks/#hw=ph&test=json§...

  • Ruby 3.3
    11 projects | news.ycombinator.com | 24 Dec 2023
    RoR and whatever C++ based web backend there is count as a valid comparison in my book. But comparing the languages itself is maybe a bit off.

    On a side note, you can actually compare their performance here if you’re really curious. But take it with a grain of salt since these are synthetic benchmarks.

    https://www.techempower.com/benchmarks

  • API: Go, .NET, Rust
    3 projects | /r/dotnet | 9 Dec 2023
    Most benchmarks you'll find essentially have someone's thumb on the scale (intentionally or unintentionally). Most people won't know the different languages well enough to create comparable implementations and if you let different people create the implementations, cheating happens. The TechEmpower benchmarks aren't bad, but many implementations put their thumb on the scale (https://www.techempower.com/benchmarks). For example, a lot of the Go implementations avoid the GC by pre-allocating/reusing structs or allocate arrays knowing how big they need to be in advance (despite that being against the rules). At some point, it becomes "how many features have you turned off." Some Go http routers (like fasthttp and those built off it like Atreugo and Fiber) aren't actually correct and a lot of people in the Go community discourage their use, but they certainly top the benchmarks. Gin and Echo are usually the ones that are well-respected in the Go community.
  • Rage: Fast web framework compatible with Rails
    12 projects | news.ycombinator.com | 4 Dec 2023
    There is certainly a lot of speculation in Techempower benchmarks and top entries can utilize questionable techniques like simply writing a byte array literal to output stream instead of constructing a response, or (in the past) DB query coalescing to work around inherent limitations of the DB in case of Fortunes or DB quries.

    And yet, the fastest Ruby entry is at 274th place while Rails is at 427th.

    https://www.techempower.com/benchmarks/#hw=ph&test=fortune&s...

  • Node.js – v20.8.1
    2 projects | news.ycombinator.com | 15 Oct 2023
    oh what machine? with how many workers? doing what?

    search for "node" on this page: https://www.techempower.com/benchmarks/#section=data-r21

  • Strong typing, a hill I'm willing to die on
    9 projects | news.ycombinator.com | 4 Oct 2023
    JustJS would like a word https://www.techempower.com/benchmarks/#section=data-r20&tes...
  • Rust vs Go: A Hands-On Comparison
    6 projects | news.ycombinator.com | 27 Sep 2023
    In terms of RPS, this web service is more-or-less the fortunes benchmark in the techempower benchmarks, once the data hits the cache: https://www.techempower.com/benchmarks/#section=data-r21

    Or, at least, they would be after applying optimizations to them.

    In short, both of these would serve more rps than you will likely ever need on even the lowest end virtual machines. The underlying API provider will probably cut you off from querying them before you run out of RPS.

What are some alternatives?

When comparing Pyston and FrameworkBenchmarks you can also consider the following projects:

PyPy

zio-http - A next-generation Scala framework for building scalable, correct, and efficient HTTP clients and servers

Cython - The most widely used Python to C compiler

drogon - Drogon: A C++14/17 based HTTP web application framework running on Linux/macOS/Unix/Windows [Moved to: https://github.com/drogonframework/drogon]

Pyjion

django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs

dramatiq - A fast and reliable background task processing library for Python 3.

LiteNetLib - Lite reliable UDP library for Mono and .NET

Stackless Python

C++ REST SDK - The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.

Cinder - Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.

SQLBoiler - Generate a Go ORM tailored to your database schema.