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: 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] ]

    Starting Score:    1  point
    Moderation   +1  
       Interesting=1, Total=1
    Extra 'Interesting' Modifier   0  

    Total Score:   2