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,a0be06fbc0dd71f1 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!fdn.fr!freenix!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Message-ID: <4783E0A9.40601@obry.net> Date: Tue, 08 Jan 2008 21:44:25 +0100 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: comp.lang.ada To: Brian May Subject: Re: The future of Ada is at risk 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 08 Jan 2008 21:44:26 CET NNTP-Posting-Host: 86.205.32.111 X-Trace: 1199825066 news.orange.fr 897 86.205.32.111:3333 X-Complaints-To: abuse@orange.fr Xref: g2news1.google.com comp.lang.ada:19278 Date: 2008-01-08T21:44:26+01:00 List-Id: Brian May a �crit : > My preference for implementing such a system would be to have a > pre-compiler that compiles the basic table definitions into Ada code > that can be compiled with the rest of the application (e.g. like IDL > compilers). > > That way you get static type checking, minimal run-time overhead, etc. Yes. That is what I generally do when I need to use a DB on an Ada project. The first time I did that was in 1995, nothing new :) Note that AWS also comes with a pre-compiler for template files to interface to the Ajax and HTML-forms. This also adds some checking without run-time overhead. Doing this ensures that when you modify the database or the templates the code won't compiler anymore. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595