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

I like that Zig allows using relaxed floating point rules with per block granularity to reduce the risk of breaking something else where IEEE compliance does matter. I think OpenMP simd pragmas can be used similarly for C/C++, but that's non-standard.


You can do the same thing with types or the wide crate. But it isn't always obvious when it will become a problem. Usung these types does make auto vectorization fairly reliable.




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

Search: