News for hackers. Stuff that matters.
Re:Why physicists still use Fortran (2015) by noobermin on Sunday October 15, 2017 @03:54PM (#15478956)
Dearest me. I hope you're not under the impression that the performant part of your ML code is written in python. Python is the interface to a C++ libary in tensorflow looking at its repo on github. I don't use tensorflow, but if it's anything like numpy and scipy, they are interfaces to C libraries which are extremely performant. If the question is why can't a CFD be in python...and the answer is well, I don't know if anyone has tried it due to your point 1).
Re:Why physicists still use Fortran (2015) by jxcole on Sunday October 15, 2017 @08:23PM (#15480100)
I don't think you understand Tensorflow. Tensorflow compiles tensor mathematics into a shader that can be run on the gpu. This is usually faster than acpu computation.
Re:Why physicists still use Fortran (2015) by noobermin on Sunday October 15, 2017 @09:04PM (#15480214)
Alright. I imagine the shader compiler too isn't written in python, is it?