Re:Can Fortran survive another 15 years?
by shoubidouwah on Sunday April 30, 2023 @05:34AM
(#35761014)
for fortran, the intel one (ifort) generally produces much faster binaries. The NAG compiler is known for having great warnings / quality control and pushes you to write better code. Both are available for windows compilation. I do not know the others, but GCC is very good if you do nothing performance critical (but then again you're writing fortran...), you want good but not great checks, and you do not need windows binaries.
Everyone I met who writes fortran (mainly for quantum chemistry, solid state physics programs) uses multiple compilers to ensure the highest quality code.
> for fortran, the intel one (ifort) generally produces much faster binaries.
Unless you happen to have a AMD processor, then the Intel compiler will go out of its way to cripple performance. See https://news.ycombinator.com/item?id=30935064
Re:Can Fortran survive another 15 years?
by marshallward on Saturday May 06, 2023 @01:10PM
(#35843304)
I have not yet seen anything like this, but I have observed the Intel compiler produce different bytecode on Intel and AMD machines.
In one case, the compiler would use masking vector instructions on Intel but not on AMD. It was also the correct decision: Those instructions have very low latency on Intel, but are many times slower on AMD. On each platform, it produced the best bytecode that it could.
Besides sibling comment, more up to date ISO Fortran support.
Really? What have they got that GCC can't munch?