Using Rust to corrode insane Python run-times

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
  1. Servo

    Servo aims to empower developers with a lightweight, high-performance alternative for embedding web technologies in applications.

    Rust is definitely used in Firefox, but Servo[0], which was going to be the replacement browser engine (or at least the testbed for that), was abandoned by Mozilla, in a limbo for some time and now under new stewardship.

    On a meta-level, I think the story that people like to tell is that Mozilla chose increasing executive compensation rather than using the same money to keep the Servo (and people working on Rust itself) employed.

    [0]: https://servo.org

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. matplotlib

    matplotlib: plotting with Python

    Difficult to draw conclusions with no code here.

    An interesting thing they didn't mention is that Matplotlib's point-in-path code is actually already in C. So this isn't really a case of Rust being X times faster than Python, it's X times faster than some other C algorithm. That's probably why X is only ~4 (they don't actually give a single-thread comparison), instead of ~50.

    https://github.com/matplotlib/matplotlib/blob/cb487f3c077c93...

    I expect the Rust code is faster because that code is waaaaay more complicated than what they probably need (https://stackoverflow.com/q/11716268/265521) - e.g. it handles stroke widths.

    IMO this result is not very interesting.

  4. scalene

    Scalene: a high-performance, high-precision CPU, GPU, and memory profiler for Python with AI-powered optimization proposals

    I really want to know what the optimizations might have looked like had they used a profiler like scalene [0] to find where the unnecessary copying was happening.

    [0] https://github.com/plasma-umass/scalene

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

  • Show HN: I built a tensor library from scratch in C++/CUDA

    4 projects | news.ycombinator.com | 18 Jun 2025
  • Stats macOS app phones home to developer's personal server

    2 projects | news.ycombinator.com | 4 Jan 2025
  • Stats – macOS system monitor in your menu bar

    1 project | news.ycombinator.com | 25 Nov 2024
  • TransformerEngine: A library for accelerating Transformer models on Nvidia GPUs

    1 project | news.ycombinator.com | 25 Sep 2024
  • CuPy: NumPy and SciPy for GPU

    8 projects | news.ycombinator.com | 20 Sep 2024

Did you know that Python is
the 2nd most popular programming language
based on number of references?