Rust simply moves the exploits. The only perfect language is one that can't do what your need because it lives in a sandbox and someone has to written using a language that might be exploited for software bugs. At the OS level, Rust has exactly the same exploits as C because you need to turn off the Rust code restrictions by using 'UNSAFE' to handle nondeterministic hardware events that no language or compiler can find perfect solutions for.Hi,
I'm not sure if anyone will see this as it's an old thread.
I was just watching a video regarding how hacckers break into a system.
It was above my head, but I picked up a couple of things! In this thread the are mentions of many languages, and C++ seems to be popular at the moment.
The thing I picked up on, is that C is such a powerful language that accidental not perfect CODE can be the cause of an exploit, due to an overload attack, if the CODE doesn't have protection. Some operating systems, switch this protection off if the are APPs that are old, and the CODE can't be re-written, as there's too much in an operating system.
The suggested language for better CODE is RUST.
As mentioned this is all above my head, but there it is, if I've got it right?
C.
No general-purpose programming language can be "perfectly safe".
https://www.cvedetails.com/vulnerability-list/vendor_id-19029/Rust-lang.html
It's the usual battle. Exploits are found and fixed for Rust or another low-level systems language.
There are even bugs at the CPU level hardware stage to be exploited that require fixes at the CPU level.
https://www.pcworld.com/article/407763/intel-x86-cpu-kernel-bug-faq-how-it-affects-pc-mac.html
Massive security vulnerabilities in modern CPUs are forcing a redesign of the kernel software at the heart of all major operating systems. Since the issues—dubbed Meltdown and Spectre—exist in the CPU hardware itself, Windows, Linux, Android, macOS, iOS, Chromebooks, and other operating systems all need to protect against the first exploits that have begun circulating. And worse, plugging the hole can negatively affect your PC’s performance.
Last edited:
