4 ms·
In no other mainstream language other than C (and maybe non-idiomatic C++) would this have ever been a problem.
by tptacek 4y ago
In no other mainstream language other than C (and maybe non-idiomatic C++) would this have ever been a problem.
- ollien 4y agoYeah, most folks in C++ would just use an std::vector, right? I guess if you wanted to use the modern abstraction of std::array, it could be a problem, since using `operator[]` on a non-existent element produces UB.
- tjoff 4y agoThat is fair, though, I'd guess that no other mainstream language except for modern C++ and Rust would fit the bill of OpenSSL. Both of which are embarrassingly recent. It is not a failure of C that we couldn't improve on it for so many decades.