Re:Strymonas – A library for OCaml and Scala for fast, bulk,...
by nickparker on Saturday November 26, 2016 @04:56PM
(#13046102)
It's interesting that you bring up Lin Alg... I do a lot of computational geometry work and I've always rolled my own supporting libraries from essentially nothing because I (likely naively) prefer that level of control vs learning some mega-framework's abstractions of choice.
It sounds like I need to read more about MSP and maybe start using it.
Linear algebra is the other obvious-to-me application of this. Linear algebra libraries typically either create a lot of unnecessary intermediate arrays or provide ugly imperative APIs (hi BLAS!) and force that busy work onto the programmer. Deforestation is an excellent way to regain performance while still maintaining ease of use. Applications include deep learning, and this is broadly the approach taken by TensorFlow and other libraries.