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 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?B?QmrDtnJuIEx1bmRpbg==?= Newsgroups: comp.lang.ada Subject: Re: Running a preprocessor from GPS? Date: Thu, 30 Jul 2015 12:01:29 +0200 Organization: A noiseless patient Spider Message-ID: References: <2df4698f-4c8e-457c-822d-209cb2f8ab5e@googlegroups.com> <014427b1-ff7a-4a69-82e6-0330af77ed96@googlegroups.com> <91f88d79-197c-419f-84a8-908e05967a2c@googlegroups.com> <135c2b00-d13c-4f5d-a586-8aca442d363b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 30 Jul 2015 09:58:08 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="6a09ccc49493ecf301ef65af9aa456c7"; logging-data="7387"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8jAxI3h9rpqZwtt5oFk2R" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 In-Reply-To: <135c2b00-d13c-4f5d-a586-8aca442d363b@googlegroups.com> Cancel-Lock: sha1:fkcoex5jcCJnYeR2fzXEV/VSI2k= Xref: news.eternal-september.org comp.lang.ada:27191 Date: 2015-07-30T12:01:29+02:00 List-Id: On 2015-07-30 10:03, EGarrulo wrote: > On Thursday, July 30, 2015 at 9:31:36 AM UTC+2, björn lundin wrote: >> On 2015-07-30 08:01, Niklas Holsti wrote: >>> On 15-07-30 03:10 , EGarrulo wrote: >>>> Who knows? But since the realm of Ada is limited to embedded >>>> development, >>> >>> It isn't. >> >> It is certainly not. >> I've spent 18 years writing Ada in WMS/WCS systems - >> Database intense system with 100+ concurrent users >> Nothing embedded at all with them. > > That doesn't mean much. Ada doesn't offer any facility for > automatic resource management, and that makes it unsuitable for > applications that go beyond constrained embedded development. if you use 'new'. We hardly do. Why would we ? You define a type, and use variables of that type. Extremely seldom pointer to that type. variables of that type is put in containers. No pointers. The only time we use pointers is when interfacing to c-routines, which are encapsulated in procedures - and leak-free. > Who > wants to chase resource leaks in this day and age? Not to mention > the crippled support for exceptions in Ada. I guess what you don't know, you don't miss. I have no real objections to todays exceptions, so what do I miss ? -- -- Björn