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

Nice writeup with helpful diagrams, thanks for sharing!

Readers might also find this short intro [1] helpful, including tips on porting. (Disclosure: author)

1: https://github.com/google/highway/blob/master/g3doc/highway_...

> many available instructions are missing from the wrappers

Highway can interop with platform-specific intrinsics (on x86/ARM, hwy_vec.raw is the native intrinsic type).

> vectorized integer math often treats vectors as having different lanes count on every line of code

Fair point, that's a cost of type safety. We usually write `auto` to avoid spelling it out.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: