BLAS bindings and high-level wrapper library
Saturday, July 5, 2008
Joe Groff has implemented a BLAS binding in Factor. This is really cool stuff, and should enable some neat applications which require high-performance linear algebra. Joe writes,
One day, Factor's compiler will generate such incomprehensibly fast code for math.vectors and math.matrices that nobody will even consider using C or Fortran ever again. In the meantime, you can now call out to everyone's favorite Fortran fast-math library through a few hopefully easy-to-use vocabs--check out math.blas.vectors, math.blas.matrices, and, for purists, math.blas.cblas.
The code is now in our git repository.