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

You can do it without annotations if you only do it as an optimization that's not guaranteed to succeed.


If it's not guaranteed to succeed it's not really memory safe. The subset that can be fully optimized without any annotations is really limited, more like writing old-style FORTRAN or COBOL code where you don't dynamically allocate at all to begin with. It may be "safe" but it's also not really helpful.




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

Search: