this post was submitted on 22 Apr 2024
563 points (99.1% liked)
science
14714 readers
831 users here now
just science related topics. please contribute
note: clickbait sources/headlines aren't liked generally. I've posted crap sources and later deleted or edit to improve after complaints. whoops, sry
Rule 1) Be kind.
lemmy.world rules: https://mastodon.world/about
I don't screen everything, lrn2scroll
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
rust programmers couldn't imagine the memory hacks smh
I know that this is supposed to be a joke, and I do find it funny, but I also find it sad that it carries a large dose of truth. C is such a "low-level" high-level language that it makes you deal directly with memory allocation and management as well as pointer arithmetic to advance addresses in the stack, which in my opinion is very important for programmers to gain an understanding of the actual hardware and architecture their programs are running on, because I feel that many don't have that understanding. Should Rust replace C in many applications, especially low-level, I fear that we will ultimately end up with worse code because of that. (BTW I know that Voyager's program is not written in C, this is just purely about your statement on Rust.)
C will never fully go away.
Constrained environments will always remain in C.
But RUST offers the best trade off today. It is way better than C++.
C IMO is not comparable to RUST.