4 ms·
C/C++ is the language of choice for scientific and massively parallel programming. as far as I know Haskell is not really competitive in that area.
by bromang 14y ago
C/C++ is the language of choice for scientific and massively parallel programming. as far as I know Haskell is not really competitive in that area.
- lutusp 14y ago> C/C++ is the language of choice ... Linus Torvalds would disagree that C and C++ are the same language as suggested by "C/C++" and by the singular pronoun that follows. http://harmful.cat-v.org/software/c++/linus http://harmful.cat-v.org/software/c++/linus And maybe too much weight is given to Torvalds' views on this and other topics.
- danieldk 14y agoLinus Torvalds would disagree that C and C++ are the same language as suggested by "C/C++" and by the singular pronoun that follows. One can easily program as if it were C, using templates to avoid ugly macro mess for generic algorithms and types. Edit: corrected is -> as.
- lutusp 14y ago> One can easily program is if [sic] it were C, using templates to avoid ugly macro mess for generic algorithms and types. Did you mean "as if"? If so, that's exactly what Torvalds objects to -- the things about C++ that supposedly represent improvements over C. He goes on about how many of the conveniences of C++ -- like the STL -- aren't as wrung out as most people think and don't actually work as intended. I don't necessarily agree with his position in all respects, but some of the enhancements in C++, aren't actually enhancements.
- VeejayRampay 14y agoYeah, C/C++ or Python/NumPy, Haskell is still a niche language that some people like to talk about, but all numbers and statistics on the matter seem to indicate it's never actually been preferably used to solve problems in any domain.
- Loic 14y agoFor scientific computing, you have an insanely well designed languaged, with it you can run extremely fast computations, optimally tuned for your hardware even on multicore systems. The language is Fortran.
- mercurial 14y agoI gather Numpy is quite popular in this area as well (ok, you can argue that a lot of Numpy is actually C).