The Amazing Return of the FORTRAN Programming Language!

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 1 тыс.

  • @Bonjour-World
    @Bonjour-World 2 месяца назад +51

    FORTRAN was a requirement in the engineering when I was in college. My first program was in Fortran with punch cards on an IBM 360.

    • @Drganguli
      @Drganguli  2 месяца назад +2

      Amazing!

    • @nuke19491
      @nuke19491 Месяц назад +4

      Same here. I learned to program using WATFIV (Waterloo Fortran Five) on an IBM System 370 at the University of Manitoba-with punch cards, of course

    • @normanhopkins6114
      @normanhopkins6114 Месяц назад +1

      A Honeywell 2000 w/16K memory, 80 column punch cards, and 2400 ft tapes.

    • @glennet9613
      @glennet9613 Месяц назад +1

      Me too, in 1972. If I recall my first assignment was to invert a three by three matrix. Now I’m 79 and trying to teach myself Blender Python.

    • @Drganguli
      @Drganguli  Месяц назад

      @@glennet9613 Great!

  • @KevinBalch-dt8ot
    @KevinBalch-dt8ot 2 месяца назад +86

    I worked in the commercial nuclear power industry for 35 years and used FORTRAN for real-time simulation, nuclear safety analysis and I wrote a code to take signals from in-core detectors to synthesize the reactor power distribution to verify safety limits were not exceeded. I miss that kind of stuff!

    • @Drganguli
      @Drganguli  2 месяца назад +4

      Interesting

    • @Supernumerary
      @Supernumerary 2 месяца назад +5

      You created a “digital twin” before the term was invented. I create digital twins of hypersonic wind tunnels, for similar reasons.

    • @Drganguli
      @Drganguli  2 месяца назад +2

      @@Supernumerary True. Digital twins have been there for a long time but have now got a new name as full sync between the physical system and the model is increasingly possible due to the proliferation of sensors and internet based communications.
      Learn about Digital Twins!
      ruclips.net/video/IeMMFHwJTEU/видео.html

    • @vilandes
      @vilandes 2 месяца назад +2

      I had a similar but role but found it rather boring! CEGB - I assume?

    • @ericrawson2909
      @ericrawson2909 2 месяца назад +6

      In my first job at Lucas Aerospace I worked on an analogue computer to model a ships gas turbine propulsion system. I guess we could have called it an analogue twin. I still love analogue technology.

  • @JBManos-gg2zm
    @JBManos-gg2zm 2 месяца назад +103

    Still rocking my 77 and 90! Fastest for compute. Fortran rocks!

    • @Drganguli
      @Drganguli  2 месяца назад +2

      Yes it does

    • @JavisoGaming
      @JavisoGaming 2 месяца назад +3

      77 rocks!

    • @Drganguli
      @Drganguli  2 месяца назад +1

      @@JavisoGaming Yes it does

    • @TerrythePhysicist
      @TerrythePhysicist 2 месяца назад +3

      compiled vector Fortran can be among the fastest implementations available.

    • @DavidJamesonPhD
      @DavidJamesonPhD 2 месяца назад +1

      @@TerrythePhysicist Where are the benchmarks proving this claim?

  • @guptrakesh
    @guptrakesh 2 месяца назад +36

    I learnt FORTRAN during my college days at IIT Delhi in the year 1977. Subsequently, I worked as a software developer professional developing Structural Analysis and Design software in FORTRAN from 1981 to 1985. My experience was very positive and interesting and we developed some great applications for our organisation (Engineers India Ltd.) which were used for inhouse Structural Analysis and design of various structures. My own internal policy was to adhere to good programming pracices such as avoiding GO TO Statements, ensuring Explicit definitions of all variables used, and writing modular subroutines with extensive documentation and explanations inside the software itself using comment lines. This helped in debugging and avoiding logical errors.

    • @Drganguli
      @Drganguli  2 месяца назад +1

      Thanks for sharing.

    • @timexpeachtree
      @timexpeachtree 2 месяца назад +1

      Great 👍🏽 thanks for this gem

    • @dyson9422
      @dyson9422 2 месяца назад +3

      I used GO TO statements and found them useful, but then I never had programming training except for a basic course that I dropped. A friend of mine taught me how to program while we were walking across campus on the way to lunch.
      What I learned the hard way was to document code with comments so that those that maintain the program will know what is being done at every step. This includes a revision history at the beginning.

    • @gibbogle
      @gibbogle 2 месяца назад +1

      Modules are very useful. I also use defined types and pointers in combination a lot.

  • @donaldtryk3253
    @donaldtryk3253 2 месяца назад +34

    I wrote my first Fortran program in 1972 but have not used it much since. Definitely want to relearn it-thanks, Dr. G!

    • @psikeyhackr6914
      @psikeyhackr6914 2 месяца назад +7

      @@donaldtryk3253
      Beat you, 1968. 😄

    • @jenny-DD
      @jenny-DD Месяц назад

      Are you in home now ?

  • @PawanSood63
    @PawanSood63 2 месяца назад +65

    I started my programming journey with Fortran-IV while doing my MSc(Mathematics) course way back in 1984-85. This video refreshed my memories.

    • @mickwilson99
      @mickwilson99 2 месяца назад +3

      1976 for me.

    • @wsmalta
      @wsmalta 2 месяца назад +2

      Me too, but electrical engineering.

    • @joatmon6132
      @joatmon6132 2 месяца назад

      WOW!!!! I learned ForTran in 1983.

    • @braveonder
      @braveonder 2 месяца назад

      same here

    • @jeromefeig4209
      @jeromefeig4209 2 месяца назад +1

      1970 for me.

  • @arlrmr7607
    @arlrmr7607 2 месяца назад +54

    Oh! Sweet, sweet, sweet memories from simpler times! In 1975, I read the book "Ten Statement Fortran" in one sitting of a few hours, and was writing Fortran programs right away - on a multi-million dollar IBM S/370 Mainframe computer using punched cards! For reference, the futuristic, awesome HP-21A calculator debuted in the same year! Today's iphone is easily a million times more powerful than that massive god-like S/370 behemoth that occupied an entire floor of the building and was serviced by 50 personnel. Of infinite promise they were - those wondrous days - all of which has come true!

    • @ronb6182
      @ronb6182 2 месяца назад +2

      I remember those days I took data processing in highschool at the technical school for a half a day , Fortran was the first language after learning all the obsolete machines there was first the keypunch then the reproducer , then the sorter that I only jammed one time, then there was a collator and last the beast that is what my friend called it the 402 Accounting machine. Then we got to take turns running the IBM system 360 and run Fortran we wrote simple programs until we had a hard one to run. We used if loops and Do loops and used a switch to find the header card I don't remember only it was hard and I used my friends copy and changed the numbers and tried to figure out how it ran I had header stuck in a Do loop. At least it stopped when I got to 10. I think the statement was Do 1-10 well I need a refresher course or just look at some easy Fortran programs I never kept my Fortran book only cobol and assembler which I only tried to run one program the teacher caught me and the explanation he gave me I was lost there was a third disk pack that our class never used but the last years class did assembler and cobol I guess the first year was RPG and Fortran . The first year teacher didn't know how to teach being he was new. The second year was fun because the teacher made it fun and lots of jokes and crack ups. He s could make a boring class fun. Oh I forgot the third disk pack was for assembler when I came in I had to IPL the system and I remember the first year I did mount the third pack just the second year that pack was only used for assembler the other two was all that was needed to run Fortran , RPG and Cobol we had no basic and never used PL 1 and Pascal was not in the picture I knew of that language on home computers but never tried it. I was happy to learn basic in college which was required for the electronics program. 73

    • @ronb6182
      @ronb6182 2 месяца назад +1

      Thanks I lost this comment in the shuffle. I will try to finish it if I remember what I was thinking at the time. 73

    • @stephenrose4582
      @stephenrose4582 Месяц назад +1

      Simpler times! You should read the Fortran 2018 standards, that is, if you can lift up all those pages and pages of features. My late boss was head of the standards committee and tried to explain to us the reasoning for all of the new features.

    • @margaretford1011
      @margaretford1011 Месяц назад +3

      I still have that book on my bookshelf. I remember the days when I submitted a pack of punched cards, only to have to wait a whole day before the mainframe could schedule a run. Then the agony of discovering that I loused up a single character and had to start all over again. 😢😊

  • @walterspector735
    @walterspector735 2 месяца назад +87

    Fortran has supported an object-based programming style since Fortran 90, and full OO (inheritance, polymorphism, etc) since Fortran 2003.

    • @danishdrakula
      @danishdrakula 2 месяца назад +3

      @@walterspector735 the best option is the Intel Fortran 2011

    • @jaimeduncan6167
      @jaimeduncan6167 2 месяца назад +4

      And I have been thinking why o why? That time should have been invested in improving massive parallel support and multitarget nonproprietary accelerator support (Like Nvidia's Fortran Cuda)

    • @meltdown6165
      @meltdown6165 2 месяца назад +9

      Why would I slow down my numerical simulation by introducing OO overhead?

    • @MauroPanigada
      @MauroPanigada 2 месяца назад +3

      @@meltdown6165 you wouldn't stick OO where you do actual heavy computations, but programs usually isn't just that, and your code organization and conceptual modularization can benefit from OO, and so it will do program maintenance. Then, despite its usage as a numerical tool, I would say Fortran can be thought as a general purpose programming language, and so it is right that it offers also OO. Then, people aren't forced to use it if it doesn't fit their needs for speed and whatever.

    • @MauroPanigada
      @MauroPanigada 2 месяца назад +1

      @@jaimeduncan6167 language designers and language implementors differ. Designers design, implementors implement and can focus on other topics (like those you mention) rather than working on making their compiler fully compliant with more modern versions of the language.
      I think of Fortran like a general purpose programming language, and so I expect that it evolves also with features like OO. Programs often aren't just made of heavy computation: you have to organize your code, and maintain it: OO can make it easier.

  • @wkgmathguy218
    @wkgmathguy218 2 месяца назад +19

    I'm teaching a numerical analysis class this semester. At the request of the Physics department (not that I'm complaining) I'm using Fortran as the programming language. This morning when I showed a few examples, there were some flabbergasted looks and someone said, 'wait, it's that easy???'
    Fortran isn't returning, it never left. It was biding it's time till the stars were right again :D

    • @Drganguli
      @Drganguli  2 месяца назад +4

      Yes, Fortran hides in the cold dark places to the scientific ecosystem lol. I am amazed that physics department told you to use it. Mostly they go with Matlab…

    • @SoundSpeeding
      @SoundSpeeding Месяц назад

      @@Drganguli or Python, my local Physics Department has changed over from MATLAB to Python now

  • @antonymossop3135
    @antonymossop3135 2 месяца назад +22

    I've been writing scientific code for 35 years, Fortran consistently compiles to efficient, fast code - often the fastest, and when not, usually percentages rather than factors out. For serious numerical work, it's stunning how well it's stood up to time. Kudos to Backus (yet again).

    • @Drganguli
      @Drganguli  2 месяца назад +1

      Yes fortran is most suitable for scientific computing. But Matlab eased it out of university settings.

    • @major__kong
      @major__kong 2 месяца назад +5

      But Matlab has gotten some people into trouble. Had a graduate student working for our team in a military lab. She had to create a thermodynamics model of a shape memory polymer for her thesis. She used a finite difference approach using some heat equations. Yes, she was using an older computer, but 3000 time steps over something like a 200 x 200 array shouldn't have taken 3 days to run. My boss asked me to look at it while he was away. She didn't allocate the array before looping. So Matlab was constantly looking for contiguous memory for the array but one time step larger, copying the old array over, and then destroying the old array all unbeknownst to her. I did a simple sizeof or whatever Matlab calls it, and Matlab was doing all that stuff I just mentioned and was also paging out into virtual memory. Furthermore, she only needed to save the temperature at the center of plate for each time step not the temp everywhere. So I created a 200 x 200 x 2 array to do the time differencing and then a 1x3000 array to capture the temp in the center of the plate. I allocated this memory by creating a empty arrays before looping. What took 3 days before took a fraction of a second after I was done.

    • @Drganguli
      @Drganguli  2 месяца назад +1

      @@major__kong Very interesting.

    • @LogioTek
      @LogioTek 2 месяца назад

      ​@@major__kong That's why being aware of hardware code is run on (such as caches, branch misprediction penalties, etc.), techniques used in low-level programming (such as in assembly), as well as memory allocation is beneficial to any coding. It enables you to consider many things that can't be solved by the compiler alone.
      I once needed to replace the entire dynamic memory allocation layer in C to find an elusive buffer overflow in an embedded system, so I made my own thread-safe malloc and free with debugging features, then after I solved the issue, as a hobby I also extended my allocator to constant-time execution complexity when I looked into the dynamic memory allocation subject deeper. It also made sense to do in an embedded system with different memory hierarchy and access latencies depending on location in a memory map, so you have a more granular control and more heaps in different kinds of memories. I benchmarked it with maximum compiler optimizations and found that even on PC in a simple multi-threaded allocate-fill-verify-deallocate benchmark, my own dynamic memory allocation library was an order of magnitude faster than allocator in the standard library.

    • @davidloewen5528
      @davidloewen5528 Месяц назад

      @@major__kong haha, to use a high level language, you need to be able to envision all the way to the bottom layer of code that gets generated. My son learned Matlab in engineering, he said it sucked. Python in his opinion was much better. Even as an interpreted language, if written well it can really sparkle. He had a name for people who wrote python and couldn't do it well. probably best I can't remember it. I speak as someone who learned macro assembler in Uni, but used high level languages throughout my career. I have a fond memory of being a TA in Uni and teaching a little FORTRAN. ah, best to keep that memory private.

  • @jeffrey1312
    @jeffrey1312 2 месяца назад +34

    I spent 15 years writing Fortran and have seen all the good and bad that it has. Fortran is not fast because of magic. Fortran is fast because of all the features it does not have. It can be optimized to death by the compiler in ways that languages with pointers, recursion and other modern features can't be. Every time you enable one of those modern features some part of the optimization has to be turned off. If you turn all those features on then all you have is a bad version of C++.
    Fortran is fast when algorithms don't count. If a fancy algorithm can solve your problem quicker then you should use a language that helps you implement that algorithm. But some problems can't be solved that way. In cases where there's nothing else to do but millions or billions of calculations then you should use Fortran. That's how the pros do it. Don't be a language fan boy, use the language that's best for the problem at hand.

    • @Drganguli
      @Drganguli  2 месяца назад +1

      Thanks for your interesting comment

    • @robin48gx
      @robin48gx 2 месяца назад +2

      Another thing is all the allocation of memory is static so no chains of pointers to memory to slow things down. Also the variables are passed by reference, again making it faster. I would not use it to apply regex to xml; python is kind of king of that. But for some maths/sim code FORTRAN is hard to beat.

    • @jeffrey1312
      @jeffrey1312 2 месяца назад

      @@robin48gx Python is unbearably slow. I worked on a project where we tried to implement a small geometry library in pure Python for embedded systems and I couldn't believe how slow it was. At least a hundred times slower than C++. It's even a lot slower than other scripting languages like Perl.
      On a side note Perl is the king of all regex. It has no competitors. Like C++ it's been upgraded a lot over the years. It's object system and scalability have been improved and it can be written to be understandable and maintainable. For summarizing huge amounts of text, like log files in large IT environments, it's hard to beat.

    • @ResidualSelfImage
      @ResidualSelfImage Месяц назад +1

      correct. The overhead of maintaining fancy data structures slows a language/compiler down - FORTRAN data structures are simple and clean, so the compiler/interpreter overhead just isn't there.

  • @arantheo8607
    @arantheo8607 2 месяца назад +30

    FORTRAN is back? Fortran has never been put aside.

    • @Drganguli
      @Drganguli  2 месяца назад +4

      True

    • @davidmilner3575
      @davidmilner3575 Месяц назад +1

      I got throw the bs flag on thr play. Like most of you early 1980's was the first and last time I messed with it (Fortran77). Pascal, modula-2, some ibm assembly and Ada were the languages I used in the rest of my engineering program. After graduating in 1986, C was the only language I ever used until C++ in the 2010s.

    • @Drganguli
      @Drganguli  Месяц назад

      @@davidmilner3575 Yes Pascal was great language but C got more traction due to its power in systems programming. Great that you used C and C++. Many engineers in academia went from Fortran to Matlab as they never got around to arrays which start with index zero. But now C++ is being criticised and the move is towards Rust and Go as these are memory safe
      The Dark Side of C++ Programming Language!
      ruclips.net/video/u8HBUC4vKPs/видео.html

    • @davidmilner3575
      @davidmilner3575 Месяц назад +1

      @@Drganguli I agree with the dark side of c/C++ programming. I read about Rust memory safety but I've since retired and only dream of the glory days!

  • @TerryHughes-u4m
    @TerryHughes-u4m 2 месяца назад +7

    I started FORTRAN coding in 1967 as an udergrad at McMaster U in Hamilton Ontario. Later ('71 - '78) developed a model of the electric currents tied to the Aurorea Borealis for my PhD. Later still, developed FORTRAN code to model the currents in space measured by various satellites, and even later, worked on the code for COSPAS/SARSAT,again all with FORTRAN. Complicated and complex algorithms all, but pretty straight forward coding. Even managed to interface ORACLE DBM to Fortran, and build a website using only FORTRAN and Digital's DCL. Great times; great fun; very straight forward language.

  • @ALOKSRK1
    @ALOKSRK1 2 месяца назад +42

    Dear sir, it would be great if you create a course on scientific computation using Fortron. Thank you

    • @Drganguli
      @Drganguli  2 месяца назад +6

      Good idea. Thanks

    • @gorka9020
      @gorka9020 2 месяца назад +3

      There are courses available on Udemy , on the cheap.
      But one by him would rock, for sure.

    • @ALOKSRK1
      @ALOKSRK1 2 месяца назад

      @@gorka9020 there will be solid difference between udemy and sir's teaching, a legacy of research and debugging and probable mistakes during code developing that's something sir can teach better

    • @csaracho2009
      @csaracho2009 2 месяца назад

      "Fortron" has not been invented yet.

  • @uwanttono4012
    @uwanttono4012 2 месяца назад +3

    Gosh what a nice surprise to see this vlog in my YT feed as it reminded me of how I used FORTRAN to write my MIS master's thesis in the 1970s!! After college I went into finance but I still love and appreciate the phenomenal emergence and application of computer science in all aspects of our daily lives today.

  • @darrendrapkin4508
    @darrendrapkin4508 2 месяца назад +7

    Thank you for a presentation about a language designed for rapid, proven, scientific computing that is still used for that.

    • @Drganguli
      @Drganguli  2 месяца назад

      You are most welcome. But I should inform you that Julia is a strong contender for the future of scientific computing.
      Should you learn Julia? ( a new scientific programming language)
      ruclips.net/video/8jRyHBrwwTs/видео.html

  • @CarlosGomez-vt9pk
    @CarlosGomez-vt9pk 2 месяца назад +16

    I've had a "side hustle" maintaining a small Fortan code base from1990 to present. It's still the best for the numerical accuracy needed for scientific computing.

    • @Drganguli
      @Drganguli  2 месяца назад +2

      Great. Agree that it is great for numerical computing. As too many people now know python, languages not developed for scientific programming are being used for such tasks

    • @MrKentaroMotoPI
      @MrKentaroMotoPI 2 месяца назад +1

      Me too 😎

    • @bjreacher6402
      @bjreacher6402 Месяц назад +2

      I used ForTran back in the 70's but I'm surprised that MatLab is not included in this discussion as it is the current gold standard for simulations and computations.

    • @Drganguli
      @Drganguli  Месяц назад

      @@bjreacher6402 True but Matlab is mostly used in an academia. As its license costs are quite high for industry many companies have moved to python.

  • @brucefowler8690
    @brucefowler8690 2 месяца назад +52

    I had a sign on my office wall, "A competent programmer can write Fortran in any language" - A few friends and I wrote an interpretive Fortran compiler for the IBM 1620 back in 1962/1963. An incredible learning experience.

    • @Drganguli
      @Drganguli  2 месяца назад +2

      Interesting.

    • @antonymossop3135
      @antonymossop3135 2 месяца назад +2

      Thank you for your service.

    • @idahoengineer6649
      @idahoengineer6649 2 месяца назад +2

      The 1620 was the first computer I ever programmed.

    • @jumbie6
      @jumbie6 2 месяца назад

      @@idahoengineer6649 Me too

    • @SkyWriter25
      @SkyWriter25 2 месяца назад

      About 35 years ago, I wrote Windows DLLs in Fortran for an engineering application I was working on. I had written the UI in Centura Team Developer. Although great for the UI and SQL database access, CTD was too slow for some of the heavy number crunching I needed to do so I used Fortran. Fun times.

  • @andrewgrillet5835
    @andrewgrillet5835 2 месяца назад +13

    63 years of debugging and optimisation probably helps a lot!

  • @ivcbusinesssystems6613
    @ivcbusinesssystems6613 2 месяца назад +19

    *Building science and math based programs was super easy in Fortran, built in imaginary numbers made it special!*

    • @philmarsh7723
      @philmarsh7723 2 месяца назад +1

      I fail to understand why Java didn't include complex numbers.

    • @cli4g67graS
      @cli4g67graS 2 месяца назад +3

      The complex number calculations in Fortran is way easier than in C/C++

    • @ivcbusinesssystems6613
      @ivcbusinesssystems6613 2 месяца назад

      @@cli4g67graS Exactly!

  • @BobChoat
    @BobChoat 2 месяца назад +3

    I studied Fortran IV back in 1968 and wrote a couple of programs just before I graduated high school. It's crazy to see it make a comeback!

  • @ricban1950
    @ricban1950 2 месяца назад +18

    I learned Algol 60, Fortran, and Basic 55 years ago while doing an Electrical Engineering degree.

    • @Drganguli
      @Drganguli  2 месяца назад +1

      Great

    • @gottfriedheumesser1994
      @gottfriedheumesser1994 2 месяца назад +3

      Me too. I learned programming in 1970 with Fortran and Algol. Mathematicians told me, in 5 years nobody will use Fortran. But 5 years later nobody used Algol. For the next 15 years, I programmed in Fortran and pdp11 assembly language.
      For scientific electrical calculations, Fortran was perfect because of its inherent complex mathematics. which no other language had at this time.

    • @Drganguli
      @Drganguli  2 месяца назад +3

      @@gottfriedheumesser1994 yes but since so many people now know python they often end up doing numerical computation in sub optimal languages which were designed for some other tasks

  • @ElectroRestore
    @ElectroRestore 2 месяца назад +11

    This brings back many memories for me. I took back to back classes in Fortran IV in 1976 (on punch cards) and 1977 (time sharing) as electives in my Electronics Engineering major. I fell in love with programming from that start! So I switched from EE to Software Engineering. I went on to learn BASIC, VB, Java, HTML, Perl, ASP, C++, PHP, and some C and ASM. Glad to hear Fortran is still alive and kicking!

    • @Drganguli
      @Drganguli  2 месяца назад +2

      Thanks for sharing your experience. Yes fortran has returned

    • @gracenotes5379
      @gracenotes5379 2 месяца назад +1

      Ah, Fortran IV and the horrors of Hollerith constants.

    • @jrstf
      @jrstf 2 месяца назад +2

      @@gracenotes5379 - I started in 1973 and have never written a Hollerith constant but I did see some. The problem wasn't so much the language but getting stuck on an IBM computer rather than DEC.

    • @ElectroRestore
      @ElectroRestore 2 месяца назад

      @@gracenotes5379 Who needed character manipulation in a math programing language. Mathematics is a language all its own! ;)

    • @gracenotes5379
      @gracenotes5379 2 месяца назад +3

      @@jrstf I remember having to count the characters in any character string I wanted to use and prefixing said string H as in 4HJOHN. I don't think the compiler I used back then had any support for quoted character strings. This was annoying, but not a real problem unlike, say, arithmetic IF followed by 3 line numbers, which made spaghetti code quite hard to avoid. Anyway, it's all nostalgia at this point. Fun times.

  • @daveoatway6126
    @daveoatway6126 2 месяца назад +3

    Down memory lane! I learned Fortran IV as a professor at U of Maryland to develop programs for student test grading and analysis. I remember carrying boxes of punched cards to the computer science center and passing them to the white coated techs to run on the Univac 1108. Then returning the next day to pick up my stack of output. Since then I have used C, C++, Python, Java, VB and other "modern" languages. I still have fondness of the clarity of Fortran, but did not miss GOTO! Thank you for the video! I just for fun I'm going to look into current Fortran. It would be interesting to see how it does with web based data sources. At least now I won't have to worry about dropping a box of cards!

    • @Drganguli
      @Drganguli  2 месяца назад

      Very interesting

    • @thebuddha-901
      @thebuddha-901 2 месяца назад

      @daveoatway6126 The mention of U of Maryland and Univac triggered some memories. I started my MS in ME at U of Miami, Coral Gables in 1982. The mainframe we had was a later model Univac, I forget. No punched cards. A Hazeltine dumb terminal, a 300 baud modem with acoustic coupler, and a black rotary dial telephone is what we used to connect to the Univac, shared among half a dozen grad students who had their offices in one of the labs in the basement. I remember the command to invoke the line editor was @med. med was "Maryland editor", developed at U of Maryland. All the assignments for classes like Numerical Methods, Computational Heat Transfer, etc. were programmed in FORTRAN 77. It was so much fun learning. I still have the program listings for everything I did at the university.

  • @semuhphor
    @semuhphor Месяц назад +4

    Thank you. Started programming in '72. Fortran II on an IBM 1130 (i used a little bit)

  • @jed1947
    @jed1947 Месяц назад +1

    We wrote two interesting programs using IBM Fortran before they discarded it in favor of PL/1. All data for the IBM 360/370 was entered via punch cards. The first program, "General Data Entry" was an editor allowing 80 column text entry that could be dumped to a data set (DD) serving as data input to some processing program (instead of punch cards) or as input to the second program, "NSP Basic". This was a basic interpreter than could output to the IBM 2260 terminal. This program compiled the Basic code to an RPN stack which was then executed. Looping was a real challenge, but it was solved.

    • @Drganguli
      @Drganguli  Месяц назад

      Very interesting. First time I heard a situation where fortran gave way to pl-1. Mostly it was C which was used in place of fortran. In a class we took at the university of Maryland for numerical analysis the professor insisted on C programs and would not take Fortran. This was in 1991. It was hard but we figured out how to write abstruse code using pointers in C.

  • @ClausB252
    @ClausB252 2 месяца назад +5

    My first language in 1975, Honeywell Fortran D. Classroom had a 29 keypunch in the back. Sent cards across town to the H200 every night, got printouts back next day. Exciting nonetheless!

  • @spikeevans1488
    @spikeevans1488 Месяц назад +2

    I wrote my first FORTRAN program in 1965. I continued to use it for more than a decade while working for a civil engineering consulting firm. We used it for structural design and various simulations. We also used PL/1 when the task worked better with recursion, which FORTRAN didn't support. One thing I recall as being very useful in FORTRAN was multiple entry points into subroutines. As I moved more into writing embedded and firmware code I moved more into assembly and C, but I still have fond memories of FORTRAN. I also tinkered with RATFOR, but never used it in a serious way.

    • @Drganguli
      @Drganguli  Месяц назад

      Great!

    • @xdx74714
      @xdx74714 Месяц назад +1

      My father also used it in 1960s in IIT

    • @Drganguli
      @Drganguli  Месяц назад

      @@xdx74714 great! Which iit, if I may ask?

  • @CM_Burns
    @CM_Burns 2 месяца назад +22

    Make Fortran Great Again.

    • @Drganguli
      @Drganguli  2 месяца назад +2

      Ha ha

    • @johnjakson444
      @johnjakson444 2 месяца назад +4

      Make Algol 60 Great Again, seriously Algol60/Pascal/Modula/C all good, I'm old too

    • @rebauer2000
      @rebauer2000 2 месяца назад +1

      🤣

  • @Jim-be8sj
    @Jim-be8sj 2 месяца назад +1

    Great overview. I work in numerical weather prediction with models that need to be run in a HPC environment. We often use python to drive the models, but the models themselves are always built with Fortran.

  • @rebauer2000
    @rebauer2000 2 месяца назад +3

    My first language was FORTRAN in about 1982. LOL, I remember using the go to statement.
    A little later I took computer science 101 and 102, which at that time the big thing was Pascal and "structured" programming. The main take away of structured programming was to not use go to statement and I remember that being pounded into us.
    To me, structured programming is the same as procedural programming. Let me know if I'm wrong about that or if there are subtle differences.
    One language that looks very much like Pascal is Structured Text for PLCs. I believe the name comes from the structured paradigm.
    Just for fun or a hobby, I'm interested in learning modern Fortran.

    • @Drganguli
      @Drganguli  2 месяца назад +1

      Yes Pascal was being taught around in the 1990’s as the structured language. But maybe it was too good to last in the real world and C took over

  • @ContantContact
    @ContantContact Месяц назад +1

    I went to college for an engineering degree BSEE in the late 60s early 70s.
    I wrote exactly one program in Fortran for the IBM 360 on cards to solve a matrix.
    It worked the first time and that was the last of my computer use and programming until the 1980s.
    Now I use a computer all the time, and do just a little programming; but mostly it is admin and configuration in what I do, even now in retirement.

  • @jonsandell3107
    @jonsandell3107 2 месяца назад +4

    Yes Please! tutorials are very welcomr much has already been lost intrinsic knowledge is leaving the it world. Thank You Dr Ganguli

    • @Drganguli
      @Drganguli  2 месяца назад

      Sure. On my list of tasks now

  • @AloysiusHettiarachchi
    @AloysiusHettiarachchi Месяц назад +1

    Fotran is used in finite element analysis therefore extensively used in structural and road designs. Another language I used in roads and sewerage system design were some variants of LISP. Thanks for this.
    Btw, Fortran was used in the first mainframe computer in Asia (Sri Lanka), and I used it to design a spiral staircase to a university (where our current prez studied). It ran for 45 minutes and gave me a stack of punched cards, two in thick and some printed results. I used it for my professional qualification, the MICE (London).

    • @Drganguli
      @Drganguli  Месяц назад +1

      Amazing! Thanks for sharing your valuable insights and experience.

    • @AloysiusHettiarachchi
      @AloysiusHettiarachchi Месяц назад +1

      @@Drganguli
      The guy who set up and started using it was my lecturer in the Uni. Has PhD. from Imperial College and Contemporary of Bjan Stroustrup. I tried his book on programming Fortran and gave up. But AutoLISP opened the horizon as it was interpreted language you could see the results then and there on AutoCAD. The easiest way to get a hang of programming. Then came java in 2000. And here I am developing apps for Play Store on the Android platform which I started during Covid.
      All the best!.

    • @Drganguli
      @Drganguli  Месяц назад

      @@AloysiusHettiarachchi Great!

  • @donwinston
    @donwinston 2 месяца назад +5

    I learned how to program with FORTRAN in the '80s. (Implementing numerical analysis techniques, simulations with SLAM, and graphics programming)

  • @AthenaCloudEngineersLLC
    @AthenaCloudEngineersLLC Месяц назад +1

    I used FORTRAN in 1982, when I started working at IBM TJ Watson Labs...then started in PASCAL and so on...and remember seen a FORTRAN patent congrats in the TJ Watson Library...looks like it is time to brush up on FORTRAN again. Love it.

    • @Drganguli
      @Drganguli  Месяц назад

      Great! Pascal was big at that time as the language which used structured programming .

  • @kialim
    @kialim 2 месяца назад +7

    Don't know about FORTRAN but the presence of the beautiful flowers in the background as well as Dr Ganguli's calm voice made me watch the entire video and a new subscriber to the channel.

    • @Drganguli
      @Drganguli  2 месяца назад +1

      Thank you so much

  • @briankelly2037
    @briankelly2037 Месяц назад +1

    My first programming courses were at the University of Waterloo in 1970. At that time, Waterloo was using its own version of Fortran, called WATFOR (and later WATFIV). Your video brings back pleasant memories. Thx!

    • @Drganguli
      @Drganguli  Месяц назад

      Amazing! Thanks for sharing your memories

  • @reachrammohan
    @reachrammohan 2 месяца назад +6

    Awesome Sir. Thanks for bringing back the importance of FORTRAN. I remember subroutines of the book by Prof J N Reddy on the Finite Element method which has many FORTRAN codes.

    • @Drganguli
      @Drganguli  2 месяца назад +1

      Yes it is nice to know that fortran is going strong even after many decades.

    • @tapassinha9846
      @tapassinha9846 2 месяца назад

      I think it is better to learn matlab particularly because of its very good plot, image manipulation routines. Furthermore matlab supports neural network and other AI libraries.
      Lastly, the reason one should learn matlab is that your approach to problem solving is changed namely: develop a model, write code to test it and tweak your model until you get your desired results.

  • @andrewplumb6544
    @andrewplumb6544 Месяц назад +1

    RUclips just fed me this vid. I started to learn Fortran when I was 14 in 1968. Nice to know it grew up!

  • @Chatsworth1979
    @Chatsworth1979 2 месяца назад +2

    Like your explanation. I learned FORTRAN 77 many years ago.

  • @The_Digital_Arts_World
    @The_Digital_Arts_World Месяц назад +1

    F77 was the first programming language taught during my CS and Math college courses back in 1981. I loved programming with it because it was so straight forward and easy to use. When Macintosh was introduced in 1984, I purchased Absoft FORTRAN 77 for the Mac And used for the remainder of my math courses involving programming. After that, I worked on many engineering project including fossil fuel plant simulators by ABB which used a proprietary in-house language based on FORTRAN called CETRAN.
    I still find FORTRAN as a just for fun language even with all of the changes that have been made. I guess I am ‘old school’ because even though I have worked with C+, LISP, SCHEME, Java, SQL, SQR, BASIC of all kinds, Pascal, Modula-2 … I still have the most fun using FORTRAN. Like Latin, it is not a dead language.

  • @GAUTAMSHARMA-xu7bl
    @GAUTAMSHARMA-xu7bl 2 месяца назад +8

    I am interested! I want to learn everthing about FORTRAN, how to perform mathematical operation, summation, derivative, integrations, linear algebra, solving TD-SE, TISE and so on as much advanced level as possible.

    • @Drganguli
      @Drganguli  2 месяца назад +2

      You can check out the book by rajaraman I have shown in the video. It will help a lot.

    • @Tech.Library
      @Tech.Library 2 месяца назад +1

      ​@@Drganguliis there anything fortran can do which mathematica cannot do?

    • @soloflo
      @soloflo 2 месяца назад +1

      @@Tech.Librarymaybe free of cost? Although Raspberry Pi offers it freely.

    • @HarmonicaTool
      @HarmonicaTool 2 месяца назад

      It can run on each of our students computers for free and it will be there for you for the rest of your life for free, no matter whom you work for or not. That makes learning Fortran, C, C++, R, Python and Julia so much more worthwhile.

  • @brucea9871
    @brucea9871 2 месяца назад +2

    Wow I didn't realize Fortran was still used much. Thanks for the update.

    • @jamesslick4790
      @jamesslick4790 2 месяца назад

      Fortran and COLBOL code is gonna be around running in "the wild" for decades to come.

  • @CaribouDataScience
    @CaribouDataScience 2 месяца назад +25

    The R language is a wrapper for Fortran 😮

    • @Drganguli
      @Drganguli  2 месяца назад +3

      @@CaribouDataScience True it can use fortran routines and is basically written in C, Fortran and R.

    • @AnnatarTheMaia
      @AnnatarTheMaia 2 месяца назад +2

      Well written! The core functions of R are written in GNU Fortran.

    • @caty863
      @caty863 2 месяца назад +1

      All R texbooks mention that it was derived from S language. How is it then linked to Fortran?

    • @AnnatarTheMaia
      @AnnatarTheMaia 2 месяца назад +2

      @@caty863 R's core functions are written in GNU Fortran.

    • @HarmonicaTool
      @HarmonicaTool 2 месяца назад +1

      S has defined how the R user calls a linear regression. Under the hood, R then calls a Fortran function for the matrix manipulations involved. In R you do not see the Fortran the same way you do not see the engine of the car you drive.

  • @AMERICANPATRIOT1945
    @AMERICANPATRIOT1945 Месяц назад +2

    FORTRAN is great for performing lengthy calculations that do not need recursion, pointers, or higher level functions including AI. FORTRAN was designed to be a champion number cruncher and it still is, even in modern times. On the down side, FORTRAN is much more critical of tiny errors such as placing a comma or period in the wrong place, than higher level languages. Even the tiniest error can completely crash an entire program, and the error can be very difficult to locate. More modern languages are easier to debug.

  • @keeplearning5590
    @keeplearning5590 2 месяца назад +2

    I too started my software career in 1978 with Fortran IV and as time progressed ended up learning and programming in COBOL, PL/1, MODEL/204, SQL, and finally ended up logical and physical designing of Databases and programming full screen as opposed to line by line mode. I finally retired as a Director after 38+ years of software development, project management for a USA multinational company! Never thought I would ever hear FORTRAN coming back! Jai Bharat!

  • @soloflo
    @soloflo 2 месяца назад +5

    Now you got me intrigued about Fortran. I decided to learn Pascal instead, back in the day. Maybe next year I will see some video about the comeback of Pascal 😂

    • @Drganguli
      @Drganguli  2 месяца назад +4

      Ya I learnt fortran as my language but by the time I was in graduate school Pascal was being taught as the language which showcased how programming should be done. But Pascal was too perfect and could not compete with C. People loved pointers and C and Pascal with its best practices was ahead of its time, it is still a better language to introduce programming than C and C++ in my opinion

  • @JimNichols
    @JimNichols 2 месяца назад +1

    PDP-1170s and Fortran, Basic, Cobol and Machine Assy in college what great memories. Thank you man.. :)

  • @__--JY-Moe--__
    @__--JY-Moe--__ 2 месяца назад +3

    yup! great to hear about this helpful news!! personally, I would use a java GUI. then connect this to a logic core Fortran Node! I would bet most folks don't realize Fortran is a pure logic core!
    and Java is the product for communications & secured certificate identities! it's so helpful to hear about U'r past experiences! thanks!

    • @Drganguli
      @Drganguli  2 месяца назад

      Thanks for your comment

  • @JanKowalski-vj9py
    @JanKowalski-vj9py 2 месяца назад +2

    A friend of mine is an astrophysicist. Simulations of charge movements inside neutron stars he wrote were done in Fortran. Of course modern FORTRAN that is not purely for computation but also has access to graphical capabilities of machine.

  • @dougs6789
    @dougs6789 2 месяца назад +4

    Thanks for your video! But I want to point out an incorrect assertion. At roughly 5:20 into the video you have a super that appears on the screen which states "No class in Fortran!" This is incorrect. The Fortran 2003 standard implemented type-bound procedures in derived types. Derived types with type bound procedures is the Fortran equivalent to a C++ class. Derived types with type bound procedures allow users to create class member variables and methods. Those member variables and methods can be defined as public, private, or protected just as in C++ classes. Using Fortran derived types with type bound procedures can enable encapsulation, static and dynamic polymorphism, and inheritance just as C++ classes do. The only difference is that in Fortran the defining keyword is "type" instead of "class" as it is in C++. I teach an introductory scientific computing course that teaches both modern Fortran and modern C++ and have the students doing OOP in both languages.

    • @Drganguli
      @Drganguli  2 месяца назад

      Ok thanks. Very I interesting

  • @peterhall6656
    @peterhall6656 2 месяца назад +1

    Wow. This caught my eye and it really is a trip down memory lane. I did scientific programming in Fortran in the 70s- things like a Fast Fourier Transform for spectral analysis. In defence science Fortran was embedded in all sorts of things. I even did a truth functional logic schema validity testing program based on Polish notation.

  • @atul58
    @atul58 2 месяца назад +4

    The first railway reservation software was written in FORTRAN. 😊

  • @PC-ee7tz
    @PC-ee7tz 2 месяца назад +2

    Wow, what a surprise! I first used Fortran back in mid 80’s, and very extensively in early 90’s when I worked towards my PhD in Mechanical Engineering. I used it for dynamic simulations, together with MATLAB. Very interesting time!

  • @jrioux5162
    @jrioux5162 2 месяца назад +1

    I as well learned Fortran many years ago (1981 - Fortran 77) and for whatever reason the computer language just made sense so I loved it. I would love to see other videos on this topic as I would love to relearn it. Also I consider Fortran my first language and English as my second language :). Loved your video on this topic.

  • @shubhadeep4714
    @shubhadeep4714 2 месяца назад +3

    Thank you so much Dr. Ganguli for making this video! I used fortran in my masters thesis which was a simulation project and now in my phd I am using Ansys Fluent which involves C coding. I also did high temperature experiments in my phd work with which I have been partially able to validate the Fluent simulations. Information like this video are very helpful when seeking research oriented jobs in the recession. Please provide any other such information about skills that can be helpful for phd students applying for jobs.

    • @Drganguli
      @Drganguli  2 месяца назад +1

      Sure. Hope you have seen these videos.
      How to be productive and marketable as a PhD?
      ruclips.net/video/uDGjBJcCaE0/видео.html
      How to go from PhD to an Industry job?
      ruclips.net/video/CSy14_G21IA/видео.html
      Ace the industry job interview as a Master or PhD!
      ruclips.net/video/RNQ94voH2eo/видео.html

    • @shubhadeep4714
      @shubhadeep4714 2 месяца назад +1

      @@Drganguli Thank you so much again Sir for these links! I did not watch these before 😅, I was mostly watching the videos on post doc applications.

    • @Drganguli
      @Drganguli  2 месяца назад

      How to become an industry research scientist? (as a PhD)
      ruclips.net/video/7pyfIwb9LNc/видео.html
      Resume versus CV to get industry jobs after PhD
      ruclips.net/video/hbSL-firA9U/видео.html

    • @Drganguli
      @Drganguli  2 месяца назад

      Which soft skills can get you a job?
      ruclips.net/video/9UXHsIVDNgg/видео.html

    • @shubhadeep4714
      @shubhadeep4714 2 месяца назад +1

      @@Drganguli Thank you so much again Sir.

  • @kingtut3467
    @kingtut3467 2 месяца назад +2

    My first computer language was Fortran (on CDC 6400) as a freshman at UC Berkeley 1968. My main computer language used as a student.
    I had a cart to carry all the boxes of punched cards of Fortran code to the computer center. I did circuit simulation.
    Finally got access to Unix as a graduate student and writing c code. So much easier using a real text editor.

  • @Joey4rox
    @Joey4rox Месяц назад +3

    I started learning FORTRAN in high school in 1960. I still use it.

  • @timmiller7524
    @timmiller7524 2 месяца назад +2

    I use Fortran for engineering design and analysis, and the key for me is the Winteracter development environment which makes it straightforward to create Windows apps with great graphics. I use Absoft fortran but there are several compilers. I also use the IMSL library. There are a great many deep books on fortran too. I started in 1968 and after encounters with Delphi and VBA I found it a great relief to get back to the nuts and bolts; no 'bloatware'. For procedural programs OOP is not always necessary, although with Winteracter and the like you can easily get it if you need it. As for spaghetti, sometimes it's fine if you have the mental constitution to solve long and complex problems. One of my colleagues in the 1980s had a sign on his office door: 'it is not known what the programming language of 2020 will be. But it is known that it will be called FORTRAN'!

    • @Drganguli
      @Drganguli  2 месяца назад

      Great! Thanks for sharing

  • @anta40
    @anta40 2 месяца назад +4

    I learnt a bit of Fortran (most likely Fortran 77) out of curiosity many years ago for numerical analysis class. It wasn't a requirement per se, and after all the lecturer mostly explained the algorithms using Matlab.
    My impresssion so far is unlike Lisp, which is also used outside computer science research, Fortran is practically limited to science and engineering folks.

    • @Drganguli
      @Drganguli  2 месяца назад +1

      Yes without doubt it was only used for scientific computing. But with C and C++ declared unsafe some people are considering fortran again.
      www.techrepublic.com/article/tiobe-index-language-rankings/

    • @srinivaschillara4023
      @srinivaschillara4023 2 месяца назад

      Yes, but this is a very big field and possibly has some of the most heaviest number crunching on the planet.

    • @general_paul
      @general_paul 2 месяца назад

      Because Fortran is doing what it is supposed to do. General purpose languages can do nearly everything smoothly, but not necessarily in the most efficient manner unlike domain specific languages

  • @richardyoung5217
    @richardyoung5217 Месяц назад +2

    This brings back memories. I am 82 years old. I programmed Fortran 2 from 1971 to 1975 on a 16 K word Honeywell computer used in process control of paper mills. It had a 128 K word fixed head drum for storage. I later used Fortran IV and Fortran 77. Oh God I feel old!

    • @Drganguli
      @Drganguli  Месяц назад

      Amazing!

    • @user-xu5vl5th9n
      @user-xu5vl5th9n Месяц назад +1

      It is still used in shopfloor control systems. Not for fancy maths but because it is hierarchical.

    • @Drganguli
      @Drganguli  Месяц назад

      @@user-xu5vl5th9n Great!

    • @normanhopkins6114
      @normanhopkins6114 Месяц назад +1

      We used a 16k Honeywell 2020 used to run an entire air conditioner mfg company. Married an 80 column card keypunch operator 45 years ago.

    • @Drganguli
      @Drganguli  Месяц назад

      @@normanhopkins6114 Great!

  • @harshphysik
    @harshphysik 2 месяца назад +3

    That will be a great help Sir if you create a tutorial for Fortran 90 and above versions. I am currently struggling with sin series expansion program, also trying to learn gnuplot to graph the output.

    • @Drganguli
      @Drganguli  2 месяца назад +1

      Sure this is in my list of tasks now

  • @valentinrafael9201
    @valentinrafael9201 16 дней назад +1

    Absolutely interested ( personal project doing MCMC and MCTS ). Also thank you for book recommendation, always love to have something as reference and even to just read before bed!

    • @Drganguli
      @Drganguli  16 дней назад

      Thanks. The tutorials may interest you starting from
      Fortran Programming Language, Basic Concepts: Tutorial Lecture 1
      ruclips.net/video/6l4yqTR6jq0/видео.html

  • @clifforddicarlo9178
    @clifforddicarlo9178 2 месяца назад +7

    Should discuss calling a C program from FORTRAN and calling a FORTRAN program from C.

    • @Drganguli
      @Drganguli  2 месяца назад +2

      Good idea

    • @antonymossop3135
      @antonymossop3135 2 месяца назад

      Such language agnosticism was seen as a hopeless, unreachable nirvana years ago. And it's easy now - so, imho, you're right to highlight this. The reality is that Fortran is delightful for numerical/scientific coding, but it's a nightmare for user interfaces. Nowadays, it's possible to use the appropriate high level language for the task at hand, and add hooks to allow cross-compilation. Python does a decent job on 'internal wiring', but cross-compilation is significantly faster.

  • @tangobayus
    @tangobayus 2 месяца назад +2

    It was the first language I wrote in back in the late 70's. Basic came from Fortran, and Python is a dialect of Basic.

  • @panduranggavade6773
    @panduranggavade6773 2 месяца назад +4

    I taught fortran and pascal to my engineering students from the year 1986 to solve numerical method problems on dos os

    • @Drganguli
      @Drganguli  2 месяца назад

      Great. Fortran was the widely used language at that time, and Pascal was being suggested as the structured language that people should use. But C came along and became the other popular language.

  • @NA13571
    @NA13571 2 месяца назад +1

    I began my computing access with Fortran in the year of 1976. In that time the structure used were the flowcharts with rectangles, circles, etc. My class was the first one to move to logical algorithms instead of flowcharts.

  • @disqusrubbish5467
    @disqusrubbish5467 2 месяца назад +4

    I'd like to see a Fortran tutorial. I have Linux on my laptop so compiling would be no problem. Thank you.

    • @Drganguli
      @Drganguli  2 месяца назад +2

      Thanks for the suggestion.

  • @rechmbrs
    @rechmbrs Месяц назад +2

    Programmed Fortran 2 in June 1960 on an IBM 1620 while studying undergrad physics. Used later versions of Fortran until middle of the '90s as physics researcher.
    RONC

  • @s.b.8704
    @s.b.8704 2 месяца назад +7

    It is important to mention that the language has continued to evolve (the latest standard is Fortran 2023). Programs written in modern Fortran can be much more concise and understandable than those written in older versions of the language.
    In 2010, Eugene Loh wrote¹, in ACM Queue, about programmability studies undertaken when he was at Sun Microsystems, as part of DARPA HPCS (High Productivity Computing Systems). They had a small sample of HPC (High Performance Computing) programs written in old Fortran which were rewritten (without annotations, like OpenMP/OpenACC directives) in modern Fortran by a competent programmer.
    The result was very interesting: a significant reduction in lines of code (factor 11x in one case, 10x in a couple of cases; the lowest 3.6x) against a zero performance reduction in one case, within 2.7x in 3 other cases and with an outlier with a variable factor of 2x-6x.
    Even one of the maintainer of the original code was surprised by the succinctness and readability of the rewritten code.
    Of course, "modern" Fortran in those years is not so modern today (I think the experiment was conducted around mid 2000s: Fortran 2003 was the latest standard, Fortran 90/95 is mentioned in the article). Today's compilers probably do a better job at compiling old and new features of the language.
    _______________________________
    1) Eugene Loh. 2010. The Ideal HPC Programming Language: Maybe it’s Fortran. Or maybe it just doesn’t matter. Queue 8, 6 (June 2010), 30-38. DOI: 10.1145/1810226.1820518

    • @Drganguli
      @Drganguli  2 месяца назад +1

      Very interesting. Thanks for the comment

  • @cyberherbalist
    @cyberherbalist 2 месяца назад +1

    Interesting! My very first programming language was Fortran, back in 1971! I learned just enough of it to do a special program for an extracurricular class at school. Although I was a programming professional, never used Fortran for work.

    • @Drganguli
      @Drganguli  2 месяца назад

      So what language did you use?

    • @cyberherbalist
      @cyberherbalist 2 месяца назад

      ​@@Drganguli
      Mostly COBOL and C#. With some Visual Basic.

  • @gregoryanichebe
    @gregoryanichebe 2 месяца назад +6

    Fortran was dormant for quite some time. But it is now fully back with strong features

    • @Drganguli
      @Drganguli  2 месяца назад +2

      Yes in fact it is being used in machine learning

    • @MrPoornakumar
      @MrPoornakumar 2 месяца назад +1

      @@Drganguli
      I learnt FORTRAN, way back in 1970. I used it later, for a project in machine learning (for PG).

    • @ssmith5048
      @ssmith5048 2 месяца назад +2

      it was never dormant, you were simply unaware of it if thought it was dormant.

  • @robbehr8806
    @robbehr8806 2 месяца назад +2

    I'm tempted to download and try the new versions. I had a lot of fun with Fortran IV back decades ago.

    • @Drganguli
      @Drganguli  2 месяца назад +2

      Yes you can do that and start writing programs

    • @MrKentaroMotoPI
      @MrKentaroMotoPI 2 месяца назад +3

      Intel Visual Fortran is now free.

  • @yash1152
    @yash1152 2 месяца назад +3

    3:57 Julia mentioned, Julia mentioned. Yayyy! Go strong Julia. U'll win.

    • @yash1152
      @yash1152 2 месяца назад +2

      7:45 Linux mentioned. FOSS for the win. Yayy. These things are so awesome to hear coming from a fellow countryman.

    • @yash1152
      @yash1152 2 месяца назад +1

      9:14

    • @Drganguli
      @Drganguli  2 месяца назад +1

      Should you learn Julia? ( a new scientific programming language)
      ruclips.net/video/8jRyHBrwwTs/видео.html

  • @rodneywatts2750
    @rodneywatts2750 Месяц назад +1

    Wow, fantastic! Memories of l964 and the KDF9 mainframe at Birmingham Uni coming back. I even have a couple of punch cards tucked away. Those were the days--and I was a GLC user in Medical Biocem. Then the commercial lads took over & produced on stream computers to record analyses. I don't miss the breakdowns of the KDF9.!

  • @stzi7691
    @stzi7691 2 месяца назад +3

    Yes, well, for me it is reasonable that Fortran is back, because: a) scientific computing never went away, b) big-data-science is back (LLMs and so on) c) Fortran has seen quite a huge overhaul over the years (gone are implicit names with " implicit none"). d) Python does use it intensively, either in NumPy or FFI, where you can put new Fortran code in. I did not watch the whole video, though.
    I/O still is crutchy, but with other languages like Python contemplating its weaknesses, it might be a win-win.

    • @Drganguli
      @Drganguli  2 месяца назад

      Yes matrix operations needed for ML are suitable for Fortran. In most universities Matlab replaced Fortran but it is slow and not easily available for companies. Julia has not gained traction yet and lot of old simulation codes in Fortran are being used to create ML models.

  • @ssmith5048
    @ssmith5048 2 месяца назад +2

    Some Fortran tidbits: Also, scipy as well as numpy both have Fortran and C libraries in them. You can do (if for some horrible reason you want to) OOP in Fortran. Fortran matrices is columnar major, similar to Mathlab and several other languages geared towards science and eng., this can trip people up if they are used to C based languages. By default, Fortran indexes starting with 1, as opposed to C (and many other languages), however this can be changed by the user to start at 0.

    • @Drganguli
      @Drganguli  2 месяца назад

      Thanks. I really liked the fact that indexing starting with one in Fortran. Took a long time to get used to thinking in C.

  • @markwilliamson9199
    @markwilliamson9199 2 месяца назад +1

    Gosh great memories. I learned FORTRAN 4 in 1976, and then used FORTRAN 77 a lot until 2000 or so. In 2010 I helped support a very old computer model in FORTRAN 4 for graduates. I also used ALGOL 58 and CORAL 66 of a similar era.

  • @ssmith5048
    @ssmith5048 2 месяца назад +4

    Fortran never went away....

    • @Drganguli
      @Drganguli  2 месяца назад

      True but it’s growth over the past year is interesting

  • @normanhopkins6114
    @normanhopkins6114 Месяц назад +1

    I did some FORTRAN-68 scientific programming for NASA on a UNIVAC-1100 way back in 1981 and would be VERY rusty now. It’s nice to see it returning as a useful tool.

  • @sankarswamynathan931
    @sankarswamynathan931 2 месяца назад +4

    Sir. Please organize a tutorial in fortran. Expect at the earliest.

  • @davidtipton514
    @davidtipton514 2 месяца назад +1

    Fortran 77 was the first language I learned in college (1981)! I later learned the details of Fortran IV. I have learned many other languages, but I always loved my first one!

  • @Johnwashere-dt2ov
    @Johnwashere-dt2ov 2 месяца назад +3

    I was introduced to FORTRAN during my electrical engineering degree 1976 to 1979. We used punch cards….

  • @Hertog_von_Berkshire
    @Hertog_von_Berkshire Месяц назад +1

    When I was at IBM in the late 1970s, FORTRAN was largely a thing of the past but PL/1 was widely used. I got drawn into an APL clique within the company, due to the influence of a close colleague who was an APL guru and advocate. I never met him but other members of the clique knew the language's founder, Kenneth Iverson.

    • @Drganguli
      @Drganguli  Месяц назад

      Thanks for sharing your amazing experience!

  • @raju1950
    @raju1950 2 месяца назад +3

    Fortran and cobol twin brothers of my career

  • @alabamacajun7791
    @alabamacajun7791 2 месяца назад +1

    Yes Julia is the modern fit, love it. Engineers and Mathematicians see the first cell in a matrix as 1 but if you graph it out then 1 is the first line off the zeroth line. When a normalized fractional index is introduced we now have an index between 0 and 1. That is where I parted from cardinal to ordinal index schemes. That is one thin Fortran gave us a simple way to work in a cardinal integer universe. I still have a copy of Fortran for PC-DOS.

  • @kookaburra.boogie
    @kookaburra.boogie 2 месяца назад +3

    Really? I did Fortran on an IBM 360 (batch process, punched card) in 1979 or 1980. Thanks

    • @Drganguli
      @Drganguli  2 месяца назад

      You are most welcome

    • @kookaburra.boogie
      @kookaburra.boogie 2 месяца назад +1

      @@Drganguli oh wow, thank you for the response. Is there a Fortran compiler for a Mac OS? Thanks again and more success on all your endeavors

    • @Drganguli
      @Drganguli  2 месяца назад

      GNU fortran is used on Mac OS.

    • @kookaburra.boogie
      @kookaburra.boogie 2 месяца назад

      @@Drganguli thank you, sounds like a gcc option - I’ll check it out

  • @garanceadrosehn9691
    @garanceadrosehn9691 2 месяца назад +1

    One of my friends wrote a book on "Classical Fortran", with a second edition published in May 2017. He's Michael Kupferschmid, and was a professor at RPI in Troy NY for a few decades, and at the same time worked in the campus computer center (which is where I work) as a consultant helping people doing research at RPI.
    People who already know Python but need something faster (especially for AI-related tasks) might want to check out the progress of a language called Mojo. It's a compiled language which is a superset of Python, and is compiled instead of interpreted. It isn't a complete alternative yet, but it's making rapid progress. I'd try to describe the interesting aspects of it, but you'd be better off looking for videos where Chris Lattner is talking about it.

    • @Drganguli
      @Drganguli  2 месяца назад +1

      Very interesting. I will check out the book and mojo. Also, Julia is another modern language for scientific computing

  • @AmeyawEmmanuelKakari
    @AmeyawEmmanuelKakari 2 месяца назад +3

    Yes i would like you to do some tutorials about Fortran

    • @Drganguli
      @Drganguli  2 месяца назад +1

      Ok will do a tutorial soon

  • @naveenmnc
    @naveenmnc Месяц назад +1

    I remember we did our Graduation project of Load Flow Analysis using large matrices in Fortran on DEC 2050 mainframe in 1985-86.

  • @cybervigilante
    @cybervigilante 2 месяца назад +3

    COBOL is also a huge amount of legacy business code. And Zero indexing is a curse. Yes, I know they have vague reasons for it, but they're baloney.

    • @Drganguli
      @Drganguli  2 месяца назад +1

      True COBOL is a very old language. I do know one COBOL programmer though.

  • @jean-emmanuelrotzetter6030
    @jean-emmanuelrotzetter6030 Месяц назад +1

    In fall 1966 our high school in [in Switzerland] started an introduction class to computers in cooperation with local university.
    So I had the occasion learning Fortran in 1967, run first programs on a Univac III using punched cards with the round holes .....
    Have been teaching Fortran later at university, wrote my last Fortran programs for industry applications in 1991.
    Then main activity shifted to management ........ .

  • @train_xc
    @train_xc 2 месяца назад +4

    If a ranking don’t have JS and Python in #1 and #2 position, there’s no credibility to that ranking .
    To be honest I despise JS, but can’t deny it is now used almost every web applications, a lot in mobile applications , and even in academia

    • @Drganguli
      @Drganguli  2 месяца назад

      Python is always number one nowadays as it is highly popular. JS is always in the top ten. But as you say, not many people like it.

    • @zackyezek3760
      @zackyezek3760 2 месяца назад +1

      JS has never been bigger than C or C++, the languages every compiled OS and system level package (including those browser engines that run JS) has been written in for 40+ years. Only in the last ~5-10 years have any alternatives gotten off the ground at all (Rust) and they’re still obscure niche newbies in comparison.
      So Python, C, C++, JS all jockeying for the top 4 spots makes sense. Before C and its descendants took over, it was Fortran and COBOL that were the big programming languages. Fortran is really the only survivor from that early 50s-60s pre-C era of computing where computers were just coming into existence in their modern form (e.g. things like a recognizable operating system, programming languages and high level code not tied to specific machines). JS occupies a role akin to C’s for the web, so it’ll probably have similar longevity, but it’s unlikely to ever be #1 simply because of where it lives in the software stack.

    • @Drganguli
      @Drganguli  2 месяца назад

      @@zackyezek3760 Thanks for your detailed comment. It is amazing that fortran or coming back

  • @DaleWilliams-zc5te
    @DaleWilliams-zc5te 2 месяца назад +2

    Used Fortran since the early 60s. The beauty was the language is known by all who understood mathematics and logical gates. I favored IV. It was powerful for engineering computation. Separation of the complete program into functional loop subroutines was powerful. I am pleased Fortran is being recognized again. Present languages are filled with unuser friendly learning requiring millions of lines of tedious code.

    • @Drganguli
      @Drganguli  2 месяца назад

      Yes other languages like C or Java or Python were created with different applications in mind.

    • @davidsandy5917
      @davidsandy5917 2 месяца назад

      I looked at Python and immediately noticed no dimension statement. How do you create arrays? I asked and was told there was an add-on program for that. For an old Fortran IV programmer, I am more comfortable with GW-Basic, than Python.

  • @gokuldastvm
    @gokuldastvm 2 месяца назад +3

    Fortran is one language that got its formula right. It focuses on one thing and tries to be the best at it. It doesn't try to be a general-purpose language.

  • @billferner6741
    @billferner6741 2 месяца назад +2

    In 72, I started programming in Fortran for a room size IBM machine. I gave up since the data in/output was by punch tapes. The reacher restricted the iteration of programming because of the high mechanical failures (punch type writer) and consecutive high cost of maintenance.
    I gave up ( waited for micro processors and teletype machines in hex code).

  • @akaalkripal5724
    @akaalkripal5724 2 месяца назад +3

    Imagine Fortran + MLIR

  • @mikebellamy
    @mikebellamy 2 месяца назад +2

    I started with Fortran IV on punch cards at university in 1969 and ended up writing code for aircraft aerodynamic design on a teletype terminal talking to a PDP 8 a mile down the road in the 1980's. Thanks for the update..

    • @Drganguli
      @Drganguli  2 месяца назад

      Great

    • @arthurcrown3063
      @arthurcrown3063 2 месяца назад +2

      I used to punch pre-perforated cards with a toothpick - until I was allowed to use a card-punching machine. Started with Fortran 4. and sent punched cards ro Imperial College London for processing.Taught BASIC at school and had a teletype connected by old-fahioned modem to Glasgow Honeywell (used before 8am because calls were dearer after that).

    • @Drganguli
      @Drganguli  2 месяца назад

      @@arthurcrown3063 Amazing!

  • @kparag01
    @kparag01 2 месяца назад +6

    Reality is Fortran killed my computer learning interest when the institute does not have a computer and Fortran was included in the syllabus

    • @Drganguli
      @Drganguli  2 месяца назад +2

      Well in the 1980’s when I did b tech in iit Kharagpur we studied fortran without any computer. We even wrote code on papers and never compiled them but these got graded.
      How to Learn to Code without a Computer?
      ruclips.net/video/WmAKzEPPQy8/видео.html