I was researching this topic for a some time, but I can't find definite answer (and I don't hope to find it there). Is it feasible to do heavy computations using C++? I mean specially computations on large multidimensional arrays.
C++ has mechanisms which can help writing quite clean optimised code (specially templates). I don't know if I remember correctly, but aren't floats in C/C++ promoted in statements to doubles, which can hurt performance? Some of the libraries look good, but how fast and easy are they?
Maybe learning FORTRAN is better alternative. I heard there are new standards which make programming in it more 21st centuary and that it is very popular in scientific community. It is also optimised and easy to use in matrix operations. Does this make learning it a good choice if I want to do computational chemistry, or is it better to learn more C++?
Zjarek
2
Junior Poster in Training
Recommended Answers
Jump to PostOn PCs there was a speed difference some 30 years ago, but hardware technology has advanced to where there is no longer a speed difference. Here is just one of many threads you …
All 2 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.