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

C/C++ doesn't have this restriction because the hardware doesn't have it. In assembly you can do whatever you want with memory. C was created to give as much access as possible to the hardware, while still providing many of the features of high level languages. It is not the language that is betraying you, it is you that is not clear about what the language can do.


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

Search: