Re: Ada vs Fortran for scientific applications



beliavsky@xxxxxxx wrote:
Nasser Abbasi wrote:

I personally think that one way to make Ada popular for scientific use is to
publish a version of the Numerical recipes book in Ada.

I have been waiting for this for long time.

This should show the advantages of using Ada for scientific/numerical
applications.


You cannot do this unless you get the authors of Numerical Recipes on
board, which would probably be difficult. I think a literal translation
of their Fortran or C code to Ada could not be posted online without
their permission.

The GNU Scientific Library (written in C)
http://www.gnu.org/software/gsl/ is open source. You could write an
open source version in Ada.


The problem is that GSL is GPL which is fine if your intent is to "Make free software" popular but at times this is in conflict with making "Ada Popular" in some application. They are probably both worthy goals, but pretty much everything I do for Open Source Ada I use GPL + linking/generics exception (GMGPL). Any direct translation of the GSL is likely to result in the Ada version being pure GPL and thus limit its usefulness in some areas.

.



Relevant Pages

  • Re: Where I find Bessel function for Ada ?
    ... !All you need to pick the right Pascal source, ... but some parts of "Numerical Recipes" are ... As the code for bessj0 is very short, translation to Ada is a small ... precision arithmetic so does not promise high accuracy. ...
    (comp.lang.ada)
  • Re: Interested about number crunching in Ada
    ... I bet the next version will be Numerical Recipes in Java. ... I think a version in Ada will be great, but of course we know that Ada is ... the Pascal-to-Ada converter p2ada is said to have successfully ...
    (comp.lang.ada)
  • Re: Where I find Bessel function for Ada ?
    ... |"I want to use the modified Bessel function of order 0 in my Ada| ... have an accurate level of confidence of it. ... The source for the Pascal version of Numerical Recipes can be found athttp://archives.math.utk.edu/software/msdos/numerical.analysis/nrpas1 ... ... As the code for bessj0 is very short, translation to Ada is a small ...
    (comp.lang.ada)
  • Re: Interested about number crunching in Ada
    ... I bet the next version will be Numerical Recipes in Java. ... C++ is the more sexy language now for selling more copies of the book. ... I think a version in Ada will be great, but of course we know that Ada is ... not sexy or popular enough, so I am sure this will never happen. ...
    (comp.lang.ada)
  • Re: The future of Ada is at risk
    ... Most companies left in 1998 when the DOD killed the "Ada Law". ... Most Ada projects are not for open source community and will ... it lacks proper support and implementation on a variety of platforms. ... Most programmer use a Desktop that they like ...
    (comp.lang.ada)