Python cryptography, Rust, and Gentoo
Python cryptography, Rust, and Gentoo
Posted Feb 11, 2021 6:11 UTC (Thu) by StillSubjectToChange (guest, #128662)In reply to: Python cryptography, Rust, and Gentoo by BirAdam
Parent article: Python cryptography, Rust, and Gentoo
...
Either way, C as a tool is blameless of programmer error."
So C is blameless for its numerous pitfalls, but Rust is responsible for people misusing cargo? No, I don't think that is a reasonable opinion.
"The final point that I have yet to hear properly explained is why C is good enough to write other languages in, but not okay for others to use."
This seems like a complete non sequitur. If your language compiler is written in C then it's only a build time dependency. If your language interpreter/vm is written in C then you must spend a lot of time making sure it's reliable and secure. In either case it is much safer than having everyone write C.
But C is on the way out for implementing new programming languages. LLVM is a C++ based project, they are even implementing their libc in C++ instead of C. GCC is using C++ for more and more of the compiler. The Go toolchain doesn't need C at all. All major JavaScript engines are written in C++. The list goes on, but clearly people don't believe that C is fit for implementing their languages anymore and will choose not to if possible.
