×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Fortran Vs C

Fortran Vs C

Fortran Vs C

(OP)
Anyone have a good test to prove that FORTRAN is faster for math than C?

RE: Fortran Vs C

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   
www.dtware.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources