As happens anytime I make an anti-C/C++ argument, folks have chimed in to say "it's not the language's fault, it's the developers making mistakes's fault". This position is wrong for at least two reasons:
-
-
Prikaži ovu nit
-
Complex systems are heavily and successfully defended against failure (https://how.complexsystems.fail/ ) Building secure systems must rely on more than just trying hard not to make mistakes. Memory unsafe programming languages are always a single missed bounds check from catastrophe.
Prikaži ovu nit -
There is _zero_ empirical support for the idea that memory safe and unsafe languages are equally susceptible to critical vulnerabilities. Just read the
@LazyFishBarrel feed. I'm confident that many attack surfaces could have an 80% reduction in vulns in a memory safe language.Prikaži ovu nit
Kraj razgovora
Novi razgovor -
-
-
it's not C to blame for, it's the people who does it :)
-
Pro-C classic answer

- Još 1 odgovor
Novi razgovor -
-
-
You can shoot yourself in the foot also with JavaScript or "Memory Safe" languages, if you don't take precautions. The problem behind those exploit remains the person typing those errors on the monitor. Should maybe spent millions of dollars on better training?
-
Untrained or not continuous-learning personnel causes more harm to business than just switching to "better" tools. You can use all the best tools of this Earth, but without training, that's pointless
- Još 1 odgovor
Novi razgovor -
-
-
Anyone abandoning C is their own loss. How else can you otherwise experience the joys of Generic, varidic arrays, etc. features which were not there before, but now are. Sure must feel like when MASM got constructs like ".if", etc.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Realistically, you need an alternative language that can offer similar performance. Rust is not that language yet, it handles applications that use a lot of DMA in their address space (like databases) particularly poorly. I could see Rust replacing C but not modern C++.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.