✓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.
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.
Yeah, this one really had me scratching my head:
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.