Fortran is a long-lived programming language for scientific computing

learn more… | top users | synonyms

0
votes
0answers
6 views

Subroutines with same name [migrated]

I am trying to have same name for two subroutines but am getting the error: gfortran gshapes.f08 gshapes_utest.f08 -o gshapes_utest.x gshapes_utest.f08:53.41: call ellips%set_ellipse_corner (crnr1, ...
2
votes
1answer
192 views

How can I combine C/Fortran with JavaScript?

I'm working on a project where I need heavy numerical calculations to be real-time visualized with something flexible like D3.js. Are there frameworks out there that would let me painlessly achieve ...
13
votes
8answers
957 views

How can I explain object-oriented programming to someone who's only coded in Fortran 77?

My mother did her college thesis in Fortran, and now (over a decade later) needs to learn c++ for fluids simulations. She is able to understand all of the procedural programming, but no matter how ...
11
votes
9answers
1k views

Greenspun's Tenth Rule, does every large project include a Lisp interpreter?

Greenspun's tenth rule (actually the only rule) states that: Any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of ...
11
votes
10answers
2k views

Converting Fortran 77 code to C#

I'm trying to convert a Fortan77 program to C#. I have a subroutine with about 650 lines of code and horrific GOTO statements all over the place. I'm having a lot of trouble even starting to visualise ...
0
votes
1answer
273 views

Where can I find a punched card simulator? [duplicate]

Possible Duplicate: Learning to program on punchcards I wasn't born in the era, but I'd like to experience writing a program with punch cards. Does anyone know of a program or an online ...
9
votes
5answers
696 views

Why no fortran standard library?

To be a language focused on mathematics and scientific computing, I am always baffled by the total lack of useful mathematical routines in the Fortran standard library. One would expect it to be ...
8
votes
5answers
2k views

Do Fortran compilers really generate faster code than C compilers?

When I was studying in the university I often heard the idea that Fortran compilers produced faster code than C compilers for an equivalent program. The key reasoning went like this: a Fortran ...
17
votes
7answers
705 views

How can a large, Fortran-based number crunching codebase be modernized?

A friend in academia asked me for advice (I'm a C# business application developer). He has a legacy codebase which he wrote in Fortran in the medical imaging field. It does a huge amount of number ...
0
votes
1answer
220 views

Teaching programming (languages) in central/northern Europe

I hope this question is not going to be off-topic; in case you think there'd be a better place to ask it, please let me know. Anyway, I'm currently doing my PhD working in bioinformatics. I would, ...
4
votes
7answers
739 views

What keywords are important to speedup the code in C++?

I'm porting to C++ and adding a lot of functionality to a numerical application written in Fortran 77. While I hate F77, I have to admit that the thing goes very fast. Now, I'm implementing ...
0
votes
4answers
301 views

Design of an evaluator object for propagation and IO of results

We are having a discussion about design. Keep into account this is fortran, so we can't be too smart. We have the following classes: Application, System, Calculator, CalculatorSimple, ...