887
Languages (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] frezik@midwest.social 2 points 1 month ago* (last edited 1 month ago)

It's slightly less close to the metal as C. Array bounds checks are always going to cost you something, for example. However, if you look at the speed of numeric computation in C, Rust, and Go, they're all in the same order of magnitude performance compared to things like Python or JavaScript (not including things like PyPi, which is C with extra steps).

[-] Juice@midwest.social 2 points 1 month ago

Wow thanks so much for breaking that down for me! The discussions I've been having here and the information devs are sharing is really kicking me off the fence about learning Rust

[-] frezik@midwest.social 2 points 1 month ago* (last edited 1 month ago)

Eh, I'd still go for it. I find the Rust compiler tends to amplify my impostor syndrome--it tells you all the ways you are objectively being stupid. I know that's not really selling it, but it's doing that stuff for a reason. I'm especially hopeful that it becomes the standard way to do things with microcontrollers; that's about the only place I write C/C++ at all.

[-] Juice@midwest.social 1 points 1 month ago
this post was submitted on 25 Sep 2024
887 points (87.7% liked)

Programmer Humor

19463 readers
363 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS