Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 12 additions and 8 deletions.
  1. +12 −8 src/faq.rst
View
20 src/faq.rst
@@ -9,14 +9,13 @@ sending a pull request fixing it, see the `main <http://fortran90.org/>`_ page).
What is the advantage of using Fortran (as opposed to for example C/C++)?
-------------------------------------------------------------------------
-First an informal, general answer.
-The key bottom line is: Fortran is *not* a general purpose language. Rather,
-it is built from the ground up to translate mathematics into simple, readable,
-and fast code -- straightforwardly maintainable by the gamut of scientists who
-actually produce/apply that mathematics. If that is the task at hand, it is the
-right tool for the job and, as right tools tend to do, can save enormous time
-and pain, with most excellent results in the end. If, however, mathematics is
-not the task, then almost certainly C++ will be much, much better.
+Fortran is built from the ground up to translate mathematics into simple,
+readable, and fast code – straightforwardly maintainable by the gamut of
+mathematicians, scientists, and engineers who actually produce/apply that
+mathematics. If that is the task at hand, it is the right tool for the job and,
+as right tools tend to do, can save enormous time and pain, with most excellent
+results. If, however, mathematics is not the main task, then almost certainly
+C/C++, or a host of other more general-purpose languages, will be much better.
The design goals of the C++ language are
(`citing <http://www2.research.att.com/~bs/C++0xFAQ.html#aims>`_
@@ -133,6 +132,11 @@ with GCC and Clang.
What is the best way to distribute and install Fortran libraries?
-----------------------------------------------------------------
+The best way is to simply provide the library as modules with source. That way,
+compilers can optimize to the particular hardware and there are no object-file
+incompatibility issues -- and the user can extend/modify the module for his own
+purposes.
+
Due to ABI incompatibility, in general the ``.so``/``.a`` libraries compiled
with one compiler version cannot be used with any other compiler or version.

No commit comments for this range

Something went wrong with that request. Please try again.