Heard about the software Fortran

In summary, Fortran is a programming language that is used for maths and science projects, it is harder to use than other languages but has higher performance.
  • #1
sara_87
763
0
Hello,

I just heard about the software Fortran but i know nothing about it. I heard it is better than Matlab when dealing with numerical methods.
Is it easier to use than Matlab?
 
Physics news on Phys.org
  • #2


FORTRAN is a programming language (like Java or Basic) - in fact the first programming language.
It's been used for 50years for most maths and science projects because mathematicians and scientists were the main users of computers.
It's certainly harder to use than a maths specific language like Matlab/Mathematica but has higher performance if you need to run huge tasks - like simulating a nuclear weapon or predicting the weather.
Unless you end up working in a field like this on existing code you are likely to never need to learn Fortran today
 
Last edited:
  • #3


ok, what about if i want to install it on my computer, do i have to buy it or is it free from the internet?
 
  • #4


There used to be several companies selling Fortran on PCs but I don't know if any are still around - it's more a workstation-supercomputer market.

Gnu produce a free fortran compiler - http://gcc.gnu.org/wiki/GFortran
The most common Fortran out there is from 1977 and is called fortran77, there have been a few updates the most recent major one in 1995 = fortran95 . fortran isn't used very much for new projects, if you are learning this to get a job most of the coe out there will be F77 so using the newer features isn't necessarily an advantage.
It's a fairly simple language but doesn't have many of the new features of programming (classes, objects, templates etc) from somethign like Java, C++ or python. It's much more like Basic.
Also don't expect much in the way of nice IDE or GUI resources, fortran is from the time of green screen terminals and teletype printers.
 
  • #5


I feel like mgb is fortran bashing here a little (haha). As mentioned, much of the fortran software that exists today is written in fortran77, which is not object-oriented, typically is written such tha variables are declared on the fly, and is just all-in-all hard as hell to read, modify, or use.

However, with standards updates in 1990, 1995, 2003, and 2008, it is just as "nice" to use as C++, with full object oriented programming, etc etc. I personally work in the aerospace industry, and you not a see legacy code, or a new code being developed that is not written in FORTRAN.

Aside from GFortran, G95 is also a very nice free open source compiler. You can get into workspace environments with things like VisualFortran, but expect to pay.
 

Related to Heard about the software Fortran

1. What is Fortran?

Fortran is a high-level programming language primarily used for scientific and mathematical applications. It was developed in the 1950s and is still widely used today.

2. What are the advantages of using Fortran?

Fortran is specifically designed for scientific and engineering computations, making it efficient and optimized for these types of calculations. It also has a large library of mathematical and scientific functions built-in, making it easier for scientists to use.

3. Is Fortran still relevant in modern science?

Yes, Fortran is still widely used in scientific computing, especially in fields such as physics, chemistry, and engineering. Many legacy codes are written in Fortran and continue to be used and maintained.

4. Can Fortran be used for other applications besides scientific computing?

Yes, while Fortran is primarily used for scientific and mathematical applications, it can also be used for general-purpose programming. However, there are other languages that may be more suitable for non-scientific applications.

5. Is it necessary to learn Fortran as a scientist?

It depends on your specific field and the type of research you are conducting. If your work involves heavy mathematical and scientific computations, knowing Fortran may be beneficial. However, there are other programming languages that can also be useful for scientific applications.

Similar threads

  • New Member Introductions
Replies
4
Views
122
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
6
Views
2K
  • Special and General Relativity
Replies
2
Views
619
  • Programming and Computer Science
Replies
16
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
12
Views
370
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
2K
  • Computing and Technology
Replies
3
Views
2K
Back
Top