I'm an academic in computer science (College of Computing and Digital Media, DePaul University) with wide experience in software development, mostly in production planning and scheduling (steel industry) and product configuration (truck and bus manufacturing). Details on books and other publications are available at
Marty Kalin
| Follow @kalin_martin
Chicago
Authored Comments
I think there's been significant improvement in C libraries, especially with respect to heap-allocated storage. For example, most libraries (e.g., OpenSSL) now provide customized freeing functions that handle nested heap allocation automatically and, in general, enforce constraints on raw pointers. (Tools such as valgrind are likewise a great help.) That said, Rust remains, I think, in a league of its own when it comes to enforcing memory safety.
Thanks for spotting: I agree. The standard does specify that an int must be at least two bytes and, as noted, nowadays it's typically four bytes.