Hacker News new | past | comments | ask | show | jobs | submit login

In no other mainstream language other than C (and maybe non-idiomatic C++) would this have ever been a problem.



That 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.


Yeah, 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: