this post was submitted on 21 Oct 2023
60 points (88.5% liked)

Rust

8118 readers
2 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Sigmatics@lemmy.ca 5 points 2 years ago (1 children)

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 1 points 2 years 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.