home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / cplus / 18228 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.4 KB  |  33 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!mcsun!sun4nl!utrcu1!klamer
  3. From: klamer@mi.el.utwente.nl (Klamer Schutte)
  4. Subject: Re: Give me safe C++
  5. Message-ID: <klamer.724758713@mi.el.utwente.nl>
  6. Sender: news@utwente.nl (USENET News System)
  7. Organization: University of Twente, BSC-El
  8. References: <Bz2nDF.7B6@fiu.edu> <1992Dec12.145403.26483@ucc.su.OZ.AU> <1992Dec14.190553.14838@mole-end.matawan.nj.us> <1992Dec17.192301.23525@ucc.su.OZ.AU>
  9. Date: Sat, 19 Dec 1992 09:51:53 GMT
  10. Lines: 21
  11.  
  12. In <1992Dec17.192301.23525@ucc.su.OZ.AU> maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes:
  13.  
  14. :    Next, I feel NO language has addressed the concept
  15. :of coroutines (except possibly Simula?). C provides
  16. :no simple exchange of control mechanism, although one
  17. :has to admit they can be emulated using objects in C++.
  18. :Yet many machines provide this facility, usually via
  19. :some exchange and link instruction.
  20.  
  21. Occam has the parallel execution option, which can quite easily be used
  22. for coroutine-style programming. Its task switching method also maps
  23. quite well to hardware (to the hardware it was designed for: a transputer).
  24.  
  25. This makes Occam a good candidate language for problems which need
  26. coroutine style programming. (Lucky me, my problems don't need coroutines :-)
  27.  
  28. Klamer
  29. --
  30. Klamer Schutte            Tel: +31-53-892778    Fax: +31-53-340045
  31. Faculty of electrical engineering -- University of Twente, The Netherlands
  32. preferred: klamer@mi.el.utwente.nl     SMTP: klamer@utelmi01.el.utwente.nl
  33.