By dbpokorny
What are your thoughts re: adding memory protection to C? (in other words: add a distinction between “pointer bytes” and “raw data bytes” and some rules regarding pointer assignment, arithmetic, and dereferencing that serve to treat the pointer bytes as protected memory of a “3rd space” that sits between kernel space and user space; thereby ensuring that a program can only obtain a pointer to either a stack location (with restrictions) or heap location that points to a byte in an allocated segment of memory?)
Read more here: https://news.ycombinator.com/item?id=10674523
dbpokorny comments on "Show HN: Demo of Wiki and Forum coded in C under 80k"
No comments:
Post a Comment