Re: Multitasking and containers



On Mon, 27 Nov 2006 18:41:00 GMT, Jeffrey R. Carter wrote:

Georg Bauhaus wrote:

But "parallel systems require delicate handmade work" is probably
not good advice at all, because (a) parallel systems operate in parallel
and there isn't a sharing issue in the first place, no protection is
needed. (b) When systems start communicating, and if it were true
that concurrency requires delicate handmade work, why then use a
language like Ada? The delicacies of the mechanisms behind tasks
and shared protected objects are hidden in Ada RTSs. Therefore, if
parallel systems do require delicate handmade work, the language
designers should abandon Ada tasks and protected objects, because
obviously they cannot meet the requirements of parallel systems.

I guess we have different interpretations of "delicate handmade work". I
took it simply to mean custom implementations tailored to the specific
project (such as a container that does not need protection for reads). I
guess only Kazakov can tell us for sure.

Actually, you did it better than me. Thanks.

I also agree with your point about premature optimization. It is a common
disease, which costs much work and many bad designs, which in the end turn
neither efficient nor clean. I suffer it as well, this in a human nature of
many programmers.

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.



Relevant Pages

  • Re: Multitasking and containers
    ... manipulate the container by calling protected procedures. ... But "parallel systems require delicate handmade work" is probably ... and shared protected objects are hidden in Ada RTSs. ...
    (comp.lang.ada)
  • Re: Multitasking and containers
    ... because parallel systems operate in parallel ... and shared protected objects are hidden in Ada RTSs. ... parallel systems do require delicate handmade work, ... took it simply to mean custom implementations tailored to the specific project (such as a container that does not need protection for reads). ...
    (comp.lang.ada)
  • Re: future of programming languages
    ... > efficient programs for parallel systems. ... Ada has provided concurrency capabilities for 20 years now. ... I have written an article on concurrent shared object design patterns. ... uses Ada protected objects to illustrate the design patterns. ...
    (comp.programming)

Quantcast