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=unavailable 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: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Running a preprocessor from GPS? Date: Thu, 30 Jul 2015 12:29:36 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org 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> <87380683vc.fsf@adaheads.sparre-andersen.dk> <347c6be9-c918-4bc0-9494-c93cd6740def@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Thu, 30 Jul 2015 19:28:03 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="ee44d3db9c41f5ad88d7e8e8f0268f05"; logging-data="7246"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19dHAUbK8oQnLUxviJryrVPx1FiNDkrbv0=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 In-Reply-To: <347c6be9-c918-4bc0-9494-c93cd6740def@googlegroups.com> X-Mozilla-News-Host: news://freenews.netfront.net Cancel-Lock: sha1:ISnPHEBCC4JPdpq5DzT/X7hgv68= Xref: news.eternal-september.org comp.lang.ada:27239 Date: 2015-07-30T12:29:36-07:00 List-Id: On 07/30/2015 01:37 AM, EGarrulo wrote: > > Hence, where is the magic please? So far, I know that programming > languages either offer garbage collection (and that works only for > memory), or some kind of reference-counting (and that works for > everything, but it requires some planning). > > Yet, ironically, hardly ever somebody explains how a programming > language is meant to be used. You are always supposed to magically "get it". And we're supposed to magically know what you think cannot be done in Ada without manual memory management. You have mentioned "shared resources" a couple of times without defining what a "resource" is or what it's shared between. Maybe you mean sharing a data structure between tasks, though anyone who understands Ada knows how to do that without access types or manual memory management. In Ada one can implement many recursive data structures without access types or manual memory management. Maybe that's what you mean. It's clear you come from a C/++ background, and I suspect you are thinking in C/++ terms. -- Jeff Carter "Pray that there's intelligent life somewhere up in space, 'cause there's bugger all down here on earth." Monty Python's Meaning of Life 61