Python 3.11 is much faster than 3.8

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • bun

    Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

  • https://github.com/oven-sh/bun#bunffi-foreign-functions-inte...

    Deno (a v8-based runtime) has the same thing: https://deno.land/[email protected]/runtime/ffi_api

    These use the standard C-ABI directly without requiring headers (unlike Python).

    Node.js standardized a more Python-like C API called Node-API: https://nodejs.org/api/n-api.html

  • shumai

    Fast Differentiable Tensor Library in JavaScript and TypeScript with Bun + Flashlight

  • You can expose objects. Here's how it is done in Bun: https://github.com/facebookresearch/shumai/blob/main/shumai/...

    We've been using this feature heavily in Shumai.

    I think you are vastly overestimating the complexity associated with this (user exposed ref-counting/garbage collection) and may not be totally up to date on what's implemented.

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

    Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more

  • runner-images

    GitHub Actions runner images

  • Now just waiting for the GitHub Actions runners to be updated with Python 3.11 (deployment next week - they deploy image updates weekly).

    https://github.com/actions/runner-images/issues/6459

  • FrameworkBenchmarks

    Source for the TechEmpower Framework Benchmarks project

  • >For instance, for most web apps, you spend a large amount of time waiting on database responses.

    Still, for web apps there are still huge gaps based on language and framework used.[0]

    [0] https://www.techempower.com/benchmarks/#section=data-r21

  • equinox

    Elegant easy-to-use neural networks + scientific computing in JAX. https://docs.kidger.site/equinox/

  • +1 for JAX. Basically designed to be the successor to TensorFlow, and much nicer to work with. Strangely I've not seen it discussed around HN much but it's what I do 100% of my work in these days.

    Whilst I'm here: shameless self-promotion for Equinox and Diffrax:

    https://github.com/patrick-kidger/equinox

  • diffrax

    Numerical differential equation solvers in JAX. Autodifferentiable and GPU-capable. https://docs.kidger.site/diffrax/

  • https://github.com/patrick-kidger/diffrax

    Which are neural network and differential equation libraries for JAX.

    [Obligatory I-am-googler-my-opinions-do-not-represent- your-employer...]

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • cligen

    Nim library to infer/generate command-line-interfaces / option / argument parsing; Docs at

  • rosettaboy

    A gameboy emulator in several different languages

  • taichi

    Productive, portable, and performant GPU programming in Python.

  • I would love to see the OP benchmarks with Taichi applied: https://github.com/taichi-dev/taichi

  • githut

    Github Language Statistics

  • https://madnight.github.io/githut/#/pushes/

    Checking here, if we go by pushes on GitHub, JS, Python, Ruby, Java, PHP are the top for 2021.

    This is of course biased to only stuff on GitHuband public (assuming, but doubt they're publishing private data on BigQuery).

    No idea how much of that is pet projects vs production of course.

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