home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / transput / 1246 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  2.0 KB

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