Skip to content

R vs Fortran

1 message · Mike Prager

#
[This was sent to Robin earlier and is posted here in case any others are 
interested in modern Fortran.]
At 09:38 AM 10/03/2002 +1200, Robin Hankin wrote:

            
Just to remind you, you can do this kind of thing in modern 
Fortran.  Intrinsic vector and matrix operations have been available in the 
Fortran language for about ten years (since Fortran 90).  In my experience, 
Fortran is usually much faster than R.  It will probably be easier to port 
your code to modern Fortran than to C and its derivatives, and also less 
error prone.

If the code is messy, why not clean it up?  It is possible to write good 
code, and messy code, in any language.

Some comparisons of Fortran and C++, and information on modern Fortran as a 
scientific programming language, can be found at

http://www.cts.com.au/compare.html

http://citeseer.nj.nec.com/cache/papers/cs/7409/http:zSzzSzwww.cs.colorado.eduzSz~zornzSzcs5535zSzFall-1995zSzprojectszSzwharton.pdf/wharton95should.pdf

http://www.kcl.ac.uk/kis/support/cit/fortran/f90home.html

http://www.ibiblio.org/pub/languages/fortran/ch1-2.html


Whatever path you choose, good luck!