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

Regarding "restrict", I don't think one puts it everywhere, just for certain numerical loops which otherwise are not vectorized should be sufficient. FORTRAN seems even more dangerous to me. IMHO a better solution would be to have explicit notation for vectorized operations. Hopefully we will get this in C. Otherwise, I am very happy with C for numerics, especially with variably modified typs.

For C++, yes, I agree.



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

Search: