News for hackers. Stuff that matters.
Re:Can Fortran survive another 15 years? by smitty1e on Sunday April 30, 2023 @05:01AM (#35760842)
> The cost of the compiler technology—which translates a program into machine code to run on high-performance systems—is rising, with recent estimates of tens of millions of dollars.

Really? What have they got that GCC can't munch?

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.

Re:Can Fortran survive another 15 years? by Qem on Sunday April 30, 2023 @10:38AM (#35762952)
> 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.

Re:Can Fortran survive another 15 years? by pjmlp on Sunday April 30, 2023 @05:49AM (#35761074)
Besides sibling comment, more up to date ISO Fortran support.
Re:Can Fortran survive another 15 years? by xioxox on Sunday April 30, 2023 @06:36AM (#35761301)
I've encountered multiple compiler bugs in gfortran. The code wasn't very complex either - just a set of nested data structures.