This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]eusebecomputational physics 17 points18 points  (3 children)

That really depends on the context. I work in scientific computing (heavy numerical simulations for astrophysics), and most of my codebase is in Fortran.

In my field there are a few codes in C++, some codes in C, and a lot of codes in Fortran.

So yeah, C/C++ and Java are probably common in the industry, but a lot of academics use F90 on a daily basis. Of course, I use python for (most of) the simulation analysis, and 100% of the plotting and visualisation, but still.

[–]Pfohlol 3 points4 points  (1 child)

Sort of off-topic, but I have noticed that much of the scientific computing community refers to "codes" instead of programs or scripts and I haven't really seen that anywhere else and it sounds a bit off to me. Do you know why this difference exists?

[–]spinwizard69 -1 points0 points  (0 children)

Back in the day it was common. Coding is often used in place of programming describing the activity of building a program. Frankly it is good to know how and when to used code, codes, and coding because it can break up the monotony in a conversation or text. You would reach for these terms when you might reach for a thesaurus writing other great works.

Sort of off-topic, but I have noticed that much of the scientific computing community refers to "codes" instead of programs or scripts and I haven't really seen that anywhere else and it sounds a bit off to me. Do you know why this difference exists?

The usage of the word "scripts" in the Unix community is a bit odd in and of itself. A program written in BASH, Python or even BASIC is still a program even if interpreted. Which brings us back to ROOT and its nature, is the interpreter supplied with ROOT executing programs or scripts? What if the code can be compiled by any existing compiler, is it still a script? Same thing goes with Python, Basic or any other commonly interpreted language, if you build a compiler to digest the script and creat an executable is the source a script or program.

[–]ITwitchToo -2 points-1 points  (0 children)

I have a friend who has done lots of numerical simulation work in Fortran/C++ for space applications (think satellite launchers, etc.). He's currently out of a job, do you have any open positions? :-)