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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a0be06fbc0dd71f1 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!nntpserver.com!zeus.nntpserver.com!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: The future of Ada is at risk Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <20071229040639.f753f982.coolzone@it.dk> <878x3436pj.fsf@ludovic-brenta.org> <1199531506.9355.8.camel@K72> <1199539751.9355.46.camel@K72> <1xu2jerm6vwjv.mt6we9a8wu5q.dlg@40tude.net> Date: Sun, 6 Jan 2008 09:42:16 +0100 Message-ID: NNTP-Posting-Date: 06 Jan 2008 09:42:17 CET NNTP-Posting-Host: 6abc7942.newsspool1.arcor-online.net X-Trace: DXC=;7PgfXBIY9AlU`@c^jLCbJic==]BZ:afN4Fo<]lROoRAFl8W>\BH3YB^iX?XkoOn`oRN:LjDKbB[JCdYB X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:19232 Date: 2008-01-06T09:42:17+01:00 List-Id: On Sun, 06 Jan 2008 10:47:09 +1100, Brian May wrote: >>>>>> "Dmitry" == Dmitry A Kazakov writes: > > Dmitry> Higher than ODBC and properly done. There must be no traces of SQL, pure > Dmitry> relational algebra specified in Ada types, plus connection and transaction > Dmitry> support. I would also like to have non-relational DB support. > > I don't know if this would work in a compiled language like Ada, but I > really like the ideas used in Django (Python): > > http://www.djangoproject.com/documentation/model-api/ > > You create a Python class, using specialised types for fields, and > they get mapped to database tables and columns. No need to use SQL, > although you can if you really have to for some reason. As such, it > really is database independent. Yes, that looks pretty much like it should be, IMO. [ I think that the issue with static typing can be resolved. Of course the best way would be a support for anonymous record types (tuples). But there exist also possibilities to use generics or else to have abstract base tagged types for cells.] -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de