From: reinert <reinkor@gmail.com>
Subject: Re: Any good package for mathematical function in Ada?
Date: Wed, 3 Jun 2020 08:07:29 -0700 (PDT)
Date: 2020-06-03T08:07:29-07:00 [thread overview]
Message-ID: <810ec8f9-256a-48d4-96d2-e9c33dca3866@googlegroups.com> (raw)
In-Reply-To: <rb2m3l$1a2d$1@gioia.aioe.org>
mandag 1. juni 2020 12.43.04 UTC+2 skrev Dmitry A. Kazakov følgende:
> On 01/06/2020 01:25, Jerry wrote:
>
> > 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 make it Ada-friendly but in large part because I didn't know C. And in a smaller part because it seems that programming in a crappy language spawns crappy programming techniques. Some of the things C programmers do are abominable and not required by the language. Sorry for the OT rant.
>
> That is true.
>
> > I really wish Ada had a good binding to at least one of these libraries.
>
> Yes, but it is a lot of work and maintenance. And with mathematical
> functions good binding should take advantage of Ada subtypes, e.g. when
> the documentation says X > 0 and then uses double!
>
> --
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de
Thanks, I will try it out (on linux)
reinert
prev parent reply other threads:[~2020-06-03 15:07 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-31 10:46 Any good package for mathematical function in Ada? reinert
2020-05-31 11:26 ` Dmitry A. Kazakov
2020-06-01 8:17 ` reinert
2020-05-31 23:25 ` Jerry
2020-06-01 8:24 ` reinert
2020-06-01 10:19 ` Dmitry A. Kazakov
2020-06-01 10:48 ` Nasser M. Abbasi
2020-06-01 11:34 ` Dmitry A. Kazakov
2020-06-01 11:52 ` Nasser M. Abbasi
2020-06-01 13:37 ` Dmitry A. Kazakov
2020-06-02 1:48 ` Jerry
2020-06-05 22:49 ` Randy Brukardt
2020-06-05 22:54 ` Paul Rubin
2020-06-06 7:06 ` Dmitry A. Kazakov
2020-06-06 13:58 ` AdaMagica
2020-06-01 10:43 ` Dmitry A. Kazakov
2020-06-02 1:51 ` Jerry
2020-06-03 15:07 ` reinert [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox