Re:The "C is Efficient" Language Fallacy (2006)
by sampo on Monday January 09, 2012 @08:39PM
(#3445244)
The text in your link claims: "it is illegal for a FORTRAN subroutine to call itself recursively, either directly or indirectly". That is not true anymore (for almost 20 years), since Fortran 90 has 'recursive' keyword with which you can declare that a subroutine can be used recursively.
(Also the all-caps spelling, FORTRAN, strongly hints that the link only talks about Fortran 77.)
Re:The "C is Efficient" Language Fallacy (2006)
by ArbitraryLimits on Monday January 09, 2012 @02:08PM
(#3443790)
FORTRAN's problems with rentrancy don't mean that FORTRAN programs can't be multi-threaded, it just means that each function has to be run from the same thread every time it's called.
I'm not saying FORTRAN is great - clearly it has a bunch of problems which C mostly doesn't have, which is why people mostly use C instead. But this one single advantage (allowing the compiler to do optimizations on array work) is so important to some people that it will always be around.
Maybe it's wrong, I'm not knowledgeable about Fortran and certainly not horribly invested in this, go ahead and write a world-conquering BLAS library in Fortran if you want.