Results 1 to 6 of 6

Thread: [FORTRAN] Worth Learning?

  1. #1
    Join Date
    Aug 2008
    Beans
    82

    [FORTRAN] Worth Learning?

    As I continue to work on my thesis on matrix structural analysis, I have been finding a number of older text books that have program functions to perform similar operations all writen in Fortran. I have been working in Matlab so far, and am wondering if I should consider incorporating some Fortran code for 2 reasons:

    1) I have read reports about Fortran being a lot faster than Matlab, but I cannot compare the 2 as I have no experience in Fortran.

    2) My lecturer has a lot of his own work written in Fortran which I am able to incorporate if I choose to.

    Fortran seems like it was such a popular language, but in todays age it seams to be almost forgotten in terms of a language for engineering applications taught at a university level. I think it was on this site that I read that it is still used on super computers so I would have thought it would be a little more popular at a university level.

    I just wanted to see what people on this forum had to say bout Fortran.

    Thanks, Elbarto

  2. #2
    Join Date
    Dec 2006
    Location
    Australia
    Beans
    1,097
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [FORTRAN] Worth Learning?

    Fortran is still a popular language for mathematics, so if you're into that field, then it might be a useful thing to know. The fact you've already encountered a lot of Fortran in your work should be a good indicator of its usefulness.

  3. #3
    Join Date
    Aug 2008
    Beans
    82

    Re: [FORTRAN] Worth Learning?

    Yes I am sure Fortran is a very useful language, but my query is that why have languages such as Matlab become so much more popular. Is it because development time in matlab etc is alot faster than Fortran, and is there a big enough speed difference between Fortran and Matlab to warrant the time invested in writing some commands in Fortran?

  4. #4
    Join Date
    Nov 2008
    Beans
    5

    Re: [FORTRAN] Worth Learning?

    Hi

    The last time I did any work in fortran was for y2k
    on some library files. AFAIK the files are still being
    used. All I know is it paid well

  5. #5
    Join Date
    Dec 2006
    Location
    Australia
    Beans
    1,097
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [FORTRAN] Worth Learning?

    Quote Originally Posted by elbarto_87 View Post
    Yes I am sure Fortran is a very useful language, but my query is that why have languages such as Matlab become so much more popular. Is it because development time in matlab etc is alot faster than Fortran, and is there a big enough speed difference between Fortran and Matlab to warrant the time invested in writing some commands in Fortran?
    Matlab is good for tasks that are not performance-critical.

    I'm not a mathematician and have only limited experience with Matlab. My impressions at the time was that it was easy to use, but relatively slow compared to "real" programming tools.

    I don't know Fortran, but from what I've observed, it is used for situations involving extremely large data sets or very complex algorithms, such as simulations (eg. weather, economics, fluid dynamics).
    Last edited by samjh; November 19th, 2008 at 12:52 PM.

  6. #6
    Join Date
    Sep 2006
    Beans
    1,181
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: [FORTRAN] Worth Learning?

    Hello,

    let me contribute to this discussion with the following point of views, which I say in advance that are completely subjective:

    • Fortran is ideal for mathematical calculations. Maybe its the best language for someone who wants something close to "what I'm thinking I can write it down almost exactly as I thought it".
    • If you use matrixes and/or you want very nice graphical support matlab is the choise for you. Yet, it is cumputationaly costly.
    • For physics and mathematics fortran is an ideal tool. It doesn't take my by surprise that you find code written in fortran. It was and is used a lot by scientific community AFAIK.
    • Some times you see what your environment chooses to work with, and you have to adapt to it, so as to be able to communicate better, e.g. your supervisor.
    • Mostly it has to do with what you want a language to do for you. There is no one that will cover all your needs perfectly.


    So it is worth learning? The choise is completely yours!

    Regards!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •