From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,447bd1cf7a88c198 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-12 17:32:08 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Robert Dewar Newsgroups: comp.lang.ada Subject: Re: Subprogram types vs. "limited access" (was Re: Do we need "Mission-Critical" software? Was: What to Do? Date: Sat, 13 Jan 2001 01:20:36 GMT Organization: Deja.com Message-ID: <93oagu$g9u$1@nnrp1.deja.com> References: <3A4F5A4A.9ABA2C4F@chicagonet.net> <3A4F759E.A7D63F3F@netwood.net> <3A50ABDF.3A8F6C0D@acm.org> <92qdnn$jfg$1@news.huji.ac.il> <3A50C371.8B7B871@home.com> <3A51EC04.91353CE7@uol.com.br> <3A529C97.2CA4777F@home.com> <3A53CB9E.EA7CF86C@uol.com.br> <3A5466DE.811D43A5@acm.org> <932aol$ikc$1@nnrp1.deja.com> <932mi6$r2k$1@trog.dera.gov.uk> <9343b1$3g5$1@nnrp1.deja.com> <934iuf$eqv$1@nnrp1.deja.com> <937kc7$ssq$1@nnrp1.deja.com> <93c0e9$4u6$1@nnrp1.deja.com> <93e33l$tfu$1@nnrp1.deja.com> <93ekmo$a14$1@nnrp1.deja.com> <93f73f$mt1$1@nnrp1.deja.com> <93fnao$49u$1@nnrp1.deja.com> <93l6ut$pvf$1@nnrp1.deja.com> <93mqhh$4gl$1@nnrp1.deja.com> <93npfn$13d$1@nnrp1.deja.com> NNTP-Posting-Host: 205.232.38.14 X-Article-Creation-Date: Sat Jan 13 01:20:36 2001 GMT X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; U) X-Http-Proxy: 1.0 x56.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 X-MyDeja-Info: XMYDJUIDrobert_dewar Xref: supernews.google.com comp.lang.ada:3977 Date: 2001-01-13T01:20:36+00:00 List-Id: In article <93npfn$13d$1@nnrp1.deja.com>, mark_lundquist@my-deja.com wrote: > In article <93mqhh$4gl$1@nnrp1.deja.com>, > dmitry6243@my-deja.com wrote: > > In article <93l6ut$pvf$1@nnrp1.deja.com>, > > mark_lundquist@my-deja.com wrote: > > > > Java wanted to get rid of pointer-related bugs. Unfortunately, you > > > kind of have to have pointers! > > > > Yes, but rare. > > I meant for linked data structures... you need by-reference > semantics, or in a by-value language you need pointers. No, that's not correct. Look at SETL, this is an example of a language with absolutely 100% pure value semantics, and it is perfectly easy to represent "linked data structures". Consider for example a collection of nodes organized into a binary tree. SETL would represent this as a triple of values the set of nodes a map from parents to left-sons a map from parents to right-sons Each of these is treated will value semantics. SETL itself is an imperative language, so you can have these three values in variables, and modify them, but you can apply this same viewpoint to a completely applicative language, MIRANDA is an example. I think what you say is true in the realm of current languages, which are all at a very similar rather low semantic level, but as a general statement, it is too sweeping. (I am NOT suggesting removing pointers from Ada :-) Sent via Deja.com http://www.deja.com/