I've been using Fortran since 1968 for all the reasons stated in the video. I have been developing radar data processing, data reduction, and simulation routines throughout the 53 years. I have written code in many other languages, but always return to Fortran because it is most like the equations in mathematics/engineering texts, is the easiest to code, and is by far the easiest to debug. It is not a perfect language, but long ago I learned how to minimize problems with the language. For example, I never write a routine without an "IMPLICIT NONE" statement so spelling errors don't define new variables. Fortran is the best language for handling multi-dimensional arrays since it is inherently a reference addressing language and all proper Fortran compilers know how to efficiently use the CPUs machine language indexing instructions without resorting to multiplies to obtain an indexed location and this helps make it fast. Over the years, entirely new languages have been developed supposedly to "correct" deficiencies in Fortran. In each case, Fortran was updated to incorporate equivalent constructs. For example, structures were added in F77. Later, matrix operations and parallel processing were added. Yet with all the improvements, code I wrote originally in Fortran 4 in 1968 still compiles, links, and runs correctly.
@ZeranZeran2 жыл бұрын
You sound very smart. Any advice for a guy who is very excited about legacy computing, code, and learning more about Fortran, its uses, Radar and how older programming languages are still in use today? Thanks for leaving this comment Roy, you inspired this stranger. I hope I can do work like you one day.
@paulklasmann12182 жыл бұрын
I am learning Fortran and use gfortran, but I'm also interested in older systems and I was disappointed to see that Microsoft Fortran for CP/M does not include the "complex" data type. Is there a way to add this complex data type? Thank you. Im translating a number of programs from historical publications for antenna simulations.
@royschering11402 жыл бұрын
@@paulklasmann1218 Intel Fortran runs under Microsoft's Visual Studio on a PC and supports complex numbers very well.
@snarbywrx4 жыл бұрын
Thank you for this. I program in Fortran as a hobby. If I run a tight loop in some code at my engineering job, I code the kernel of the loop in Fortran and then call it from Pyrhon. People ask me the same questions when I mention Fortran. They just want to show that the know so much, when actually knowing very little. I have compiled my Fortran code down to assembly and machine code just for curiosity sake and it is extremely optimized and compact.
@arneysrackangast71404 жыл бұрын
Been using Fortran for nearly 40 years, with this knowledge gained from running, editing, and developing air dispersion models. The biggest improvements came with Fortran 77, and Fortran 90 standards, which facilitated free-form code and data, which greatly loosened the archaic rigid syntax that was married to the old punch card system. I think another inherent advantage is that it is less cryptic than C or python. I think a layperson has a better chance of understanding a fortran algorithm than most other programming languages. I do feel there's considerable pressure to get rid of Fortran. I've never really understood why.
@threemr013 жыл бұрын
“Less cryptic than Python”… seriously? I’m not even a hardcore fan of Python, and that claim is baseless. The one thing Python has going for it, besides great available libraries, is the clarity of its code (and yeah, I do hate PEP formatting and often ignore it for personal projects, but still). As for C, it is beautiful how much you can do with 32 reserved keywords or so. Of course, some algorithms will be cryptic, but that would happen with their implementation in any language. The thing is, there are many programmers who are irrationally afraid of messing up with all the power C gives you, and choose to stray away from it. C was the last programming language you could really dominate entirely, leaving you plenty of time to learn and deal with algorithms, libraries and hardware optimizations.
@arneysrackangast71403 жыл бұрын
@@threemr01 It's not baseless. My comments stem from dealings with the scientific community and lay-person programmers, not computer programmers. Yes, Python has overwhelmingly become more popular. But, you ask a person who doesn't know python to interpret what a simple algorithm is doing, they will be lost. There is considerable jargon in python and "C", which may be highly efficient, but cant be followed or understood. Fortran, which stands for Formula translation, was good at being less cryptic and thus, more understandable. At tleast that's my personal take, as a 58-yr old boomer.
@geobeta13512 жыл бұрын
Good morning Arney, could you please suggest me a path to learn, or know its basics of, Fortran? could you suggest me any material or website? really appreciate it
@sutriadikurniawan40972 жыл бұрын
@@arneysrackangast7140 could you please suggest me a path to learn, or know its basics of, Fortran? could you suggest me any material or website? really appreciate it
@somethingsfishy84772 жыл бұрын
Gonna wait here
@ZeranZeran2 жыл бұрын
This is one of the most interesting languages I've ever heard of, and really cool that it still necessary to this day. I've probably seen it in action on the weather channel many times, or flight radar, etc. Computer science amazes me and just gets bigger the more I learn about it. Thanks for making this video!
@romanbouchouiev Жыл бұрын
Great video. Thank you for sharing.
@agp98444 жыл бұрын
This was what I was taught as well as discreet mathematics from my early years in school starting in 3-4 grade. I found it a natural way of doing everything since then even my Artificial Intelligence research and now some newer research I can not discuss
@abhabh6896 Жыл бұрын
It just works. As simple as Python, as fast as C. That has been my humble experience as a physics guy who needed things done.
@dougberrett8094 Жыл бұрын
Late to the party, but one very good reason was omitted, or at least I missed it if it was. This reason is that once a FORTRAN code has been compiled into an executable, said executable can be called from any language that can call executables. One can even name an executable and park it on the windows desk top or task bar. Keep in mind that one should only rarely compile a FORTRAN program. Rather one should learn to write subroutines, and get good at passing variables. Develop and document a subroutine for various and sundry things like finding the roots of polynomials and perhaps the area under a curve, or whatever floats your boat. When the bugs are worked out stash the executables for these routines and then call them as necessary for more complex tasks.
@sailor12006 Жыл бұрын
An undergrad chemical enginering student in the late 1960s, I learned to the program in Fortran IV using punch cards as input to an IBM 1620. What did it teach me? Logic. For my MBA thesis, I wrote a Monte Carlo simulation in Fortran IV. Some 50 plus years later, I remember those years fondly.
@KevinBalch-dt8ot3 жыл бұрын
I used FORTRAN in real-time simulation of nuclear power plants for operator training. I also used it to write a code that would take reactor instrumentation signals to calculate the power distribution and a code that would simulate nuclear fuel pin expansion when there is insufficient heat removal. I wouldn’t use it for developing user interfaces.
@code12c773 жыл бұрын
Actually because I am mathematician and when I took look at fortran it was awesome I can represent about any function I want very easy.
@pv2b2 жыл бұрын
Represent a function, you mean like TRANslate a FORmula?
@kartikmadan80803 жыл бұрын
I have just started using FORTRAN today for simulation in physics. I hope a great journey ahead with FORTRAN....🤩🤩🤩🤩
@ZeranZeran2 жыл бұрын
How did you begin to learn about FOTRAN and using it, if you don't mind me asking? This is really inspiring. Good job stranger.
@АндрейПавельев-т6т2 жыл бұрын
@@ZeranZeran i recommend a book “Modern Fortran” by Milan Curcic
@ZeranZeran2 жыл бұрын
@@АндрейПавельев-т6т I appreciate it very much, thank you!
@donharrold13752 ай бұрын
MatLab has displaced Fortran mostly for engineering and academic research. It calculates at a snails pace relative to Fortran but it's easy to learn and the toolboxes are amazing.
@callmethreeone Жыл бұрын
We like Fortran at OakRidge. This showed up in my autoplay, great video.
@asarisa-rakuwauavibaya72543 жыл бұрын
As a 28 y/o I am beyond shocked to find a video about Fortan recorded in 2021...My dad talks about learning Fortran and Cobol in college and makes it sound ancient....so this is interesting.
@everythingfunctional3 жыл бұрын
Did your dad continue programming? I'm always interested to hear stories from people who wrote code "back in the day". There's a growing movement to "rejuvenate" the Fortran ecosystem, and promote the use of newer "versions" (standard releases) of the language.
@radarmusen2 жыл бұрын
It still been used in flight simulators. I think it is a nice language to read, a little like pascal.
@पापानटोले3 жыл бұрын
When you write Fortran for production systems, do you write it like Java, means using big frameworks and libraries or write your own code more and libraries as supplement? In Java, for example, vast majority of time is spent on learning frameworks and then you become framework expert.
@everythingfunctional3 жыл бұрын
Most projects I've seen don't use many libraries at all, mostly because they have historically been very difficult to integrate into a build system without losing the ability to easily upgrade them. That's changing with fpm though, so you may see projects using more and more libraries very soon. In fact two of my clients have just switched to fpm and started using it to pull in libraries. I don't know that it will ever get to be as library and framework-centric as Java though.
@पापानटोले3 жыл бұрын
@@everythingfunctional Ok. Thank you. I know it gets heavily in scientific computing. Do you forsee Fortran getting used in Machine learning/data science in future?
@everythingfunctional3 жыл бұрын
@@पापानटोले Yes. AFAIK most ML and AI are based on linear algebra solvers, which Fortran is really good (and fast) for. In fact, my understanding is that many popular ML and AI libraries are using Fortran under the hood already.
@पापानटोले3 жыл бұрын
@@everythingfunctional thanks for the information.
@hothobart2 жыл бұрын
I was talking to the power grid specialist professor at my university, and he said all of those things are still based on FORTRAN. It’s just baked into society at this point.
@drury2d83 жыл бұрын
Never seen a person who knows fortran and is unsuccessful.
@sp3cn3 жыл бұрын
Using java on daily basis but have some plans regarding fortran as part of self development.
@pv2b2 жыл бұрын
Okay, but is there any good reason to use Fortran if you're not doing specifically numerical computation on CPU?
@everythingfunctional2 жыл бұрын
If you like it ;P. There are some objective and subjective aspects that people like. The static type system is a benefit for many people. There being a standard and a large number of different compilers is seen as a benefit by many as well. Some people really like the syntax, and some people like how explicit a lot of things are. There are certain kinds of projects I wouldn't necessarily recommend it for, like there are better ecosystems in other languages for writing web apps for example. I'd just say try it out a bit and see how you like it.
@user-BN10003 жыл бұрын
It is in My Syllabus for B.Sc in Chemistry.
@johnmiller56783 жыл бұрын
Awesome...I would love to learn Fortran
@everythingfunctional3 жыл бұрын
I've got two courses available on Udemy. They're a great place to get started. www.udemy.com/course/fortran-for-beginners/?referralCode=08A8CE5FDD5790C165EA and www.udemy.com/course/intermediate-fortran/?referralCode=E3173F90A172DFB89417
@adamthethird47534 жыл бұрын
Why not?
@jondeere56384 ай бұрын
Why use RatFOR? = Rational FORTRAN which uses a C context.
@rickhackro3 жыл бұрын
Did a lot of quantum simulation in Fortran
@Jordan4Ibanez5 ай бұрын
A very quick answer is: modern fortran is awesome
@evilroyslade24915 ай бұрын
The business world needs Cobol, Fortran, RPG, and C+ languages. Each language has benefits the other does not. Artificial Intelligence designer solutions will incorporate each language where needed. All programming languages go through a compiler to generate computer machine code for the hardware platform it will run on. How good are today's compilers?
@shivakumarnatrajan2 жыл бұрын
Ha ha... Libraries running Fortran under... That's happy to hear....
@visionpeer2 жыл бұрын
I'll tell you why, because the shitty Computer Engineering curriculum has it. And despite having no application whatsoever, it is worth 10 points out of 80 on finals.
@INT41O3 жыл бұрын
Vast majority of bugs in compilers have been fixed? Please don't make me laugh, have you actually tried using associate together with block and openmp with ifort?. It is a broken piece of crap unless you only use the old shit and none of the "new" features. The ONLY thing decent about fortran is the built-in array support, at least for rectangular arrays. Try jagged arrays and it is shitty again. I will never understand, why no language (that I know of) has fully functional multidimensional array support with custom bounds, strides etc. Something like: int a[3,4][2][-10:10,20:2:30]