FORTRAN in 100 Seconds

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 มิ.ย. 2022
  • Fortran is the world's first high-level procedural programming language developed at IBM in the 1950's. It made programming accessible to the average human and is still used today for scientific computing.
    #science #programming #100secondsofcode
    🔗 Resources
    Fortran Docs fortranwiki.org/fortran/show/...
    Fortran History www.ibm.com/ibm/history/ibm10...
    Assembly in 100 Seconds • Assembly Language in 1...
    C in 100 Seconds • C in 100 Seconds
    📚 Chapters
    🔥 Get More Content - Upgrade to PRO
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
    🎨 My Editor Settings
    - Atom One Dark
    - vscode-icons
    - Fira Code Font
    🔖 Topics Covered
    - History of Programming Languages
    - When was Fortran invented?
    - Who created Fortran
    - Is Fortran still used?
    - Fortran basics tutorial
    - What is Fortran used for?
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 1.9K

  • @Alimenteocerebro
    @Alimenteocerebro 2 ปีที่แล้ว +5035

    I was not expecting the code to be so clean and simple.

    • @saulaxel
      @saulaxel 2 ปีที่แล้ว +426

      Fortran 95 is highly different from older standards.

    • @nonadqs
      @nonadqs 2 ปีที่แล้ว +89

      Hello fellow Brazilian.

    • @SebastianLopez-nh1rr
      @SebastianLopez-nh1rr 2 ปีที่แล้ว +14

      It’s awesome

    • @arduous222
      @arduous222 2 ปีที่แล้ว +119

      @@saulaxel Then again, Fortran77 isn't that awful to look at, except for that 72 character limits.
      edit: 80->72, thanks to Vincent Goudreault

    • @Maxdrive1993
      @Maxdrive1993 2 ปีที่แล้ว +11

      I wish RPG II and III look as good

  • @Kim_Miller
    @Kim_Miller ปีที่แล้ว +1395

    I started learning Fortran in 1968, my first year at university studying electrical engineering. Walking around campus with stacks of cards was the top nerdy status symbol - other than drinking. A year later we headed to a lecture and found the TV set up in front showing the moon landing. No lecture that day as we watched the whole broadcast. And then we found out that the moon landing mission was written with Fortran. It put us all among the stars for that moment.

    • @KameraShy
      @KameraShy ปีที่แล้ว +77

      And you were a Super Nerd if you carried the long box of cards emblazoned with a Big Blue IBM logo. BTDT. 1969. But pity the poor schlub who tripped and spilled the box of cards which he had neglected to sequence.

    • @rorysparshott4223
      @rorysparshott4223 ปีที่แล้ว +11

      I first started learning Fortran in 2011, my first year at university

    • @johnfranchina84
      @johnfranchina84 ปีที่แล้ว +18

      Leant FORTRAN for my electrical/electronics engineering degree Down Under back in the 70’s. Used a stack of punch cards and handed them over to be executed. If one card was wrong, the execution was aborted and panic to fix the card, resubmit and hope that it would execute in term for handing in the assignment. Even then it was a cool language.

    • @ignacewinfield1439
      @ignacewinfield1439 ปีที่แล้ว +8

      I thought it was coded with machine language program hardwired on the memory … I remember one guy told the story of debugging among the printed 1s and 0s

    • @stevefuller2755
      @stevefuller2755 ปีที่แล้ว +2

      And a big stack of fan folded green bar.

  • @coachafella
    @coachafella ปีที่แล้ว +350

    First programming language I learned many decades ago. Discovered I had a knack for it, diverted my studies from electronics to software. Was the beginning of a long and prosperous career. Very grateful for that course.

    • @justinecooper9575
      @justinecooper9575 ปีที่แล้ว +6

      Mostly the same here. After I took a Fortran 4 course I switched from math to computer science.

    • @gr8dvd
      @gr8dvd 10 หลายเดือนก่อน +1

      Took a much more circuitous route to software development, initially coding in Fortran for applications in architecture/urban planning, then computer mapping in urban/environmental planning eventually software development for all kinda clients.

    • @bluenetmarketing
      @bluenetmarketing 10 หลายเดือนก่อน +6

      The same thing happened for me, except I came from chemistry to computers.

    • @occamraiser
      @occamraiser 10 หลายเดือนก่อน +6

      I had 10 years of wonderful career as a SW engineer, till I moved to the management dark-side. (because there were no old software engineers in 1995 I assumed you had to move into management..... I didn't realise that it was just because the whole industry was only 20 years old). Management is not as much fun as being paid to write software.

    • @BrianKrahmer
      @BrianKrahmer 10 หลายเดือนก่อน

      my story almost exactly the same as well. really i learned basic first, pascal second, then had to take fortran as one of my first classes at college. at the same time i picked up hacking, learning C, and the rest was history!

  • @archstanton_live
    @archstanton_live ปีที่แล้ว +8

    When I learned Fortan in the early '70s the university computer center was open 24/7. All the serious geek students would be there in the wee hours as early AM had the best turnaround time for card batches on the 360.

  • @sebastiangudino9377
    @sebastiangudino9377 2 ปีที่แล้ว +3088

    Cool to see Fireship showcasing the hot new technologies. Surely this one will blow up soon

    • @ancrobot8399
      @ancrobot8399 2 ปีที่แล้ว

      Sub to Ancrobot if u like fireship's edits

    • @user-wc1sm8cj8s
      @user-wc1sm8cj8s 2 ปีที่แล้ว +26

      LOL

    • @abubalo
      @abubalo 2 ปีที่แล้ว +14

      I have no doubt.

    • @alexradu1921
      @alexradu1921 2 ปีที่แล้ว +58

      well in case of a nuclear winter we will go back to origins, so indeed it will be popular again

    • @not_herobrine3752
      @not_herobrine3752 2 ปีที่แล้ว +27

      where the punch cards at

  • @StephanWahlen
    @StephanWahlen 2 ปีที่แล้ว +639

    My dad was a convinced Fortran user for 30+ years. He did use it to perform FFTs on gigantic complex number matrices and solve huge complex differential equations for his job. They performed cutting-edge radar imagery with a language that was invented 50 years ago! At almost real time!
    Now he's happily retired and all i learned at uni is matlab and java :(

    • @gary9821
      @gary9821 2 ปีที่แล้ว +95

      This is one of the key reasons Fortran is still around, I think. You could build your whole scientific career building on the programming you did at the start. You could keep adding to it, expanding the science and math and libraries from colleagues, add more modern features to the code, etc. You could add parallelism (with OpenMP and OpenACC and coarrays). You could just keep building and building and building applications to support the science.
      Your code ran fast, and as compilers and hardware improved, even your old code ran faster.
      There aren't a lot of programming environments where this could stay true for decades, and the careers of those that followed after you.

    • @davidfraser2946
      @davidfraser2946 2 ปีที่แล้ว +11

      That was my dad also, but with sonar.

    • @janisir4529
      @janisir4529 2 ปีที่แล้ว +6

      That sounds like a use case that would be sped up a lot with gpu acceleration.

    • @teobalao8252
      @teobalao8252 2 ปีที่แล้ว +22

      true, you can also use GPU acceleration with fortran. I did this in my thesis in mechanical engineering

    • @MrEnsiferum77
      @MrEnsiferum77 2 ปีที่แล้ว +28

      We just living in poisoned IT community, everyone tries to look smarter. I'm sick and tired of how is progressing IT in recent years. We hardly solve hard problems, but we talk about how we need clean code without comments inside, for stupid app of 10K lines of code, maybe less.

  • @bruceharms5511
    @bruceharms5511 ปีที่แล้ว +169

    Fortran was my first language. One correction, programmers wrote their code out on paper. Data entry operators then typed it onto punch cards. Loved this by-the-way, brought back so many memories.

    • @soaringvulture
      @soaringvulture 11 หลายเดือนก่อน +15

      Well I guess I was both a programmer and a data entry operator. I wrote code on paper and then went down to the basement to type it onto cards.

    • @stephenlee5929
      @stephenlee5929 9 หลายเดือนก่อน +3

      My first code I wrote on paper (not coding sheets) then took cards and marked the numbers/columns to be punched out using a soft (b2) pencil.
      These cards were then passed through a mark sense punch.

    • @stevefrandsen7897
      @stevefrandsen7897 3 หลายเดือนก่อน

      And we did desk checking

    • @seansingh4421
      @seansingh4421 2 หลายเดือนก่อน +2

      My professor for the numerical methods from ChemE class also had a big fondness for fortran, however he would often say that “It would be against geneva conventions if I make you learn fortran instead of excel/vba/matlab these days”

    • @rty1955
      @rty1955 หลายเดือนก่อน

      ​@@stephenlee5929a lot of times, ESP on big decks of cards, we would mark the deck with a magic marker amd make a diagonal line on the decks. This way we could visually see if the deck was mixed up and could easily put it back together. It required no special equipment othe than your eyes

  • @joelinpa185
    @joelinpa185 2 ปีที่แล้ว +56

    I programmed in Fortran 77 back in the early 1980s. It was my favorite language until I got a job programming in C. I still have fond memories of my days with Fortran on a DEC VAX 11/780.

    • @danielmichalski94
      @danielmichalski94 ปีที่แล้ว +2

      I dig out a few days ago from trash bin book called "Numerical Recipes Fortran" published by Cambridge Press from 1989 - it is based on Fortran 77. I'm reading it just 4fun and i'm quite shocked how clean and simple this language is.

    • @JuanSanchez-ik7wx
      @JuanSanchez-ik7wx 21 วันที่ผ่านมา

      Loved those keyboards. Fortan 77 = Newton Rapson ugg. So much torture in 1986. Not many fond memories. BSEE.

    • @davidsault9698
      @davidsault9698 5 วันที่ผ่านมา

      I had a course in Fortran 77 at college in the early 80s also, and we used the 11/780.

  • @daniel-wood
    @daniel-wood 2 ปีที่แล้ว +483

    Definitely did not expect this one. Gave me flashbacks to my first year scientific computing class, where I had to code everything in Fortran

    • @srotoswinipaul2341
      @srotoswinipaul2341 2 ปีที่แล้ว +2

      oh wow which year was it? do they still use that??

    • @lightningblender
      @lightningblender 2 ปีที่แล้ว

      I‘m from Germany btw and we were taught C in my 2nd year.

    • @srotoswinipaul2341
      @srotoswinipaul2341 2 ปีที่แล้ว

      @Neo JF relatively not a backward country I guess but its great to learn this too!

    • @dylanh333
      @dylanh333 2 ปีที่แล้ว +4

      @@lightningblender C, despite its age, is still a very good language to learn, especially in university, because it forces you to get a better understanding of how things like memory management work at a lower level, whereas other languages like Java and Python abstract a lot of that away.

    • @maxwellbowman4084
      @maxwellbowman4084 2 ปีที่แล้ว

      I took a “computational physics” class where we used Fortran. In 2016.

  • @prince_of_devils
    @prince_of_devils 2 ปีที่แล้ว +2013

    Punch cards had an 80 column limit, which is why many programmers still use the same limit in their text editors.
    The reason why we always use 'i' as the variable in a for loop also comes from Fortran. Because of the 80 character limit, code had to be as small as possible, and since 'i' was the first (implicit) integer available, that was used.

    • @apuji7555
      @apuji7555 2 ปีที่แล้ว +263

      Interesting, I thought it was from summation notation in math

    • @Pesthuf
      @Pesthuf 2 ปีที่แล้ว +30

      I didn't know that, thanks

    • @stanislavpinchuk1173
      @stanislavpinchuk1173 2 ปีที่แล้ว +161

      Doesn’t the namesake of i variable come from “iterator” or “index”?

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 2 ปีที่แล้ว +32

      Statements were not limited to the length of a single line. FORTRAN had continuation capabilities (put any character other than blank or “0” in column 6) since the beginning.

    • @chri-k
      @chri-k 2 ปีที่แล้ว +36

      @@apuji7555 that’s where the implicit int came from, probably.

  • @DaveTexas
    @DaveTexas 2 ปีที่แล้ว +42

    Man, this brings back memories. I had an Apple II - after I got tired of my Radio Shack TRS-80. I just did BASIC on those, though, taking my high school’s very early computer science class. I didn’t learn FORTRAN until college. We spent a lot of hours in the engineering computer labs working on our programs. I’d bring my coffeemaker with me and we’d sit at those computers until the middle of the night. The world sure has changed in 40 years. Now, we carry our computers with us everywhere and use them to order coffee...

  • @0bsy96
    @0bsy96 2 ปีที่แล้ว +61

    This is the language that I got taught in my second semester of electrical engineering back in 2014, this is how I learned the fundamentals of programming and why it was so easy for me to grasp programming with newer languages now that I'm self learning to switch careers.

  • @jstrandquist
    @jstrandquist 2 ปีที่แล้ว +888

    As someone who has actually had to use Fortran for physics research, I appreciate this greatly. It's old, weird, and creaky, but at least it has a relatively small keyword list and none of those obnoxious semicolons.

    • @mememyself4793
      @mememyself4793 2 ปีที่แล้ว +13

      Wow, can I ask you a question?
      Do you use it in simulations? Why don't you use C or C++ , is the difference in performance and speed so huge to not use C/C ++.

    • @quettle
      @quettle 2 ปีที่แล้ว +87

      @@mememyself4793 arrays are a bit more easy to work with in Fortran. And scientific computing is mostly array stuff

    • @alexscriba6075
      @alexscriba6075 2 ปีที่แล้ว +32

      @@quettle huh that’s actually quite interesting

    • @Klayperson
      @Klayperson 2 ปีที่แล้ว +17

      Have you tried Julia tho

    • @mememyself4793
      @mememyself4793 2 ปีที่แล้ว +16

      @@quettle thank you for the reply.
      So it's about easiness, arrays and the absence of semicolons. I got it now, thank you.

  • @pavfrang
    @pavfrang 2 ปีที่แล้ว +1319

    It is also a full OOP language. Classes, whole array operations and operator overloading are among the most favorite features of Fortran. [For negative responders: criticizing older versions such as FORTRAN 77, is the equivalent of criticizing pre-ANSI C, which is not quite normal. Do not criticize unless you know what you are talking about: just check the features of the latest version of the language: Fortran 2018. Computer scientists and electrical engineers were never taught (modern) Fortran; Fortran was used mainly by mechanical and aerospace engineers. That's the only reason that you do not know it. Fortran is best for a single thing: fast calculations, nothing more.]

    • @StefanoBorini
      @StefanoBorini 2 ปีที่แล้ว +65

      true, and in some aspects of its OOP it's actually more flexible than C++

    • @arduous222
      @arduous222 2 ปีที่แล้ว +68

      Only for later versions of Fortran. Scientific computing still uses Fortran77 a lot.
      Edit in response to the edit of the original comment: This comment was not a criticism nor a negative response, and I do know about the decent features of Fortran 2003 and forth. I do love them, but in practice I don't get to use them because nobody in my field uses those. The sole reason I had to mention Fortran77 is that it is still being used very widely in some fields, and might give people the wrong impression (who might have to work on F77 someday) that Fortran of any version being used is OOP. Also, comparing Fortran77 (still used widely) to pre-ANSI C (rarely used unless you have ancient computer) is somewhat ridiculous, and your overall attitude in your edit is unnecessarily hostile and assumes a lot about the comments.

    • @failgun
      @failgun 2 ปีที่แล้ว +23

      @@arduous222 wow, it wasn't quite that bad, but the chemical physics codebase I used to develop in was nearly all F90/F95 so no OOP to speak of. I'm so glad I got to help rewrite that package in C++ later on...

    • @arduous222
      @arduous222 2 ปีที่แล้ว +15

      @@failgun Maybe astrophysicists are a bit more conservative (or lazy).

    • @randomuser5237
      @randomuser5237 2 ปีที่แล้ว +37

      Fortran was invented at least 30-40 years before OOP was even on anyone's mind. It's complete bullcrap calling it a full OOP language. It's a later add-on and no one who actually use Fortran cares about it or OOP in general. It's like when an 80 year old grandpa tries to wear denims and leather jackets to look cool. It's just embarassing for everyone involved.

  • @billbeverly2864
    @billbeverly2864 ปีที่แล้ว +78

    I am retired from an Aerospace company, and back in the early 80's I was as assigned to JPL (Jet Propulsion Lab) and the ground software was all written in VAX/VMS FORTRAN. I spent 14 years working there mostly in FORTRAN then in Ada (an ungodly language). Other programmers wanted to work in c and c++, but when layoffs hit, they kept us FORTRAN people because no one else wanted to do it.

    • @occamraiser
      @occamraiser 10 หลายเดือนก่อน +5

      I was brought up on 8 and 16 bit Assemblers, PASCAL, BASIC, FORTRAN and PLM (+ the crimes against humanity that are COBOL and LISP), consequently I despise c and c++ they have no practical advantages for competent engineers who know their job and want to write efficient code. Not that I am biased in any way OFC

    • @donmoore7785
      @donmoore7785 9 หลายเดือนก่อน +2

      I worked at GE Aerospace and programmed also in VAX/VMS FORTRAN. One unit I worked in that had more hardcore software programmers working on a project used Ada - but I never had the pleasure.

    • @thomasfarrell5396
      @thomasfarrell5396 7 หลายเดือนก่อน

      ADA was sexy but my one true love was FORTRAN since I learned it on engineering course 1977ish,

    • @FasterPATH
      @FasterPATH 4 หลายเดือนก่อน

      NICE!!!

    • @1000GayOwls
      @1000GayOwls 28 วันที่ผ่านมา

      @@occamraiser hating on C because it's too newfangled and not close enough to the metal. You are truly the greybeard of greybeards and I salute you

  • @philipwakeling2777
    @philipwakeling2777 ปีที่แล้ว +35

    I started engineering school in 1972. FORTRAN IV was my first exposure to high level programming. It ran on the university’s DEC PDP10. It’s still a pretty friendly language.

    • @gr8dvd
      @gr8dvd 10 หลายเดือนก่อน +1

      Architecture 1971, Fortran 4 too. Felt really proud/smart learning it as a non-CS student ‘til this video… ONLY 100s to cover all aspects of the language. 😀

  • @PhilipSmolen
    @PhilipSmolen 2 ปีที่แล้ว +334

    I took a FORTRAN class in college in the 90's. Even back then my professor asked "Why are you here?" He knew FORTRAN from when it was necessary, and he wanted us to use things that were more modern.

    • @josephcro2138
      @josephcro2138 2 ปีที่แล้ว +83

      Why are you here? Just to suffer?

    • @petemoss3160
      @petemoss3160 2 ปีที่แล้ว +23

      @@josephcro2138 isn't that what we all signed up for on Earth?

    • @josephcro2138
      @josephcro2138 2 ปีที่แล้ว +3

      @@petemoss3160 it's a meme reference

    • @darksecret965
      @darksecret965 2 ปีที่แล้ว +11

      @@josephcro2138 I think he knows that

    • @VirtualVolition
      @VirtualVolition 2 ปีที่แล้ว +35

      For whatever reason, the state unemployment system where I live still uses fortran. When the pandemic started this was a problem since it wasn't designed to handle the volume of applicants.
      What did they do? They begged for retired developers to come work FOR FREE and fix it. Insisting that modern developers would never be able to understand Fortran lmao. Based on this video, I'm pretty sure you could have a modern C programmer figure out fortran in a shortish amount of time.
      But they knew what they were doing, they got the free labor lol

  • @ropoxdev
    @ropoxdev 2 ปีที่แล้ว +37

    Fireship in 100 seconds next please. (Also the real first)

    • @ABHAY-hu9kw
      @ABHAY-hu9kw 2 ปีที่แล้ว +2

      Yes please

    • @ropoxdev
      @ropoxdev 2 ปีที่แล้ว

      It’d be fun 🤩

  • @strayling1
    @strayling1 2 ปีที่แล้ว +20

    Yes, more please. Modern languages owe a lot more to FORTRAN than it's given credit for. A fun one is in the development of those optimising compilers you mentioned, where trying to develop a good FORTRAN compiler led to all sorts of ways to design better languages.

  • @oliverlyon8461
    @oliverlyon8461 2 ปีที่แล้ว +19

    I would personally love to see more Fortran. Fortran was the second language I ever used after learning C.

  • @mr.norris3840
    @mr.norris3840 2 ปีที่แล้ว +83

    I think this would be a great point to introduce OpenMP (and later on MPI). OpenMP works great with both C and FORTRAN

  • @astroid-ws4py
    @astroid-ws4py 2 ปีที่แล้ว +163

    Many of python's most popular machine learning/artificial intelligence/scientfic computing libraries rely on Fortran code, Also the current standard is actually Fortran 2018, And there are two great compilers currently in the works, the official LLVM one named Flang, And another one named LFortran which aims to execute Fortran code interactively as well as being able to compile it.

    • @amineawadabed
      @amineawadabed 2 ปีที่แล้ว +5

      Also gfortran

    • @monochr0m
      @monochr0m 2 ปีที่แล้ว +2

      What scientific computing library relies on Fortran?

    • @MarkEichin
      @MarkEichin 2 ปีที่แล้ว +9

      @@monochr0m Among others, "the time-critical loops [in SciPY] are usually implemented in C, C++, or Fortran"

    • @astroid-ws4py
      @astroid-ws4py 2 ปีที่แล้ว +4

      @@monochr0m numpy used to contain fortran code.

    • @Migoyan
      @Migoyan 2 ปีที่แล้ว +19

      @@monochr0m cause Fortran is fast for numerical operations. It used to be even faster on array operation than C before C added restrict keyword that disable aliasing.
      The reason why it's so fast is because when it was invented when many scientist believed that compilers produced slower code than manually written assembly code. So the compiler had to produce very optimized code in order to prove itself.

  • @bsvenss2
    @bsvenss2 2 ปีที่แล้ว +17

    I programmed Fortran on VAX/VMS many years ago and we did verify the assembly code generated (Aircraft Industry). Sometimes we coded directly in assembler. We did some tests and came to the conclusion that you only gained about 6% - 10% performance by coding assembly code directly vs in Fortran. It was so optimized.

    • @allenjenkins7947
      @allenjenkins7947 ปีที่แล้ว +7

      Nevertheless, one of my work colleagues decided that the VMS Fortran compiler was not efficient enough, do he spent two years writing his own. Meanwhile, the rest of us had finished the project that he was supposed to be working with us on.😂

    • @jameslarosa2396
      @jameslarosa2396 ปีที่แล้ว

      @@allenjenkins7947 Oh yeah, I also worked with those sort of guys.

    • @holger_p
      @holger_p ปีที่แล้ว

      No, it's more the reverse. You could not do much more than in assembler. As less complexity you can handle, as less need or possibility is there to optimize anything.
      A foreach-loop you can optimize (to a for loop) , a for loop you cannot.

  • @redpillsatori3020
    @redpillsatori3020 2 ปีที่แล้ว +16

    I would love not only to see a full tutorial, but some examples of modern use cases and projects would be nice as well.

  • @javimm77
    @javimm77 2 ปีที่แล้ว +32

    I worked as a professional Fortran programmer from 2015 to early 2019 and I really loved the language. We used the Fortran 90/95 standard and the code was quite modularized and clear. We also used some 2003 features. The original code was from the mid 90's, but we were allowed to use modern features. The code was very easy to follow, not like people would think a Fortran program looks like.
    I've seen ancient F77 code that is a pain to read, but I've also seen C and C++ code that was way uglier than a well designed F90 program. I work as a strictly C++ developer now, and I've seen some ugly C++ code. I guess it's just a matter of who is the developer more than the language used.
    Fortran 2003 is a very nice language to use, but as its origin is so old and it's used for high speed computations so it's very different to modern languages.
    I really enjoyed working with Fortran, and besides that, it was the first programming language I learned at university.

    • @wach9191
      @wach9191 2 ปีที่แล้ว +3

      What exactly Fortran is used for in this age?

    • @vincentgoudreault9662
      @vincentgoudreault9662 2 ปีที่แล้ว +4

      @@wach9191 Atmospheric simulation models, computational fluid dynamics, mechanical stress finite difference package, aircraft performance models. Things that work, need to compute fast, and should not be messed with. If you do not know where it is used, that probably means that you are not among those who know how to use it.

    • @WielkiKaleson
      @WielkiKaleson 2 ปีที่แล้ว +2

      A lot of fortran code is ancient. And follows ancient rules / programming style / prejudice (like: subroutines are slow, goto is fast).

    • @andresmartinezramos7513
      @andresmartinezramos7513 ปีที่แล้ว +4

      @@wach9191 I've used it mostly for computational fluid dynamics, finite element method and weird math involving very large matrices but with simple computations.

  • @myhumblebeginnings
    @myhumblebeginnings 2 ปีที่แล้ว +127

    One card represents 1 line of code. WOW. Programmers back then must be so sharp in thinking and seeing. They cant afford mistakes after punching 100 cards.

    • @joost00719
      @joost00719 2 ปีที่แล้ว +46

      Imagine reformatting the code from tabs to spaces

    • @aaronclair4489
      @aaronclair4489 2 ปีที่แล้ว +58

      I suppose you would first write out your entire program in a lab notebook that belonged to the company back in those days. Probably got a senior colleague to review it before punching the cards.

    • @maxdemian6312
      @maxdemian6312 2 ปีที่แล้ว +3

      I think Donald Knuth once said something about this

    • @ericbwertz
      @ericbwertz 2 ปีที่แล้ว +13

      no need for gym memberships when you had punchcards

    • @Banom7a
      @Banom7a 2 ปีที่แล้ว +38

      they made a tape to patch up the hole that they wrongly punch, hence the word "patch" to fix the software

  • @csil2863
    @csil2863 2 ปีที่แล้ว +9

    I learned more about FORTRAN in 100 seconds than I learned in a semester from an engineering professor. I subsequently learned C from a computer science class and programming made sense thereafter.

  • @justafnaffan2.016
    @justafnaffan2.016 2 ปีที่แล้ว +3

    I literally searched this up back when I first found your channel and series; this is exactly what I was waiting for

  • @Greebstreebling
    @Greebstreebling 2 ปีที่แล้ว +15

    This is a very good overview of Fortran. I was one of those average humans. I worked at AERE Harwell in the early 70's and saw the transition from punched cards, paper tape and teletypes to Visual Display Units (VDU). With punched cards the program turnaround time from punching the cards to getting your results returned was three days. So I was explaining to my son that you couldn't really build a spreadsheet app in the days of punched cards. Imagine - change the contents of cell C3 and wait for a few days to get the results :) On the other hand, calculating the Swarzchild radius of a black hole was a cinch.

    • @MathaGoram
      @MathaGoram ปีที่แล้ว

      ... and our team contributed sparse matrix routines to the Harwell library during that period.

  • @latt.qcd9221
    @latt.qcd9221 2 ปีที่แล้ว +54

    If you wanted to obtain a result from a subroutine, you need to specify the "intent" of the variable you declare. So, for instance, if you wanted to pass two integers and return their sum, you could have something like,
    subroutine addition(sum, a, b)
    implicit none
    integer, intent(in) :: a, b
    integer, intent(out) :: sum
    sum = a + b
    end subroutine
    Then, if you can call that subroutine in your program as,
    program myMath
    implicit none
    integer :: sum
    call addition(sum,1,2)
    end program myMath
    and it will set the variable "sum" equal to 3.

    • @unstable8968
      @unstable8968 2 ปีที่แล้ว +3

      That reminds me of pl/sql, where procedures have IN, OUT and IN OUT parameters, which work the same way you explained (in addition to IN OUT).

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 2 ปีที่แล้ว

      Why do you need the word “call”? Why not just have that line as
      addition(sum, 1, 2)
      as in other languages? Because there are no reserved words in FORTRAN!

    • @ruther4336
      @ruther4336 2 ปีที่แล้ว

      You don't need to specify the intent of the variable, the variable will be modified anyways

    • @JamesThunes
      @JamesThunes 2 ปีที่แล้ว +6

      @@ruther4336 to add a bit more information, you don't need to add intent to your variables, but if you *do*, the compiler can perform a bit of checking to ensure that you're not using the variable in an unexpected way. It'll complain if you define a variable as intent(in) but modify it in the subroutine.

    • @randomuser5237
      @randomuser5237 2 ปีที่แล้ว

      latt.qcd92 He said that the subroutine does not "return" a value (instead modifies the passed argument) which is correct. He's aware of the intent attribute as in his example the parameter had intent (inout) meaning it already has a value and can be modified. IMO the addition is a bad example for using subroutines as a pure function is much better suited for this purpose.

  • @paca_bill4863
    @paca_bill4863 ปีที่แล้ว +2

    Wow, does this bring back memories. We had Fortran training in high school in the mid-70's, thanks to equipment donations and computer time donated by a major chemical manufacturer in our town. We had keypunch machines installed in the classroom, the card batches would be sent over to the manufacturer's computer center at night, and we would have the runs of our programs back in the morning.

  • @MiguelRamosLIve
    @MiguelRamosLIve 2 ปีที่แล้ว +22

    Ahhh! Such memories. My dad was the Head of the Computer Department of a major governmental body in the 1960's. He taught me binary numbers when I was 6 and how to program in Fortran when I was 10.

    • @MrWaalkman
      @MrWaalkman ปีที่แล้ว +1

      It was my first language. :)

    • @soaringvulture
      @soaringvulture หลายเดือนก่อน

      @@MrWaalkman You must have talked funny.

    • @MrWaalkman
      @MrWaalkman หลายเดือนก่อน

      @@soaringvulture Still do... :)

  • @DaivG
    @DaivG 2 ปีที่แล้ว +4

    My first programming language. Interesting to see it being explained here after not seeing or using it in so long.

  • @robertholtz
    @robertholtz 2 ปีที่แล้ว +3

    The loop gag is brilliant. Bravo. 👏

  • @VitorMartinsAugusto
    @VitorMartinsAugusto ปีที่แล้ว

    Great video! Incredible how Fortran is presented in 100 seconds. Need to look for more of these videos.

  • @spaceshuttle8332
    @spaceshuttle8332 2 ปีที่แล้ว +4

    YES please. A full tutorial would be awesome, especially for those of us in engineering

  • @sudhanshumemane
    @sudhanshumemane 2 ปีที่แล้ว +46

    I definitely love to see a full Fortran tutorial, please make it happen Jeff 👐🏻

    • @mentasuavesuave01
      @mentasuavesuave01 2 ปีที่แล้ว +1

      Please don't is dead

    • @8koi139
      @8koi139 2 ปีที่แล้ว

      lmao same

    • @latt.qcd9221
      @latt.qcd9221 2 ปีที่แล้ว +6

      @@mentasuavesuave01 Not in science, it isn't.

    • @mentasuavesuave01
      @mentasuavesuave01 2 ปีที่แล้ว

      @@latt.qcd9221 Matlab or R.

    • @Migoyan
      @Migoyan 2 ปีที่แล้ว +2

      @@mentasuavesuave01 Fortran is far from dead

  • @NealB123
    @NealB123 ปีที่แล้ว +3

    Good memories. I never used it in the real world but I took a couple of Fortran classes in college and really enjoyed them. The computer lab was open 24x7 and I usually went around midnight when it was mostly empty to do my programming. The good ol' days.

  • @SavageDarknessGames
    @SavageDarknessGames ปีที่แล้ว

    Love these short explainers. Not enough information to get good at the language, but enough to destigmatize people who are scared of "more difficult" development.

  • @ForgottenMachines
    @ForgottenMachines ปีที่แล้ว +2

    Yes! I would like to see a full tutorial, thank you for this! The best 100 seconds I've spent all year, perhaps!

  • @SammYLightfooD
    @SammYLightfooD ปีที่แล้ว +3

    This series is so great, please continue it. And maybe you want to create a video playlist "... in 100 seconds", cheers.

  • @alfonsoortizavila4373
    @alfonsoortizavila4373 ปีที่แล้ว +5

    Thanks man!
    I'm currently learning Fortran and I appreciate all the help!!

    • @jurrifire1450
      @jurrifire1450 9 หลายเดือนก่อน +1

      i also want to learn Fortran whould you please tell me either it is easy to learn or not?

  • @jbsheds
    @jbsheds 2 ปีที่แล้ว +1

    Great video, as always, loving these short history lessons

  • @gusslx
    @gusslx 2 ปีที่แล้ว +18

    Wow they're really creating JS frameworks like crazy but this one seems promising! Full tutorial please

  • @foxmccloud8960
    @foxmccloud8960 2 ปีที่แล้ว +12

    Also a full tutorial would be awesome!

    • @hrivera4201
      @hrivera4201 2 ปีที่แล้ว

      wwwcdf.pd.infn.it/localdoc/f77_sun.pdf Sun Microsystem FORTRAN 77 Reference manual.

  • @fionnbracken
    @fionnbracken 2 ปีที่แล้ว +40

    Had to use it for a scientific computing module before. It may be old but it has a solid foundation, and has nice features for working with arrays, which is what makes it great for linear algebra. It's quite simple too with not a lot of keywords. Overall I liked it, but don't have much use for it outside of that niche.

    • @Lucretia9000
      @Lucretia9000 2 ปีที่แล้ว

      As a non user, what are those array features?

    • @fionnbracken
      @fionnbracken 2 ปีที่แล้ว +8

      @@Lucretia9000 it has whole array arithmetic, so if you wanted to multiply two 2D arrays element-wise, instead of having
      do i=1,n
      do j=1,n
      a(i, j) = b(i, j) * c(i, j)
      end do
      end do
      You can write
      a = b * c
      This means in a lot of cases, the code you write looks like the math you want to implement, hence the name formula translator.

    • @eventhisidistaken
      @eventhisidistaken 2 ปีที่แล้ว

      @@fionnbracken IMHO, this is not a good reason to choose FORTRAN over c++, where you can do the exact same thing syntactically with operator overloading, and for which off the shelf libraries already exist that do this.

    • @fionnbracken
      @fionnbracken 2 ปีที่แล้ว +3

      @@eventhisidistaken sure, but that's just adding complexity, with fortran it's built right into the language, no effort required. In general, c++ is a lot more complex, which means it can useful for more things. But for linear algebra, fortran's simplicity is a nice feature.

    • @eventhisidistaken
      @eventhisidistaken 2 ปีที่แล้ว +1

      @@fionnbracken If you're multiplying matrices, you are probably also in need of a full up linear algebra package. At that point a library is a library whether in c or fortran. c++ is only more complex, if you're a fortran programmer who never learned it. FORTRAN was complex when you first learned it too.

  • @chrisalexthomas
    @chrisalexthomas 2 ปีที่แล้ว

    I do like these little videos on obscure languages. Keep up the good work mate!

  • @lucasgasparino6141
    @lucasgasparino6141 2 ปีที่แล้ว +6

    Was waiting for this one, thanks!!! Out of curiosity, the latest Fortran standard is 2018, which introduced a lot of OOP related stuff, so grandpa can still pack a mighty punch! It's also pretty good at gpu computing, interfacing well with CUDA and openacc, so i recommend giving it a try if you're trying to code a fast numerical kernel :)

  • @OldDogNewTrick
    @OldDogNewTrick ปีที่แล้ว +4

    Fortran was my second computer language. The first was Easycoder for the Honeywell H200 mainframe. I started working for Honeywell back in '65 as a field engineer. I taught myself Fortran out of curiousity. Wondered how a computer without floating point number capability could do floating point arithmetic. Wrote a mortgage amortization program to test out the idea. It worked and has served me well over the years.

    • @MathaGoram
      @MathaGoram ปีที่แล้ว

      Yeah, duplicated Weizenbaum's Eliza on several machines. That is why the whole ChatGPT banter (by casual users) brings a smile to my face about Weizenbaum's admonishment.

  • @bobtnailer
    @bobtnailer ปีที่แล้ว +4

    Back in the dark ages, I learned Fortran before learning Pascal. I was a big-time geek, so I loved coding with both of them!

  • @STEVEBURTON99
    @STEVEBURTON99 ปีที่แล้ว +2

    YES, thank you, I would love to see a full tutorial. I'm not sure it's worth your time to create it, but I would definitely watch it if you did. Thanks for the summaring work that you're doing.

  • @felenov
    @felenov 2 ปีที่แล้ว +1

    Currently working with someone on a project that uses Fortran. Some really interesting functionality this thing has.

  • @eliassaf9192
    @eliassaf9192 2 ปีที่แล้ว +15

    Modern Fortran is by far the best choice for number crunching. We use it all the time because it is light weight, simple, clean, and sometimes even faster than C (especially if you know how to code efficiently, and how arrays are handled in Fortran). Not to mention that Coarray Fortran allows us to program to run scripts in parallel.

    • @davidwuhrer6704
      @davidwuhrer6704 ปีที่แล้ว

      I was hoping someone would mention the parallelism in Fortran. It's a relatively recent addition, but one many other - even more "modern" - languages lack. And most languages that do have it make it awkward to use. (I always liked how easy and natural parallel processing is in bash.)
      The video didn't mention it, maybe because most existing Fortran codebases don't support it, but I think it should have been mentioned anyway.

  • @BrunoJuliao7
    @BrunoJuliao7 2 ปีที่แล้ว +5

    Yes, please! Full tutorial would be awesome! 😇

  • @aranthos
    @aranthos 2 ปีที่แล้ว

    Dude this series is insane … amazing, really
    Amazing work

  • @islandmonusvi
    @islandmonusvi ปีที่แล้ว

    Thx for this trip down memory lane…wrote my first program for IBM360@UCSC in ‘74. It was for hyperbolic functions describing Laminar Shear trajectories on a Lifting Body

  • @lewismassie
    @lewismassie 2 ปีที่แล้ว +9

    I learnt Fortran 77 at uni a few years back. My dad, who studied comp sci in the 80s, also learned Fortran 77.
    When asked why we still use it, the lecturer said it compiles extremely efficiently compared to other languages.
    I actually rather liked it as a language, though I was unable to get a compiler working on my own machine once the course was over and have since not used it for some years. (though I do believe I still have the code I wrote)

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 2 ปีที่แล้ว

      I learned it from a book called “The Compleat Cybernaut”. The bio said the author was working in some city (might have been Liverpool) as a blacksmith. She must have led an interesting life ...
      I devoured that book over a weekend. But in those days, I had no access to an actual computer -- not for another three years.

    • @vincentgoudreault9662
      @vincentgoudreault9662 2 ปีที่แล้ว +1

      Get yourself GCC. The GFortran compiler is pretty good.

    • @lewismassie
      @lewismassie 2 ปีที่แล้ว

      @@vincentgoudreault9662 I have actually gotten it installed since I made the original comment. Have yet to figure out exactly what to do with it yet

    • @vincentgoudreault9662
      @vincentgoudreault9662 2 ปีที่แล้ว +1

      @@lewismassie Writing and compiling programs, perhaps?

  • @potsto804
    @potsto804 2 ปีที่แล้ว +32

    Great video! Could you do APL in 100 seconds, it's quite an overlooked programming language but very interesting

    • @not_herobrine3752
      @not_herobrine3752 2 ปีที่แล้ว +6

      (he needs to buy the keyboard first)

    • @ericbwertz
      @ericbwertz 2 ปีที่แล้ว +1

      @@not_herobrine3752 No need for a display since it's a write-only language

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 2 ปีที่แล้ว +1

      Dijkstra called APL “the language of tomorrow to solve the problems of yesterday”.

    • @chri-k
      @chri-k 2 ปีที่แล้ว

      computer runes

    • @LowestofheDead
      @LowestofheDead 2 ปีที่แล้ว

      Most algorithms implemented in APL could fit in a tweet

  • @JohnSmith-of2gu
    @JohnSmith-of2gu ปีที่แล้ว

    Whole video is a clean and simple introduction, nice work!

  • @genericyoutubechannel2601
    @genericyoutubechannel2601 2 ปีที่แล้ว +3

    I would pay for a FORTRAN tutorial, and I'm pretty committed to learning as much as I can WITHOUT spending money. This is really interesting.

  • @UliTroyo
    @UliTroyo 2 ปีที่แล้ว +2

    You know what Jeff, you got me. I *do* want to watch a full tutorial about Fortran.

  • @marlboro9tibike
    @marlboro9tibike 2 ปีที่แล้ว +23

    It can do loops, you just need to feed it with a punchcard over and over and over Dave.

  • @sanderdejong66
    @sanderdejong66 2 ปีที่แล้ว +3

    I started my career as a professional programmer with Fortran 77. At Uni I had done most of my programming in (Turbo)Pascal, switching to Fortran 77 was a big step backwards. I have never learned to love it.

  • @hrivera4201
    @hrivera4201 2 ปีที่แล้ว +2

    The most far away code wrote for humanity is about 20 light hours away, aboard Voyagers which was written in FORTRAN.

  • @Wandering_Horse
    @Wandering_Horse 2 ปีที่แล้ว +14

    How interesting, I have just recently taken an interest in Fortan and installed the compiler on my linux box and wrote my first hello world program. Would love to see a longer length tutorial video. Very cool. 👍🏼

    • @Carltoffel
      @Carltoffel ปีที่แล้ว

      Hi, nice to hear you want to try Fortran. If you require any further assistance, come over to our fortran-lang discourse group. :)

  • @theshermantanker7043
    @theshermantanker7043 2 ปีที่แล้ว +6

    Ah Fortran, the only language that was ever capable of butting heads with C

  • @jimdevilbiss9125
    @jimdevilbiss9125 10 หลายเดือนก่อน

    I learned and used Fortran on cards in the mid 1960s in electronic engineering classes. Wow it really made work much easier. Straight forward.

  • @hartzogLovesScience
    @hartzogLovesScience ปีที่แล้ว

    You did a good job describing Fortran.

  • @kickthesky
    @kickthesky 2 ปีที่แล้ว +6

    My mom got her start in the computer industry in the 1970s as a keypunch operator punching in Fortran code. She learned enough from punching the cards in to actually write code herself and after a few years she learned COBOL and became even more valuable. I followed in her footsteps and worked as a programmer for well over 20 years.

  • @JohnTurner313
    @JohnTurner313 2 ปีที่แล้ว +5

    My #2 after COBOL. I learned both on punch cards. Love this! Thanks for the memories!

    • @mikesmith6838
      @mikesmith6838 ปีที่แล้ว

      Ah yes! Probably a similar trajectory that I had: Basic -> Pascal -> COBOL -> IEF -> Visual Basic -> Delphi -> REXX -> C++ -> Python. So many similar structures. You might be interested in knowing that Delphi could have easily been named "Visual Pascal," because that was the language used in it!

  • @allenjenkins7947
    @allenjenkins7947 ปีที่แล้ว +1

    Although I was formally taught Algol and Basic, most of the programming that I did during my working life in scientific research and development was in Fortran. Very easy to pick up if you already know one high-level language. I adapted to Pascal fairly easily because of its similarity to Algol. By the time C and C++ came along, I had moved on to system management, so I never got to do any serious programming in C.

  • @jslonisch
    @jslonisch ปีที่แล้ว

    I was lucky enough to be of the generation that got taught Fortran in high school applied math class. What a great introduction to general computing that was for someone that went on to be an engineer not a programmer.

  • @nickfinch8182
    @nickfinch8182 2 ปีที่แล้ว +13

    Great video! I’m working with a group of researchers modeling heat transfer and fluid flow. All of our codes are FORTRAN codes, so it was nice to see this one come up. It’s not the most modern or practical language by any means, but man is it computationally powerful.

    • @abdjahdoiahdoai
      @abdjahdoiahdoai 2 ปีที่แล้ว +1

      Is there any reasons other than legacy reason to use Fortran code? Why not like C++ or Julia

    • @igorthelight
      @igorthelight 2 ปีที่แล้ว +1

      @@abdjahdoiahdoai Plain "C" would be a smarter idea ;-)
      * Julia needs a VM - RAM and CPU cycles wasted on a weak hardware.
      * C++ has OOP - potential RAM and CPU cycles wasted on a weak hardware.

    • @JamesThunes
      @JamesThunes 2 ปีที่แล้ว +7

      @@abdjahdoiahdoai two more reasons to use Fortran: it's *very* easy to work with multidimensional arrays, and if you're using Fortran you probably have a legacy application with 30, 40, or even 50 years of development behind it. Writing that from scratch in a more modern language is not feasible (and with recent Fortran versions, not really needed).

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 2 ปีที่แล้ว

      Python has the NumPy engine for operating efficiently on large multidimensional arrays, including sparse ones. With custom operator overloads, you can express complex manipulations in a single line of code.

    • @nickfinch8182
      @nickfinch8182 2 ปีที่แล้ว +1

      @@JamesThunes basically this. This code has been developed over the last 30 years and has had extensive verification with experimental results from not only the literature, but also production manufacturing use. Since this is a coupled heat transfer and fluid flow code, multidimensional arrays are the norm, rather than the exception.

  • @The_Oldguy
    @The_Oldguy ปีที่แล้ว +6

    Fortran was the "Spreadsheet" of the 60's, 70's and into the 80's. Lotus 123 wasn't out yet nor was Excel. In the beginning Fortran was limited to only 76 Characters (the last 4 positions on the Punch Card was for the sequence number, to sort the deck if you dropped it). Between Fortan, BAL and COBOL there was much that couldn't be done in Data Processing in the "Old Days". Fortan is how we got a man on the moon.

    • @keithmclean4283
      @keithmclean4283 9 หลายเดือนก่อน +1

      Loved FORTRAN and loathed COBOL.

    • @The_Oldguy
      @The_Oldguy 9 หลายเดือนก่อน

      Me too! FORTRAN IV all the way!@@keithmclean4283

    • @bobsemrau5311
      @bobsemrau5311 9 หลายเดือนก่อน

      When I learned Fortran 66 in college in the 70s columns 1-5 were for line numbers (labels), column 6 if non-blank meant this card was a continuation of the last card, code was in columns 7 - 72, and columns 73 through 80 were an optional sequence counter for the card sorter.
      Also, a "C" in column 1 meant that the card was a comment card.

    • @The_Oldguy
      @The_Oldguy 9 หลายเดือนก่อน

      Don't forget RPG, PLI, GCOS and also IBM JCL, Burroughs MCP, GE OCS control languages. 🤩

    • @keithmclean4283
      @keithmclean4283 9 หลายเดือนก่อน +1

      @@The_Oldguy Yep...... had a crack at PL1, ALGOL and even LISP at University. But somehow Fortran just seems cleaner. That might just be because I made a good living out of it for 12 years.

  • @leoMC4384
    @leoMC4384 2 ปีที่แล้ว +1

    I had a high school friend who is an engineer now. He works for this company and I remember he told me that they started back on the 80s and the entire core of their system still runs or Fortran. It's like COBOL, old but still reliable.

  • @cyberherbalist
    @cyberherbalist ปีที่แล้ว

    WOW! Cool! Gosh this takes me back. Fortran was my first programming language back in 1971, in high school. And I definitely remember the punch tape we created on the punch-tape machine so it could be taken to the local university to be run on their mainframes! My last programming language before I retired was C#. In between was BASIC, COBOL, IBM Assembly, JCL, Pascal, Modula-2, T-SQL, and Visual Basic. Those were the days, my friend.

  • @quint9
    @quint9 2 ปีที่แล้ว +5

    Would love to see a full tutorial!

  • @richdobbs6595
    @richdobbs6595 2 ปีที่แล้ว +6

    Believe it or not, I was programming in Fortran in 2014! By then, it was a decent object oriented language.

  • @antikoerper256
    @antikoerper256 10 วันที่ผ่านมา

    Ive only heard of FORTRAN but had it not been for this, I wouldnt have known what it looks like and how to access it today. I delved really shallowly into Python (im a total absolute self-learning amateur) but now knowing this, it would make sense to learn programming and through FORTRAN, as it seems to contains the core basic principles in a clear way which could be helpful in building habits and way of thinkin for all newer languages. I enjoy this channel's educational value so much! Thanks for sharing these! Much love and respect from Bulgaria

  • @antoniocampen
    @antoniocampen 2 ปีที่แล้ว +1

    i learned fortran this year in university (upm madrid), its still used sometimes in aerospace engineering

  • @stickoutofthemud
    @stickoutofthemud 2 ปีที่แล้ว +4

    My father said he was programming in Fortran for 15 years before he truly understood it, and for 25 before he truly saw the beauty of it. You can thank him for the fact that your electric clocks all run on time.

  • @zakariasahmane1132
    @zakariasahmane1132 2 ปีที่แล้ว +40

    It's funny how Fireship just made Fortran interesting for me, while my university teacher litterally made me sleep and made it look too difficult.

    • @igorthelight
      @igorthelight 2 ปีที่แล้ว +4

      A talented teacher vs "I will have my salary tomorrow..." one ;-)

    • @sandipanhazra5510
      @sandipanhazra5510 2 ปีที่แล้ว

      Which university are you in?

    • @science_trip
      @science_trip ปีที่แล้ว +2

      teachers are paid even if you are watching them even if you are not watching them. TH-camrs and instructors of online platforms needs to make things interesting to make you watch the next video or course

    • @igorthelight
      @igorthelight ปีที่แล้ว

      @@science_trip True!
      That's why I like TH-cam much more than just some offline courses ;-)

  • @paulschneider4480
    @paulschneider4480 9 หลายเดือนก่อน

    My first programming job was for an operational system written in FORTRAN on an HA pair of PDP-11/44 running RSX-11M. The year was 1993. You can run into very old systems sometimes.

  • @SilntObsvr
    @SilntObsvr ปีที่แล้ว

    Wow. I typed a few thousand lines of my own FORTRAN 77 and WATFIV code on IBM 029 keypunches (and, for a very short time, with a line editor from a terminal) starting in 1978. This video did a remarkable job of covering the language, including features that didn't exist in FORTRAN IV, FORTRAN 77, or WATFIV. And yes, my jobs were submitted to a mainframe that filled a raised-floor, Halon extinguisher protected, heavily cooled room and included two or three 60 MB hard disk drives each the size of a top-loading washing machine, as well as nine-track tape drives straight out of 1960s science fiction movies.
    Ironically, I could have watched this video on a belt-clip portable computing device with thousands of times the data storage and computing capability of that (even then) outmoded IBM 370 (though instead of my Pixel 7, I watched it on my home-built, Linux operated desktop computer).
    I think it got lost/tossed in my last move, but I used to have a pin-feed paper print of the FORTRAN source code for the original Colossal Cave Adventure game, the grandfather of Zork! and all those other text command adventures that were so big before computer graphics got good enough and fast enough to play in video.

  • @Olderthanyoda420
    @Olderthanyoda420 2 ปีที่แล้ว +7

    This video brings memories of sheer pain and joy at the same time.
    I started programming with Fortran95 in 2014, it was a necessary module for my Theoretical Physics degree. This was the hardest part of that whole degree, it almost made me cry on daily basis. Errors made very little sense, language was old, any material worth reading was pre-1990s, and asking for help online was almost pointless. It almost made me quit physics and programming.
    Almost 8 years later now, and I work as a software developer. Fortran 95 made me learn the fundamentals of programming in such a difficult way, that no coding related task has ever felt difficult since. I am almost grateful to this language.

  • @MauriceL2006
    @MauriceL2006 2 ปีที่แล้ว +3

    It is so nice finally the language I am using daily got covered! 😇 I always wonder if it has become a legacy...

  • @colofthedead6101
    @colofthedead6101 ปีที่แล้ว

    Brings back some memories. My first job out of university in 1992 was to maintain an old Fortran program that produced printed cartographic maps (similar to Google Maps). As part of the first major enhancement, I rewrote it in C++. I'd tutored Fortran to engineering students at Uni and didn't want to touch it again...

  • @tomdebevoise
    @tomdebevoise 2 ปีที่แล้ว

    One reason Fortran still exists it that many, many important applications, that are still in use today, are written in Fortran. For example the US Army Corps of Engineers, Hydrologic Engineering Center has a large library of Fortran programs that model things like floods, storm water runoff, and erosion.

  • @youcefmoulla1828
    @youcefmoulla1828 2 ปีที่แล้ว +4

    Finally, my first programming language

  • @physicalnerd2739
    @physicalnerd2739 2 ปีที่แล้ว +3

    I would love to see a 100 seconds video to Open Source licenses!

  • @lordmikethegreat
    @lordmikethegreat 2 ปีที่แล้ว

    Yes, I would like to see a full tutorial. Thanks for asking!

  • @666peacelove3
    @666peacelove3 ปีที่แล้ว

    Thank you much for this clean concise content

  • @universecode1101
    @universecode1101 2 ปีที่แล้ว +5

    APPLE II 4 KB RAM History❤ WOW Thanks Jeff

    • @TranscendentBen
      @TranscendentBen 2 ปีที่แล้ว

      That's what the very first models came with, but that was quickly changed to 16K. By the time of the FORTRAN compiler (which had the same requirements and ran under the UCSD Pascal system), you needed a "full" 64K to compile it.

  • @ericbwertz
    @ericbwertz 2 ปีที่แล้ว +5

    Oh hey, it's MATLAB's dad.

  • @edthom2210
    @edthom2210 2 ปีที่แล้ว

    I loved Fortran back in my early days. One of my favorite languages.

  • @RonSonntag
    @RonSonntag 2 ปีที่แล้ว +1

    I have the original Microsoft Fortran for CP/M on an 8" floppy disk. I wrote the world's first high-resolution mapping package running on a CP/M computer that utilized a pre-processed version of the CIA's World Data Base II containing outlines of the World's landforms, and political boundaries at about one point every 300 meters. I got this entire database to fit on my microcomputer and created high-resolution maps of marine mammal population densities around the world.
    The program was called AMP - A Mapping Package, and, originally I wrote it in Fortran and Cyber 750 assembler. It was a program in use at the University of Washington for about 7 years.

  • @JanDalhuysen
    @JanDalhuysen 2 ปีที่แล้ว +20

    ahhh, yes, my favourite programming language 😃

    • @Efecretion
      @Efecretion 2 ปีที่แล้ว

      Yes, definitely my favourite programming language...... to foooken hate man! Was forced to learn this in my engineering days. Mostly I hate it as it was the 2nd language I learned coming from C and it made me feel dumb...

    • @MfundoTenza
      @MfundoTenza 2 ปีที่แล้ว +1

      Definitely one of THE programming languages of all time

  • @markokraljevic1590
    @markokraljevic1590 2 ปีที่แล้ว +4

    fortran77 my first language, i didnt have a computer then and i wrote programs on paper, it was 2001

    • @flexairz
      @flexairz 2 ปีที่แล้ว +1

      Same here, but it was 1978 on a Philips mainframe with 64 kB of core memory and 2 MB spinning disks and none of this SSD rubbish!

  • @wulfrunian
    @wulfrunian 3 วันที่ผ่านมา

    I remember using Fortran II on an IBM 1620 and Fortran IV on an ICL 1903A at Wolves Poly when studying Computer Science. I graduated 45 years ago, the anniversary is this Saturday (29/6).

  • @ApiaryManager
    @ApiaryManager ปีที่แล้ว +1

    I learned Fortran, then Cobol, at uni back in the early 80's. I don't miss the noise those punched-card machines made!
    It was the "done thing" to shuffle your classmates program deck before it was compiled - just because we were like that ;-)
    Now my kids can't understand how we used to have to book "computer time" in advance to compile/run our programming assignments.