• Sigmatics
    link
    fedilink
    arrow-up
    5
    ·
    9 months ago

    Yeah, this one really had me scratching my head:

    ✓Note: there are lots of ways we could make the Python code faster, but the point of this post isn’t to compare highly-optimized Python to highly-optimized Rust. The point is to compare “standard-Jupyter-notebook” Python to highly-optimized Rust.

    • SpaceNoodle@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      9 months ago

      Yeah, it doesn’t really say anything about rust. I’ve taken plenty of slow-as-shit Python from scientists and made it fly at real-time with data acquisition in C and assembly, but that speed would be “unsafe” in rust.