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

How does one go from "memory safe languages are not magic bullets" to "reading out of bounds is ok"? That's not a type safe argument.


I think the point is just that "memory safety is a magic bullet" is a straw man version of the actual argument, "memory safety improves security significantly over not having it".


Alas, I see the strawman version trotted out at least as frequently as the more reasonable version.


I've seem people believe that memory leaks can't happen in programs written in garbage-collected programs. So, yeah, the belief that garbage collection and/or bounds checking is a magic bullet really needs to be addressed.


They are damn good bullets. Just not silver bullets.

Restricting mutability would help somewhat. (Another bullet.)




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

Search: