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

In C++ I can write a generic vector math routine that operates on any scalar type and still simd specialize it for particular scalar types.


You can do that in many languages...


Statically typed i.e. without a inner loop dispatch penalty? Which others? I've considered an implementation in Fortran and OCaml as well. OCaml is attractive but doesn't cross compile to ARM officially. With C++ we can target x64, ARM and TI DSP with the same core processing module.


Have you tried Haskell?


You're not describing a problem. You're describing a solution, that C++ can implement.




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

Search: