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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1014db,690ce1f62160d05a X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,690ce1f62160d05a X-Google-Attributes: gid103376,public X-Google-Thread: 1094ba,690ce1f62160d05a X-Google-Attributes: gid1094ba,public X-Google-Thread: 109fba,690ce1f62160d05a X-Google-Attributes: gid109fba,public From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Subject: Interfacing to Numerical Programming libraries (was: How to Design..) Date: 2000/08/11 Message-ID: #1/1 X-Deja-AN: 657369291 References: <39921178.819F6DCB@netwood.net> <399386EF.4F2AA3E6@netwood.net> <39940E84.B3115EFC@maths.unine.ch> <3994158E.150D1FDA@netwood.net> X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 966043039 216.44.122.34 (Sat, 12 Aug 2000 01:17:19 GMT) Organization: LJK Software NNTP-Posting-Date: Sat, 12 Aug 2000 01:17:19 GMT Newsgroups: comp.lang.c++,comp.lang.c,comp.lang.fortran,comp.lang.ada Date: 2000-08-11T00:00:00+00:00 List-Id: In article <3994158E.150D1FDA@netwood.net>, "E. Robert Tisdale" writes: > These thin interfaces to another language binding are called adapters. Here in comp.lang.ada they are called thin bindings. > You have implemented a very nice adapter but I'm not sure why. As indicated in _many_ previous threads, some people like thin bindings and some people like thick bindings. Some projects are best done with thin bindings and some projects are best done with thick bindings. > I think that Ada numerical application programmers should be able to write > > C := alpha*product(A, B) + beta*C; > > and let the compiler resolve the expression to a DGEMM procedure call. More precisely, the thick binding (including even some code) would take care of calling your library. Certainly that is a fine strategy to follow, just not the one cited.