Using Rust to corrode insane Python run-times

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

Scout Monitoring - Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com
featured
InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
  • Servo

    Servo, the embeddable, independent, memory-safe, modular, parallel web rendering engine

    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

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • 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.

  • 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: Attaching to a Virtual GPU over TCP

    5 projects | news.ycombinator.com | 9 Aug 2024
  • Fast Python: High performance techniques for large datasets

    1 project | news.ycombinator.com | 24 Jul 2024
  • This Week In Python

    5 projects | dev.to | 14 Jun 2024
  • Show HN: Beta9 – Open-source, serverless GPU container runtime

    2 projects | news.ycombinator.com | 13 May 2024
  • Graph Data Fits in Memory

    1 project | news.ycombinator.com | 15 Apr 2024