This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: General compiler question.
On Tue, Oct 26, 2004 at 02:09:09PM +0100, John Vaul wrote:
> Is it the case that if I was clever enough I could write a C program
> that was as efficient as a Fortran program compiled
> with any Fortran compiler? And if I was super clever I could just write
> my whole code in assembly language and it would
> be super fast?
>
> But I'm not clever, so I write in Fortran, save lots of time and rely
> on the clever people who write the Fortran compiler.
>
If you are clever enough to write said program in C or assembly,
then you are probably smart enough to recognize that Fortran is
a better choice for the language. C, assembly, and Fortran
are all tools. Choose the one best suited to the task at
hand.
BTW, fortran@ is intended for discussion of the development
and maintenance of the Fortran component of GCC. Your
philosophical questions are off topic.
--
Steve