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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4cb1f8d1c17d39a8 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.30.34 with SMTP id p2mr15763399pbh.4.1320141189789; Tue, 01 Nov 2011 02:53:09 -0700 (PDT) Path: p6ni53657pbn.0!nntp.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!feeder.news-service.com!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada 'hello world' for Android; success! Date: Tue, 1 Nov 2011 10:52:08 +0100 Organization: cbb software GmbH Message-ID: <4s9hvvnvd44l$.pzu8zi1ndkkp.dlg@40tude.net> References: <8239efcjuw.fsf@stephe-leake.org> <98ca5430-aa52-4e39-b789-70d0dd6adb46@d33g2000prb.googlegroups.com> <824nyrq5p6.fsf@stephe-leake.org> <4eac1ca1$0$7625$9b4e6d93@newsspool1.arcor-online.net> <82mxciogt0.fsf@stephe-leake.org> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news1.google.com comp.lang.ada:18775 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2011-11-01T10:52:08+01:00 List-Id: On Sun, 30 Oct 2011 07:32:59 -0400, Stephen Leake wrote: > In brief, _any_ framework that uses dispatching on class-wide > objects needs reference semantics. Wrong. Reference semantics is required to maintain object's identity. Without identity there is no need in it. This is unrelated to being class-wide which requires *type identity* rather than the object's one. You could have any combination of those two. One of the key advantages of Ada's OO model is that it decouples them. > In Ada, that is indicated by the explicit word 'access'. Possibly yes, though tagged types are by-reference anyway. Actually "limited" is the indicator for object's identity. What about freshly introduced by Ada 2012 "aliased"? BTW, Consider an architecture where the object address may change, while keeping its identity. Thin pointers won't work for such "wandering" objects... -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de