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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bf02c238a92156a3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Windows Ada database support. Date: Mon, 29 Nov 2004 13:01:35 +0100 Message-ID: <1ohmhrsp481iu.w61dt6dz9cqk$.dlg@40tude.net> References: <5e3e03a7.0411240431.7e037a4e@posting.google.com> <2004112420030750073%david@bottoncom> <17w0jtt2xq2ya.1nj2623n37457.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de mztKlbcMIB4six75IasHUwVQ7CgAO74CADptrWmxgKb2AF+0o= User-Agent: 40tude_Dialog/2.0.12.1 Path: g2news1.google.com!news1.google.com!proxad.net!feed.ac-versailles.fr!fu-berlin.de!uni-berlin.de!not-for-mail Xref: g2news1.google.com comp.lang.ada:6631 Date: 2004-11-29T13:01:35+01:00 List-Id: On Mon, 29 Nov 2004 11:09:25 +0000 (UTC), Georg Bauhaus wrote: > Dmitry A. Kazakov wrote: > >:> At what time should Oracle CURSORs be given up? >: >: What about n-th level of CPU cache? Do you really care when you write an >: Ada application? > > Is it unusual to think about hardware, timing, resources, ... > when you write an Ada application? In terms of differences between P4 and AMD? One thinks about resources in terms of the abstraction layer used in the application. > The moment my DB-software is to be portable, I might not want to have to think > about DB specific things. In the case of Oracle cursors it turns out that > you might have to manually free resources. Certainly this has effects > on the performance characteristics, design etc. > And my choice cannot be decided by the vendor. I meant the vendor of Ada.Database. It is up to the library implementation to take care about all Oracle specific things directly or indirectly (over ODBC, SQL or whatsoever layer). It is no different from, say, GTK, which hides from you either Win32 or X11. You do not care about closing windows handles when you are using GTK. >: It is all compiler vendor business. As an application >: developer, I want to hear nothing about cursors. > > Neither would I but I have to. Yes, because bindings are thin. >:> How much precision can you portably specify for floating point >:> values in your DB independent package? >: >: The required precision should specify the application. > > Yes but this also influences what will be in this version of that > DB. So what? As long as my application uses Ada.Database, I do not care. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de