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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,735c710b5e547bad X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Received: by 10.180.95.2 with SMTP id dg2mr1329171wib.2.1343315886417; Thu, 26 Jul 2012 08:18:06 -0700 (PDT) Received: by 10.216.50.200 with SMTP id z50mr7915web.1.1343315542994; Thu, 26 Jul 2012 08:12:22 -0700 (PDT) Path: q11ni71877290wiw.1!nntp.google.com!16no15044191wil.1!news-out.google.com!ge7ni76012138wib.0!nntp.google.com!feed-C.news.volia.net!volia.net!news2.volia.net!feed-A.news.volia.net!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.antakira.com!weretis.net!feeder1.news.weretis.net!feeder.erje.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Vasiliy Molostov" Newsgroups: comp.lang.ada Subject: Re: Ada 2005 puzzle Date: Sun, 22 Jul 2012 13:06:17 +0400 Organization: None Message-ID: References: <1arp60wtxes8h$.1qs6bt732ztgp.dlg@40tude.net> <030cde76-7435-405d-9f12-ac7f730ecab8@googlegroups.com> <1f9q6vk5z2r3t$.1hayo9rmxfwu7$.dlg@40tude.net> <7308644e-bfbe-44c1-8359-d67392d483e1@googlegroups.com> <1dgc6c6mortfo$.sdphq83df7gu$.dlg@40tude.net> <18usgh1w2ngg.18qc1w5q89um4.dlg@40tude.net> <1l1qasqzwtsof.18orc7p6s7hwz$.dlg@40tude.net> <1kfm6rhasv1hy.9ga3thjxlie8$.dlg@40tude.net> <1k3eqp61flhso$.ytgqehw2zf5d.dlg@40tude.net> NNTP-Posting-Host: Xw13RWgh8yxgPSv0x3+H9w.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.00 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2012-07-22T13:06:17+04:00 List-Id: Dmitry A. Kazakov =D0=BF=D0=B8=D1=81=D0=B0=D0= =BB(=D0=B0) =D0=B2 =D1=81=D0=B2=D0=BE=D1=91=D0=BC =D0=BF=D0=B8=D1=81=D1=8C= =D0=BC=D0=B5 Sun, = 22 Jul 2012 12:19:20 +0400: >>> Initialization does on the >>> object's value/state. >> >> Before you told that this one converts from raw memory into well form= ed >> typed object. > > Yes. It is a type conversion: none -> a type Since you have considered that initialisation is the same as constructio= n, = I suppose you agree. >> I suppose that setting up state/value of raw memory can completely = >> define >> any typed object. > > Accompanied by setting the designated type. Initialization is a part o= f > construction. How do you setup compile-time designators in run-time? "designated type"= = is a compilation time syntax rule helping translator to distinguish type= = of the object and which differs from source code context where used. = Initialization, being executed in run-time, can not be a part of = compile-time syntax. But, perhaps, you mean designators that are variabl= e = (change their values) in run-time? Perhaps, you tend to define type of the object outside of the memory it = = holds. this refers to dynamyc (run-time) type resolution (language = predefined), and consequently - anonymous (unknown, but existing) = predefined types and objects. Do you suppose that well formed and strong= = typed language is based on anonynous type (or anyobject) ? Do you mean = java indeed? The way Ada goes is to minimize run-time execution and memory that hold = by = objects, via evaluating them before, e.g. in compile-time. Also, Ada is a procedural language. Perhaps you mean some construct which is out of bounds of ada language, = = e.g. it is an application feature. Also, It is not clear why not to return a pointer (access reference) to = = the object instead? -- = =D0=9D=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE =D0=B2 =D0=BF=D0=BE=D1=87= =D1=82=D0=BE=D0=B2=D0=BE=D0=BC =D0=BA=D0=BB=D0=B8=D0=B5=D0=BD=D1=82=D0=B5= =D0=B1=D1=80=D0=B0=D1=83=D0=B7=D0=B5=D1=80=D0=B0 Opera: http://www.oper= a.com/mail/