From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!Ey80XmuuMgmf3K5pHbZCsg.user.46.165.242.75.POSTED!not-for-mail From: 711 Spooky Mart <711@spooky.mart> Newsgroups: comp.lang.ada Subject: Re: Ada versus Pascal Date: Fri, 22 Oct 2021 04:59:25 -0500 Organization: Aioe.org NNTP Server Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: gioia.aioe.org; logging-data="4153"; posting-host="Ey80XmuuMgmf3K5pHbZCsg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Secret Agent Man Content-Language: en-US X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader02.eternal-september.org comp.lang.ada:63051 List-Id: On 10/22/21 1:18 AM, ldries46 wrote: [...] > Ada is stricter > than other languages and is meant to have NO Operating system dependant > items, so if you cannot go around something there must be a package on > each operating system having the same interface everywhere. By this do you mean the same syntax and libs will run on all target systems without fiddling with {IFDEF} and architecture compiler switch woo foo for USES and repetitive cross-arch boilerplate? One thing I can't stand about Pascal is the totally different functions and logic from several operating systems that MUST be re-written several times in the same code base to do the same job. This drives me mad. In fact it irks me so much I was thinking of writing some libraries for things I do that would handle this all automatically across arches. There would go a couple months of Sundays. Think IPC with Pascal. Get a good IPC routine going for Linux in your app, then you have to re-write it for MAC and Windows, and even some other flavors of *nix. So am I to understand that the Ada compiler has somehow eliminated this problem, by ensuring every target OS has a syntactically conformant package to execute its methods using the same statements? If I'm understanding you rightly, even though Ada sounds like a much more complex language than Pascal, it also sounds like it would have less surprises across arches. Please elaborate if I'm misunderstanding. And thanks to everyone else who has responded. 711