Instead, write a meta-library that generates fast C / C++ / Fortran / whatever code.
Game devs have long had discussions about how to make "the one true standard vector library". Except, no one can agree.
But ... the existence of LAPACK, etc. and the nature of linalg mean that it's a very limited domain that could be specified very clearly.
So ... let users generate their own vector library, with choice of naming, language, which of the spec functions to include, simd, templated yes/no, etc.
Instead, write a meta-library that generates fast C / C++ / Fortran / whatever code.
Game devs have long had discussions about how to make "the one true standard vector library". Except, no one can agree.
But ... the existence of LAPACK, etc. and the nature of linalg mean that it's a very limited domain that could be specified very clearly.
So ... let users generate their own vector library, with choice of naming, language, which of the spec functions to include, simd, templated yes/no, etc.
I've got some ugly beginnings in Python ...