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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,7b5615402713dcbb X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.130.7 with SMTP id q7mr1676292bks.2.1346132130006; Mon, 27 Aug 2012 22:35:30 -0700 (PDT) Received: by 10.224.182.74 with SMTP id cb10mr2490881qab.0.1346132128171; Mon, 27 Aug 2012 22:35:28 -0700 (PDT) Received: by 10.52.34.115 with SMTP id y19mr2229864vdi.1.1346132128151; Mon, 27 Aug 2012 22:35:28 -0700 (PDT) Path: m12ni143463bkm.0!nntp.google.com!news2.google.com!r1no2152566qas.0!news-out.google.com!da15ni36163658qab.0!nntp.google.com!r1no2152551qas.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 27 Aug 2012 22:35:28 -0700 (PDT) In-Reply-To: <8bfbf709-18ac-43cd-b037-ce47adde96c2@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=84.253.198.167; posting-account=QrZwxQoAAAByl3YAWTpexAk3yBYyZMHn NNTP-Posting-Host: 84.253.198.167 References: <8bfbf709-18ac-43cd-b037-ce47adde96c2@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Ada and Java/C++ From: kalvin.news@gmail.com Injection-Date: Tue, 28 Aug 2012 05:35:28 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-08-27T22:35:28-07:00 List-Id: Let's elaborate this subject a bit more. Facts: - Embedded software and hardware deployed everywhere - Software projects are getting bigger and more complex all the time - Software is getting close to people each day - Mission critical software is entering our daily lives in form on automati= on (like Google cars, home automation, nursing systems etc. just name it) 1. Ada (2005 and 2012) is ready for prime time 2. Ada is designed for mission critical and embedded software 3. Java and C are common languages in embedded systems 4. Java and C are weak languages for mission critical system eg. poor type = checking, exception handling, tasks are not native in the language etc. - C is notoriously poor language in terms of type checking, pointer arithme= tics, arrays, packages, just name it - Although efforts in Misra C, it is still C with its faults and shortcomin= gs - Java has some improvements to C, but it still can be improved - Java is not designed for mission critical systems 5. Ada programmers are hard to find - For example, DoD has faced the problem of finding Ada programmers, DoD ha= s been force into situation that mission critical software is being impleme= nted in Java - Java and C programmers see Ada as a complex language - Ada is perceived as military language - Ada is perceived as a complex and heavy language As you may see from list above, the points 1&2, and points 3-5 are contradi= cting. Could the situation be improved somehow, so that existing Java and C= programmers can adopt Ada-mindset more easily, and can the Java and C synt= ax be fixed to allow more robust software engineering. My suggestion here is to introduce Ada's good virtues for C and Java progra= mmers in syntax that is familiar to most of the software engineers. As many writers has well pointed out, it may not be easy or possible to rep= resent full Ada features in Java and C syntax. What is required here, it th= at we retain as much Java and C syntax as possible, and then extend it and = fix it as necessary - type definition, dangling else problem and switch-cas= e-break are a good but simple examples of this. - Calvin