Sujet : Re: Ichbiah 2022 compiler mode
De : mailbox (at) *nospam* dmitry-kazakov.de (Dmitry A. Kazakov)
Groupes : comp.lang.adaDate : 12. Sep 2024, 11:07:01
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vbuavl$61c8$1@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Mozilla Thunderbird
On 2024-09-12 09:42, Niklas Holsti wrote:
I don't mind at all if a future Ada evolution merges tasks and "parallel", although it might defeat the easier access to multi-core true parallelism that is the goal of the "parallel" extension, AIUI.
To me usefulness of "parallel" is yet to be seen, while tasks proved to be immensely useful on all architectures available.
Priorities (or the equivalent, such as deadlines) are absolutely required for real-time systems where there are fewer cores than concurrent/parallel activities so that the system has to schedule more than one such activity on one core.
If Ada did not have tasks with priorities, most of the Ada applications I have worked on in my life would have had to avoid Ada tasking and retreat to using some other real-time kernel, with ad-hoc mapping of the kernels's threads to Ada procedures.
Right.
Despite the transition to multi-core processors, I think that there will continue to be systems where scheduling is required, because the number of concurrent/parallel activities will increase too.
Yes.
The law of nature is that any resources becoming available will be consumed by the software regardless the purpose of... (:-))
-- Regards,Dmitry A. Kazakovhttp://www.dmitry-kazakov.de