🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #2376

Re: Pointers

#2376
From: Markku Sakkinen
Date: Thu, 12 Nov 1992 14:15
30 lines
2003 bytes
In article <1992Nov12.103513.14043@rdg.dec.com> jch@rdg.dec.com (John Haxby) writes:
>In article <1992Nov12.081454.23507@jyu.fi>, sakkinen@jyu.fi (Markku Sakkinen) writes:
>|> Actually, I think, _all_ variables in CLU are references,
>|> except those of atomic types.  (Pretty much like LISP.)
>
>CLU has only two flavours of cluster: mutable and immutable.
>Procedure (and iterator) parameter passing is by sharing (rather than
>value or reference) since there is no notion of value or reference, only
>of the name of an object which may be one of many names.
>
>The implementation uses pointers left, right and centre for practically
>everything -- the exceptions might be int, char, bool and possibly float.
>For the VAX implementation, the native VAX implementation--the
>language is not interested in grubby pointers and references, only in names.

Don't be fooled by words.  Maybe the CLU literature does not much use
the word 'reference' (I don't remember), but I cannot see any semantic
difference between CLU variables (of non-atomic types) and reference
(or pointer) variables in many other languages.  'By sharing' is
exactly the same as 'by reference'.

----------------------------------------------------------------------
Markku Sakkinen (sakkinen@jytko.jyu.fi)
       SAKKINEN@FINJYU.bitnet (alternative network address)
Department of Computer Science and Information Systems
University of Jyvaskyla (a's with umlauts)
PL 35
SF-40351 Jyvaskyla (umlauts again)
Finland
----------------------------------------------------------------------
Technical Details
Message-ID: <1992Nov12.141532.16375@jyu.fi>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!network.jyu.fi!sakkinen
References: <1992Nov11.155149.14744@rdg.dec.com> <1992Nov12.081454.23507@jyu.fi> <1992Nov12.103513.14043@rdg.dec.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!network.jyu.fi!sakkinen
From: sakkinen@jyu.fi (Markku Sakkinen)
Subject: Re: Pointers
Message-ID: <1992Nov12.141532.16375@jyu.fi>
Organization: University of Jyvaskyla, Finland
References: <1992Nov11.155149.14744@rdg.dec.com> <1992Nov12.081454.23507@jyu.fi> <1992Nov12.103513.14043@rdg.dec.com>
Date: Thu, 12 Nov 1992 14:15:32 GMT
Lines: 30