3 ms·
> I see two reasons why C++ is not a suitable language for domain specialists in numerical computing. Have you heard of MPI or even OpenMP ?. They can be used
by melan13 7y ago
> I see two reasons why C++ is not a suitable language for domain specialists in numerical computing.
Have you heard of MPI or even OpenMP ?. They can be used to accelerate fast computation in C++ or even work on domain-specified parallel execution.
- enriquto 7y 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 7y agoDidn't they originate with Fortran?
- melan13 7y ago> Hence why learning Fortran ?
- coldacid 7y 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 7y 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.