comp.lang.ada
 help / color / mirror / Atom feed
From: ldries46 <bertus.dries@planet.nl>
Subject: Re: Ada versus Pascal
Date: Sat, 23 Oct 2021 09:13:37 +0200	[thread overview]
Message-ID: <nnd$1daff1e2$1c873db0@599bac74cca8d5c1> (raw)
In-Reply-To: <itg2niFeqbnU1@mid.individual.net>

Op 22-10-2021 om 17:12 schreef Niklas Holsti:
> On 2021-10-22 12:59, 711 Spooky Mart wrote:
>> 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?
>
>
> I'm not ldries46, but here is an answer: Ada standardizes _some_ 
> functions for which some other languages use "OS" services, 
> principally threading, which in Ada is the "tasking" feature. Indeed 
> Ada tasking works in the same way whichever OS is used, and also in 
> the "bare board", no-OS situation. This is very useful for developing 
> multi-threaded embedded SW, because the Ada tasking code can be tested 
> on desk-top workstations and then executed on the target system 
> unchanged. (and no "ifdefs").
>
> But real operating systems (as opposed to simpler real-time kernels) 
> provide many services that are not standardized in Ada, for example 
> inter-process communication.
>
Of course there are system functions that are in OS that are not 
implemented in standard Ada. That type users must implement themselves. 
In fact some users are doing that and are present these solutions to the 
world. For these packages the latter line of my earlier comment is 
applicable.

  parent reply	other threads:[~2021-10-23  7:13 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-22  3:29 Ada versus Pascal 711 Spooky Mart
2021-10-22  6:18 ` ldries46
2021-10-22  9:59   ` 711 Spooky Mart
2021-10-22 15:12     ` Niklas Holsti
2021-10-22 15:47       ` Dmitry A. Kazakov
2021-10-23  7:13       ` ldries46 [this message]
2021-10-23 14:08       ` Simon Wright
2021-10-22  6:40 ` Paul Rubin
2021-10-22  8:57 ` Niklas Holsti
2021-10-22 11:49 ` Jeffrey R.Carter
2021-10-22 17:05 ` Dennis Lee Bieber
2021-10-23  0:29   ` Paul Rubin
2021-10-23  1:17     ` Randy Brukardt
2021-10-23 17:24     ` Dennis Lee Bieber
2021-10-24  7:04       ` J-P. Rosen
2021-10-22 20:00 ` Gautier write-only address
2021-10-24  4:33 ` Jerry
2021-10-24  6:32   ` ldries46
2021-10-24 16:51   ` Gautier write-only address
2021-10-24 23:24     ` 711 Spooky Mart
2021-10-25  8:23       ` Niklas Holsti
2021-10-25  8:40         ` Luke A. Guest
2021-10-25 13:34           ` Luke A. Guest
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox