74
submitted 3 months ago by nemeski@mander.xyz to c/rust@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] Shanmugha@lemmy.world -1 points 3 months ago

Well, it really is. Went for Rust from Python and gained faster execution - wooow, no waaaay. No other language can do that (sarcasm, and to add more to it: did they ever try to actually optimise code first?)

[-] fruitcantfly@programming.dev 2 points 3 months ago

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 3 months ago

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 3 months ago

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

[-] Shanmugha@lemmy.world 1 points 3 months ago

Hence my question above

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

Rust

7895 readers
49 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