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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,486d4972706e99db X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!not-for-mail From: =?iso-8859-15?Q?Yannick_Duch=EAne_=28Hibou57=29?= Newsgroups: comp.lang.ada Subject: Re: Bug rate and choice of programming language Date: Wed, 11 Aug 2010 00:23:15 +0200 Organization: Ada At Home Message-ID: References: <9b242840-3400-4d5c-aa1e-db238701aebe@l6g2000yqb.googlegroups.com> <3e1c5adb-a0b8-4ffd-9268-fcaa2e3ad13c@v15g2000yqe.googlegroups.com> NNTP-Posting-Host: anOtUalzMUZHasssFqT+2w.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.60 (Win32) Xref: g2news1.google.com comp.lang.ada:13091 Date: 2010-08-11T00:23:15+02:00 List-Id: Le Tue, 10 Aug 2010 22:53:25 +0200, Phil Thornley = a =E9crit: > Automatically generated code was found to have considerably reduced > syntactic and data flow errors." This one is good to know. I was wondering about it these last few days = (was also wondering about a good choice to generate this, may be a scrip= t = language). Sometime, automatically generated sources seems difficult to = = avoid, even when one do not really enjoy the idea of preprocessor (may b= e = some resilient fears due to older bad experiences with C). This may = happens when an application has multiple parts using different languages= = or representations, and in the mean times must have some of their parts = = synchronized in some way. Ex. an application with an Ada or Pascal part,= = and HTML pages, and some JavaScript parts ; all with references to some = = kind of protocols, identifiers, standard data which may need to be = changed, etc. Different worlds, which may refer to common stuffs. This i= s = probably better when these dependencies are handled via automatic source= = generation using a single data source. I was wondering about reliability of automatically generated parts. Your= = comment is interesting in this area. -- = There is even better than a pragma Assert: a SPARK --# check. --# check C and WhoKnowWhat and YouKnowWho; --# assert Ada; -- i.e. forget about previous premises which leads to conclusion -- and start with new conclusion as premise.