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

Yes indeed, you can do some very interesting things like interpret the raw bits of a float as a character and crash or corrupt your program.


When you use void*s, you do so carefully. You can make mistakes in any language. You can get objects in Python that don't do what you expected because there's no type safety, leading to crashy behaviour (granted, no memory corruption). I think you might have misread my comment as "you can't make mistakes in C".




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

Search: