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

> Optimizations are only possible if iterator-style APIs are used

They make it simpler, but it also is possible to detect that loops are iteration-style access in disguise.

That takes time, so its more likely to happen in ahead of time compiled languages.

C compilers can vectorize some of such loops, so they have logic for doing that.



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

Search: