home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.transputer
- Path: sparky!uunet!mcsun!sun4nl!dutrun!dutrun2!dutncp8!rob
- From: rob@pact.nl (Rob Kurver)
- Subject: Re: Why should you consider using occam?
- Message-ID: <rob.714140217@dutncp8>
- Sender: news@dutrun2.tudelft.nl (UseNet News System)
- Nntp-Posting-Host: dutncp8.tn.tudelft.nl
- Organisation: PACT, Delft, The Netherlands
- Organization: Delft University of Technology
- References: <1992Aug14.155639.1045@EE.Surrey.Ac.UK>
- Date: Tue, 18 Aug 1992 12:16:57 GMT
- Lines: 36
-
- In <1992Aug14.155639.1045@EE.Surrey.Ac.UK> R.Peel@ee.surrey.ac.uk (Roger Peel) writes:
-
- >So why is occam not liked by so many programmers? Well, some write
- >sequential code for which occam only provides a few extra benefits. Fine
- >- they can justifiably continue to use a sequential language provided they
- >only attempt to run their code on a single transputer. Parallel
- >enhancements to a sequential language might be acceptable for particularly
- >large-grained parallel tasks, too, but this is not where occam stands out,
- >either.
-
- I tend to agree insofar as Roger is referring to sequential languages with
- library support for parallel processing added. Such function calls don't
- provide the necessary level of abstraction for fine-grain parallelism,
- and often cause an unacceptable overhead.
-
- Now, without wishing to get dragged into yet another religious discussion
- about programming languages or editors, I feel that I must point out
- that the PACT Parallel C compiler has language extensions very similar
- to those found in Occam (par, alt, channel) folded into ANSI Standard C
- in a natural manner. This allows fine-grain parallelism to be expressed
- just as easily as in Occam.
-
- I agree with Roger that many communicating lightweight threads, buffers,
- multiplexers etc., combined with a clean and powerful syntax to describe
- them makes for a very nice programming model indeed. This model is now
- accessible to both Occam and C programmers alike.
-
- Best,
-
- Rob
-
- --
- PACT Rob Kurver
- Foulkeslaan 87 rob@pact.nl
- 2625 RB Delft ph: +31 15 616864
- The Netherlands fax: +31 15 610032
-