Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: