From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a37:9f09:: with SMTP id i9mr110097qke.60.1591196850925; Wed, 03 Jun 2020 08:07:30 -0700 (PDT) X-Received: by 2002:a9d:58c4:: with SMTP id s4mr310795oth.240.1591196849836; Wed, 03 Jun 2020 08:07:29 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 3 Jun 2020 08:07:29 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=212.251.152.55; posting-account=bPTmZAoAAAC_6HP9XLKB9aAAxBa6BuOR NNTP-Posting-Host: 212.251.152.55 References: <45af26dc-c35f-4a01-8115-7b30021cc064@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <810ec8f9-256a-48d4-96d2-e9c33dca3866@googlegroups.com> Subject: Re: Any good package for mathematical function in Ada? From: reinert Injection-Date: Wed, 03 Jun 2020 15:07:30 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:58948 Date: 2020-06-03T08:07:29-07:00 List-Id: mandag 1. juni 2020 12.43.04 UTC+2 skrev Dmitry A. Kazakov f=C3=B8lgende: > On 01/06/2020 01:25, Jerry wrote: >=20 > > If the binary you are linking to is in C or Fortran your job as an Ada = programmer isn't too bad but if you have never done it, it will take you a = while to figure it out. Just remember that Ada is built to do this. I did a= complete thick binding for PLplot a few years ago. It was lot of work to m= ake it Ada-friendly but in large part because I didn't know C. And in a sma= ller part because it seems that programming in a crappy language spawns cra= ppy programming techniques. Some of the things C programmers do are abomina= ble and not required by the language. Sorry for the OT rant. >=20 > That is true. >=20 > > I really wish Ada had a good binding to at least one of these libraries= . >=20 > Yes, but it is a lot of work and maintenance. And with mathematical=20 > functions good binding should take advantage of Ada subtypes, e.g. when= =20 > the documentation says X > 0 and then uses double! >=20 > --=20 > Regards, > Dmitry A. Kazakov > http://www.dmitry-kazakov.de Thanks, I will try it out (on linux) reinert