Re:Why physicists still use Fortran
by pklausler on Sunday December 18, 2016 @11:11PM
(#13209464)
Good luck getting a high performance implementation of A=B+C without memory allocation out of a library.
[ Parent
| on HN ]
rolling your own is pretty easy, it is a shame that the C++ standard library is a dire wasteland of bad implementations. you are right that valarray will do heap allocations and making it work on the stack is a real ballache.