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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,52fd60a337c05842 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-14 05:18:14 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!pd955e257.dip.t-dialin.NET!not-for-mail From: Immanuel Scholz Newsgroups: comp.lang.ada Subject: Re: ada paper critic Date: Fri, 14 Jun 2002 14:19:14 +0200 Message-ID: References: <3D095F70.8090001@telepath.com> NNTP-Posting-Host: pd955e257.dip.t-dialin.net (217.85.226.87) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: fu-berlin.de 1024057092 6349684 217.85.226.87 (16 [100557]) User-Agent: KNode/0.6.1 Xref: archiver1.google.com comp.lang.ada:25936 Date: 2002-06-14T14:19:14+02:00 List-Id: Dmitry A. Kazakov wrote: > On Fri, 14 Jun 2002 14:35:27 +1000, Dale Stanbrough > wrote: > >>Just thinking about it, don't Ada's "non constructor" construcor >>functions require you to build items on the heap, then copy them >>into the variable, rather than bulding them inplace? > > I believe, in worst case, they will be copied from the stack. Is there any difference (left alone cache missis) in copying from heap or copying from stack? > There are IMO more serious problems with OO in Ada, but most of them > can be addressed to other languages as well. Others, like non-OO task > and protected object types, can be excused by the fact that other > languages have no such types at all. no "protected" state is IMHO an advantage. I think protected members are evil doing more harm than good, but this is antoher story.;-) Immanuel Scholz