this post was submitted on 20 Dec 2025
74 points (97.4% liked)

Rust

7643 readers
47 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] fruitcantfly@programming.dev 2 points 2 weeks ago (1 children)

The way to really optimize Python code, is by reducing the amount of Python code in your program, since Python itself is dog slow. Instead, you want to offload as much of the work as possible to modules written in compiled languages. So completely switching to Rust, or another compiled language, is simply taking that strategy to its logical conclusion

[–] Shanmugha@lemmy.world 1 points 2 weeks ago (1 children)

Now that should be weighted against the amount of work the rewrite is, among other factors. But anyway the article does not give any specifics

[–] fruitcantfly@programming.dev 1 points 2 weeks ago (1 children)

That's the case of for any optimization work, really

[–] Shanmugha@lemmy.world 1 points 2 weeks ago

Hence my question above