home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!news.adelaide.edu.au!jeremy
- From: jeremy@cs.adelaide.edu.au (Jeremy Webber)
- Newsgroups: comp.sys.transputer
- Subject: Re: IS Occam3 recursive?
- Date: 24 Nov 92 08:42:41
- Organization: Digital Arts Film and Television
- Lines: 30
- Message-ID: <JEREMY.92Nov24084241@chook.adelaide.edu.au>
- References: <MICHAEL.92Nov16185558@lucrece.uk.ac.oxford>
- <1992Nov17.093335.11067@inmos.co.uk> <rob.722005143@dutncp8>
- NNTP-Posting-Host: chook.cs.adelaide.edu.au
- In-reply-to: rob@pact.nl's message of Tue, 17 Nov 1992 12:59:03 GMT
-
- It seems that this argument has degenerated into two camps: those who
- think Occam is more "reliable" than C because it doesn't have recursion,
- and those who need to use recursion and therefore program in C (does
- anyone use Pascal on the Transputer?)
-
- The reason lack of recursion makes Occam more "reliable" seems to be
- that the proponents of this argument can't think of a decent way to
- allocate memory on a fixed-memory machine. Given that many of these
- proponents come from Inmos perhaps that explains why Inmos C handles
- memory resources so badly...
-
- For my own experience, I ported a largeish application from Occam to C,
- still on the Transputer. The result ran about the same speed, even
- though the C compiler seems to generate code which runs much slower than
- the Occam compiler. The compensating factor was in algorithm
- improvements made possible by the improved expressability of C. The
- result as also *much* more reliable than its Occam predecessor as I had
- been able to remove large chunks of code which were only necessary in
- the older system to get around the limitations of Occam, and could thus
- devote my effort to improving the system instead of working around the
- compiler.
-
- -jeremy
-
- --
- --
- Jeremy Webber Internet: jeremy@cs.adelaide.edu.au
- Digital Arts Film and Television, jeremy@chook.ua.oz.au
- 1 Ledger St, Beverley, SA 5009, Phone: +61 8 347 4691
- Australia FAX: +61 8 347 4692
-