Re:C++ and the Culture of Complexity (2013)
by poster123 on Wednesday January 31, 2018 @07:46AM
(#16273419)
If you are doing scientific computing, have you considered Fortran? The gfortran (GCC Fortran) compiler supports Fortran 2003, which has object-oriented features, and since Fortran 90 the language has had array operations and syntax similar to Matlab or Python with numpy.
Re:C++ and the Culture of Complexity (2013)
by nextos on Wednesday January 31, 2018 @08:39AM
(#16273702)
I'm not a big fan of Fortran for my particular domain, which includes lots of strings (biological sequences). Here Fortran is not as quick. See for example the k-nucleotide benchmark:
https://benchmarksgame.alioth.debian.org/u64q/performance.ph...
More importantly, for my niche I don't see anything that can readily replace C++. Rust has very little support for scientific computing. Julia is great, and will replace my high level statistical inference code, but it's not designed to let me design low-level close-to-the-metal data structures. Scala has memory issues, which will be hopefully less problematic once value types are implemented in the JVM. OCaml and F# look interesting, I haven't evaluated these carefully.