Fortran now in the Great Language Shootout
From: Simon Geard (simon_at_quintic.co.uk)
Date: 02/28/05
- Next message: Joost: "Re: Fortran now in the Great Language Shootout"
- Previous message: Jan Vorbrüggen: "Re: gfortran bug?"
- Next in thread: Joost: "Re: Fortran now in the Great Language Shootout"
- Reply: Joost: "Re: Fortran now in the Great Language Shootout"
- Reply: Gordon Sande: "Re: Fortran now in the Great Language Shootout"
- Reply: beliavsky_at_aol.com: "Re: Fortran now in the Great Language Shootout"
- Reply: Jim: "Re: Fortran now in the Great Language Shootout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Feb 2005 09:37:39 +0000
Thought you might like to know that Fortran now appears on the Great
Language Shootout:
http://shootout.alioth.debian.org
I have already submitted fixes for sum-file and statistics tests.
One thing that this has highlighted is that the sum-file program is
about 10 times slower than the corresponding c-program. I expected
variation but 10x seems excessive to me - is this what is to be
expected? Is it a compiler problem? Any ideas?
! The Great Computer Language Shootout
! http://shootout.alioth.debian.org/
!
! Simon Geard, 6/12/04
!
! Building info.
! ==============
!
! Linux - using the Intel Fortran90 compiler:
!
! ifort sum.f90 -O3 -static-libcxa -o sum
!
program sum
implicit none
integer :: datum, s
s = 0
do
read(5,*,end=10) datum
s = s + datum
end do
10 continue
write(*,'(i0)') s
end program sum
Simon Geard
- Next message: Joost: "Re: Fortran now in the Great Language Shootout"
- Previous message: Jan Vorbrüggen: "Re: gfortran bug?"
- Next in thread: Joost: "Re: Fortran now in the Great Language Shootout"
- Reply: Joost: "Re: Fortran now in the Great Language Shootout"
- Reply: Gordon Sande: "Re: Fortran now in the Great Language Shootout"
- Reply: beliavsky_at_aol.com: "Re: Fortran now in the Great Language Shootout"
- Reply: Jim: "Re: Fortran now in the Great Language Shootout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|