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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5c4627b775acf6be X-Google-Attributes: gid103376,public From: dvdeug@x8b4e53cd.dhcp.okstate.edu (David Starner) Subject: Re: The Ada Scalar, Vector, Matrix and Tensor arithmetic library? Date: 1999/12/04 Message-ID: <82c7mu$a2g1@news.cis.okstate.edu>#1/1 X-Deja-AN: 556750023 References: <38497235.D8339C38@netwood.net> <82btoo$8201@news.cis.okstate.edu> <82buhr$8q61@news.cis.okstate.edu> <38498EB1.306427C8@netwood.net> Organization: Oklahoma State University User-Agent: slrn/0.9.5.7 (UNIX) Reply-To: dstarner98@aasaa.ofe.org Newsgroups: comp.lang.ada Date: 1999-12-04T00:00:00+00:00 List-Id: On Sat, 04 Dec 1999 21:59:13 +0000, E. Robert Tisdale wrote: >David Starner wrote: > >> On 4 Dec 1999 20:32:24 GMT, >> David Starner wrote: >> > An Ada binding is inappropriate. >> > Stuff like this is usually written in inline generics >> > in languages like C++ & Ada for high speed >> >> Let's try that sentence again. >> "Matrix libraries are usually written in >> the language they are intended to be used in >> to take advantage of inline generics that give it decent speed. >> (This is only true for languages that have good inline generics, >> like C++ and Ada.)" > >No one actually cares how matrix libraries are implemented >except that the implementation should be optimized >appropriately for the target platform and problem domain. Sure, but the way of doing that for Ada is most likely not a wrapper around a C++ library, it's more likely to be use inline generics. >Only the Application Programmer's Interface (API) >is really important. >If the application programmer uses a standard API, >it should be possible to port the application to any platform >where there is a library that supports the standard API. But there is no standard API for this in Ada. So why worry about it? One way to get a standard API is to create a library that implements a clean API, and get it used to the point that anything trying to replace it will have to implement its API. >The API for each existing Ada library was designed >around a particular implementation which precludes >any other implementation. Huh? Your statement makes me start thinking about the multitude of standards that originally were a particular implementation - UNIX, C, Fortran, recently OpenSSH and OpenPGP, etc. There is no reason you can't take any API and design a implementation around it. -- David Starner - dstarner98@aasaa.ofe.org I see no trend at all, except toward women playing mean and ugly sociopaths who are good at killing and who enjoy dark powers. Maybe it's just my friends? -- Dr. Kromm, on who plays what type of character in RPGs