Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fortran Vs C

Status
Not open for further replies.

ccrum

Electrical
Apr 20, 2001
17
Anyone have a good test to prove that FORTRAN is faster for math than C?
 
Replies continue below

Recommended for you

Most people won't have straight out "code" for you to test personally if that is what you are looking for. There exists a lot of results of more professionally done test on the web that bear out that in "general", fortran is "usually" faster for math related stuff.

I've written stuff in Fortran that has been a LOT faster than some other peoples codes. However... they used their algorithms and I used mine. Mine may have been faster just because I was using a better algorithm technique. Such things as this tell nothing about the language itself.

On a side note... I have ( just for fun ) tested Fortran against VB on several different occasions... both for numerical and non-numerical ( read, lots of string processing ) codes. The Fortran has always been at least 20% faster and has sometimes been several hundred percent faster.

Dan :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor