Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I hear that Ada is slower than Fortran or C, is that true?

ADA FORTRAN hear slower
0
Posted

I hear that Ada is slower than Fortran or C, is that true?

0

First, note that you are comparing compilers, not languages. There is no such thing as “fast” Ada code any more than there is “fast” C++ or Fortran code. Now, when comparing execution speeds on similar platforms, you must keep in mind the optimization levels, OS tuning, etc. while making the comparisons. The bottom line is that benchmarking, especially between two different languages, requires _very_ careful measurement. In general, such results should be viewed with caution. (A message from Bevin Brett of DEC) I have been asked to comment on the relative performance of algorithms coded in Ada and in Fortran. This question has come up repeatedly over the years, and deserves a complete answer, rather than a simplistic one. There are many factors which influence the size and execution speed of the running program, and they all play together to get a full answer. I shall then discuss an exact Ada v. Fortran comparison that Digital was involved in.

0

First, note that you are comparing compilers, not languages. There is no such thing as “fast” Ada code any more than there is “fast” C++ or Fortran code. Now, when comparing execution speeds on similar platforms, you must keep in mind the optimization levels, OS tuning, etc. while making the comparisons. The bottom line is that benchmarking, especially between two different languages, requires _very_ careful measurement. In general, such results should be viewed with caution. (A message from Bevin Brett of DEC) I have been asked to comment on the relative performance of algorithms coded in Ada and in Fortran. This question has come up repeatedly over the years, and deserves a complete answer, rather than a simplistic one. There are many factors which influence the size and execution speed of the running program, and they all play together to get a full answer. I shall then discuss an exact Ada v. Fortran comparison that Digital was involved in. First, a position statement: The variatio

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123