home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / misc / 3605 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1.8 KB  |  42 lines

  1. Newsgroups: comp.lang.misc
  2. Path: sparky!uunet!decwrl!pa.dec.com!rdg.dec.com!jch
  3. From: jch@rdg.dec.com (John Haxby)
  4. Subject: Re: Pointers
  5. Message-ID: <1992Nov12.103513.14043@rdg.dec.com>
  6. Sender: news@rdg.dec.com (Mr News)
  7. Organization: Digital Equipment Corporation
  8. References: <92Nov10.125426est.47525@neat.cs.toronto.edu> <BxIoDv.72J@mentor.cc.purdue.edu> <1992Nov11.155149.14744@rdg.dec.com> <1992Nov12.081454.23507@jyu.fi>
  9. Date: Thu, 12 Nov 1992 10:35:13 GMT
  10. Lines: 30
  11.  
  12. In article <1992Nov12.081454.23507@jyu.fi>, sakkinen@jyu.fi (Markku Sakkinen) writes:
  13. |> In article <1992Nov11.155149.14744@rdg.dec.com> jch@rdg.dec.com (John Haxby) writes:
  14. |> > ...
  15. |> >In CLU, you can pass paramaters of type PROCTYPE to accomplish exactly
  16. |> >the same thing, or you can use type parameterization (genericism if you like)
  17. |> >for a similar mechanism for, often, much the same purpose.  CLU doesn't
  18. |> >have references, yet alone pointers.
  19. |> > ...
  20. |> 
  21. |> Actually, I think, _all_ variables in CLU are references,
  22. |> except those of atomic types.  (Pretty much like LISP.)
  23.  
  24. CLU has only two flavours of cluster: mutable and immutable.
  25. Procedure (and iterator) parameter passing is by sharing (rather than
  26. value or reference) since there is no notion of value or reference, only
  27. of the name of an object which may be one of many names.
  28.  
  29. The implementation uses pointers left, right and centre for practically
  30. everything -- the exceptions might be int, char, bool and possibly float.
  31. For the VAX implementation, the native VAX implementation--the
  32. language is not interested in grubby pointers and references, only in names.
  33.  
  34.  
  35. -- 
  36. John Haxby, Definitively Wrong.
  37. Digital                <jch@rdg.dec.com>
  38. Reading, England        <...!uknet!wessex!jch>
  39.  
  40. ----------------------------------------------------------------
  41. The opinions expressed herein are my own, not my employers.
  42.