News for hackers. Stuff that matters.
Re:Fortran is still a thing by vmchale on Tuesday November 27, 2018 @07:19PM (#18548152)
> The issue with optimizability in C is mostly solved by the C99 `restrict` keyword

I've seen people claim this, but I've yet to see optimizing compilers for C actually match those for Fortran.

Re:Fortran is still a thing by TomVDB on Tuesday November 27, 2018 @07:31PM (#18548219)
In practical terms: what kind of performance difference would one see between optimized C(++) and optimized Fortran when running exactly the same algorithm?
Re:Fortran is still a thing by cbkeller on Tuesday November 27, 2018 @08:40PM (#18548575)
According to the Julia benchmarks (and I assume Julia folks are relatively unbiased re: C vs Fortran), it depends on the algorithm [1], but less than an order of magnitude in either direction. I'm kinda surprised Fortran doesn't do better there actually -- but at this level it probably also depends on compiler and architecture.

[1] https://julialang.org/benchmarks/

Re:Fortran is still a thing by igouy on Wednesday November 28, 2018 @11:43AM (#18553009)