Stories
Slash Boxes
Comments

SoylentNews is people

posted by LaminatorX on Friday May 09 2014, @09:18AM   Printer-friendly
from the Get-Off-My-Extremely-Efficient-Lawn dept.

Ars technica looks at Fortran, and some new number crunching languages in Scientific computing's future: Can any coding language top a 1950s behemoth?

This state of affairs seems paradoxical. Why, in a temple of modernity employing research instruments at the bleeding edge of technology, does a language from the very earliest days of the electronic computer continue to dominate? When Fortran was created, our ancestors were required to enter their programs by punching holes in cardboard rectangles: one statement per card, with a tall stack of these constituting the code. There was no vim or emacs. If you made a typo, you had to punch a new card and give the stack to the computer operator again. Your output came to you on a heavy pile of paper. The computers themselves, about as powerful as today's smartphones, were giant installations that required entire buildings.

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 1, Informative) by Anonymous Coward on Friday May 09 2014, @10:22AM

    by Anonymous Coward on Friday May 09 2014, @10:22AM (#41185)

    It may not be common knowledge that Fortran has undergone quite substantial evolution (it did stagnate between 1977 and 1990, that probably caused much of its image as an outdated language). Modern Fortran differs more from 1950's FORTRAN than C++11 does from K&R C.

    Starting Score:    0  points
    Moderation   +1  
       Informative=1, Total=1
    Extra 'Informative' Modifier   0  

    Total Score:   1  
  • (Score: 2, Interesting) by pasky on Friday May 09 2014, @10:59AM

    by pasky (1050) on Friday May 09 2014, @10:59AM (#41193)

    That's *nice*, but having "1990" in the name of the language doesn't mean it's actually well supported. If you look at e.g. https://github.com/scipy/scipy/issues/2829 [github.com] you see that scipy has trouble migrating from 37 year old Fortran language standard to 24 year old Fortran language standard because upgrade from 8 years old gcc version to a newer one would interfere with library linking on 12 years old Windows version.

    It's a special kind of hell.

    • (Score: 2, Interesting) by choose another one on Friday May 09 2014, @12:32PM

      by choose another one (515) Subscriber Badge on Friday May 09 2014, @12:32PM (#41215)

      Your problem is not with FORTRAN versions but with trying to use Python, and probably nasty GUI stuff. If you stick to being a "real programmer" and write everything in FORTRAN you wouldn't have that problem (but then you'd use '66 to ensure that you "compile DO loops like God meant them to be").

      If you really have to do that "visualization" stuff, put your output numbers in a text file and visualize in your head (what it's for). If there are too many numbers for the screen, then print them out, pin the top of the printout to the top of the wall and drape downwards and across the floor from there, repeat with extra printouts to the right if > 132 columns required. You do have a 132 col line printer & fan fold paper, right (I mean how do you visualise your data otherwise) ?

      If you really have to, calculate your pixels for your visualization / GUI (shudder), in FORTRAN and drop to assembler to blit them to screen. Or use a FORTRAN visualization library that creates Gif or Pdf - but we're heading away from the one true path and towards heresy there...

      [ mostly, but not all, with tongue in cheek and obviously ref http://en.wikipedia.org/wiki/Real_Programmers_Don' t_Use_Pascal [wikipedia.org] ]

    • (Score: 0) by Anonymous Coward on Friday May 09 2014, @12:32PM

      by Anonymous Coward on Friday May 09 2014, @12:32PM (#41216)

      High performance calculations don't run on Windows anyway. Do you know a single Windows supercomputer?

      • (Score: 0) by Anonymous Coward on Friday May 09 2014, @08:13PM

        by Anonymous Coward on Friday May 09 2014, @08:13PM (#41377)

        Do you know a single Windows supercomputer?

        You can see that if you squint really hard. [wikimedia.org]
        Among the fastest 500 recorded, the number fluctuates between two [tomsitpro.com] and three. [google.com]

        I wish I had bookmarked the page:
        A new system had been built and they were benchmarking it.
        For about an hour the world's fastest system ran Windoze.
        After they installed Linux on that system, they had a new mark for world's fastest.

        -- gewg_