Better HN
topnewbestaskshowjobs
Log inSign up

jaisjdkaaaej

1 karma · joined Dec 12, 2023 (2y ago) · 4 submissions

Submissions

comment 2y ago · link · parent

Perhaps they aren't writing Rust because those are the people that need to write unsafe code. Chicken and egg. I'm sure it you forced all the C programmers to switch to Rust you would see a lot more use of unsafe.

comment 2y ago · link · parent

People writing C are the people that really do have to make syscalls directly, or use weird calling conventions, or whatever all the time. I see Rust replacing C++ but I have a hard time seeing it replace C because the people that desired and/or could tolerate safety, like you said, are already not writing C for the most part. That group has been firmly C++ for a long time.

comment 2y ago · link · parent

And that's the problem, I do have to make syscalls directly quite often, and so I dislike Rust immensely. There are literally dozens of us at least, but the only people ever talking about Rust on the internet always like to drag C into the conversation for whatever reason even though they are always C++ programmers.

comment 2y ago · link · parent

I'm not moving languages over memory safety and I'm not going to apologize for it either. I don't particularly like Rust and its not fit to replace C. If it replaces C++ I could care less and may even be somewhat supportive.