

That is true for simulations, at least, where I as user would like more tools to make steered simulations.

For that, it’d be good to have a way to hook inside the computational process.
#Simply fortran virus software#
The use of numerical software in academia today requires creative approaches, as all “simple” problems are already solved. Might not be a big deal for many, but at some point you might need to find the pressure in a fluid described by PC-SAFT equation of state, and it’s so much more convenient to just use autodiff to get the Helmholtz energy derivative than to deal with it by hand.įrom user’s perspective (or why would users care about a language used for software they use)
#Simply fortran virus code#
The speed advantage over C/C++/Fortran comes not necessarily from more efficient machine code for 1:1 translated programs but because high-level languages make it easier to explore alternative, potentially more efficient, computational approaches.

I do know that it is not the language but the compiler and the optimized libraries. I really do not understand the title Fortran still has of being the best language for high-performance numerical algorithms.

Notice that everything is related to algorithms used in the analysis of satellites. Untill such real-time code generation capabilities are available in Julia, there’s no way to abandon Matlab and Simulink, at least for us, control engineers, I am afraid.
#Simply fortran virus Pc#
In particular, control engineers use Matlab – actually its graphical frontend for modeling and simulation of dynamical systems called Simulink (and Simscape and Stateflow) – not just for performing some offline computation on a PC but for generating a C/C++ code that is then intended for compilation on an embedded platform and for running in real time, processing the data from sensors and producing commands for actuators every fraction of a millisecond, possibly by solving some optimization problems, complying with whatever industrial standards (the core products for this are Simulink Coder and Embedded Coder). Some of them (including Julia) are even better performing and more convenient, I agree.īut in some engineering domains such (offline) computational tasks form just a fraction of the practical everyday use. Well, perhaps when it comes to “merely” solving whatever equations and optimization problems on a desktop computer and plotting the solutions, there are indeed serious alternatives, including Julia. I do not think that Matlab is in any danger. Except Matlab, that one I think is in risk, given the alternatives.
