5 ms·
> Have you heard of MPI or even OpenMP ?. They can be used to accelerate fast computation in C++ these features are also available in fortran since forever
by enriquto 8y ago
> Have you heard of MPI or even OpenMP ?. They can be used to accelerate fast computation in C++
these features are also available in fortran since forever
- wahern 8y agoDidn't they originate with Fortran?
- melan13 8y ago> Hence why learning Fortran ?
- coldacid 8y agoBecause you don't have to learn yet another set of functions in a language that makes it stupidly easy to blow off your own feet, and yet still have all the advantages of those systems in a language that is actually _designed_ for calculating formulas (hence the name FORTRAN, i.e. FORmula TRANslation).
- melan13 8y agoAgain, should your users understand the code you present or should you use the language you feel more comfortable with. Reading FORTRAN formulas is a pain (just reading for example a Prime factorization function implemented in parallel written in Fortran takes 10-15min to understand). Hence, I see a large advantage of OPEN_MP & C++ here.