Is fortran a mid level language or high level language | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is fortran a mid level language or high level language

I found on internet that fortran is a high level language.. But then they say its speed is almost same as c or sometimes even faster... Now c c++ and java are said to be mid level language.. And fortran is faster than java and c++ usually... How is that possible... And is fortran as close to hardware as c or c++ or java.. Plz help

31st Mar 2020, 12:57 PM
Teddy
Teddy - avatar
2 Answers
+ 4
High level doesn't mean faster. Fortran was created for fast numeric calculations and is still used for that purpose. Nowadays there aren't big differences thanks to modern compilers. In my opinion the speed of execution depends on how well optimized is your code. For example you can write a code in assembly that is much slower than in c++.
31st Mar 2020, 1:21 PM
Simone Crema 🇮🇹
Simone Crema 🇮🇹 - avatar
+ 2
Do it matter? "What application have you developed with Fortran" would be more important.
31st Mar 2020, 1:14 PM
Gordon
Gordon - avatar