Originally posted by dragon321
View Post
Announcement
Collapse
No announcement yet.
The First Rust-Written Network PHY Driver Set To Land In Linux 6.8
Collapse
X
-
Originally posted by jacob View Post
Have a look at the number of CVEs in the Linux kernel that were caused by C this year alone. I wouldn't call the kernel developers "dimwits" and that's exactly the reason why many of them welcome a path to move away from C.
- Likes 3
Comment
-
Originally posted by cj.wijtmans View Post
you realize C could have the same tools as rust right? C standards develop as well, so yes old code made with an old C standard could have bugs. And no i am not a fan of C. But rust as a language is utter garbage.
Now let's see your reasoned, insightful, conclusive arguments why rust is "utter garbage". Among other things we should let Google, Microsoft, Meta, the Linux and GNOME developers, Cloudflare and others know. Those poor guys have been using rust for some time and never noticed that it was such garbage. Fortunately they have you to tell them.
- Likes 20
Comment
-
Originally posted by cj.wijtmans View Post
you realize C could have the same tools as rust right? C standards develop as well, so yes old code made with an old C standard could have bugs. And no i am not a fan of C. But rust as a language is utter garbage.
That's not to say that people that can competently read and write C, C++, assembly, VB, etc won't be in demand. It just means their roles will change to those of maintenance and porting instead of creating new projects much like COBOL, BCPL, Modula, REXX, etc. literate programmers do today. Eventually this will happen to all such current languages in their twilight when appropriate replacements come along allowing changes or hardware failure forces a change, even Rust.
- Likes 11
Comment
-
Originally posted by cj.wijtmans View Post
Exactly the companies i avoid for being DARPA issued spyware.
- Likes 4
Comment
-
Originally posted by stormcrow View Post
Sorry, but no one ever said that while holding a straight face for long even back then. The only time I ever heard that was from kids who thought they were 133t writing assembly on their little PC or other toy home (yes they really were toys in comparison) microcomputers. Assembly for those ancient business and scientific systems were extremely specific for each computer they were written for (much like Intel/MASM syntax assembly doesn't run on non-x86 systems without massive effort for any complex program). Assembly wasn't more performant than Fortran in many cases and a hellaciously more painful to write and debug (substitute COBOL for Fortran in certain businesses). Higher level languages like C were embraced as a practical way to get software for computer A to run on computer B with relatively minimal effort. Portability was a major CS problem in the day, security was not. These systems had limited numbers of operators, behind locked doors, while networking was limited to unreliable phone lines, modems, and equally unreliable dedicated subscriber lines. Likewise, a new shift towards addressing the mistakes and limitations of the past, currently epitomized by both C and C++ but also assembly language and other languages that lack robust integrity guarantees, is now necessary. Give it up. Rust and other safe(r) languages are here to stay because the science of information security dictates that humans cannot be trusted to not make mistakes. The evidence is considerable that both users and programmers making flawed assumptions about users, problem domains, and the code they write are the primary problems in information security. There is no such thing as "perfect" code, not even with language model assisted review. Code does not and never will document itself fully. It is literally impossible to write any complex program in C, C++, assembly, etc without making mistakes that will inevitably have security implications. It's also literally impossible to encompass all input in a safe way in any Turing complete language so there's always going to be logic flaws and unaccounted for weird machine states until such time as new PLT paradigms are discovered. Which means, folks, Rust is not going to be the end game of programming languages, either. When someone comes up with something new that addresses Rust's problems and failings, it too will be replaced and the dumb argument now going on about C et al will happen with Rust... and it'll be just as stupid then as this one is now.
- Likes 2
Comment
-
Originally posted by NotMine999 View PostIMHO - Rust is for programmers that failed at learning to write proper C production code ... since I doubt that anyone can write proper C++ production code.
By the way, I've been programming C++ professionally for some 10 years and C for even longer. Currently, I'm working at embedded firmware -- pure C code. And I'd pick rust any day. Sadly, the old product depends on a proprietary C compiler and is nearly done. But the next product is near
- Likes 13
Comment
-
Originally posted by cj.wijtmans View Post
And you would be somehwat right, look at roller coaster tycoon. C also adds minimal overhead, if you can even call it overhead, allows for many optimizations compared to (bad) assembly. And you can write assembly in C. Much unlike rust.
But Rust wouldn't be rust if it wouldn't try to provide safe abstractions to scratch the usual assembly itches (currently not stabilized, yet):
Last edited by oleid; 18 December 2023, 02:26 AM.
- Likes 8
Comment
-
Originally posted by cj.wijtmans View Post
And you would be somehwat right, look at roller coaster tycoon. C also adds minimal overhead, if you can even call it overhead, allows for many optimizations compared to (bad) assembly. And you can write assembly in C. Much unlike rust.
- Likes 10
Comment
Comment