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 Path: border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada advocacy Date: Wed, 28 Aug 2013 19:30:52 +0200 Organization: cbb software GmbH Message-ID: <9b4mcjvcb17q$.q1f1gdlz3mq5$.dlg@40tude.net> References: <19595886.4450.1332248078686.JavaMail.geo-discussion-forums@vbbfy7> <2012032020582259520-rblove@airmailnet> <12ee9bc5-3bdf-4ac0-b805-5f10b3859ff4@googlegroups.com> <6c58fae4-6c34-4d7a-ab71-e857e55897c0@x6g2000vbj.googlegroups.com> <246849b7-7a53-48a2-8f64-ff6dfb2086ce@googlegroups.com> <521dbbbb$0$9520$9b4e6d93@newsspool1.arcor-online.net> <1spiuuuxfwqq4$.46v46qs98684.dlg@40tude.net> <521de20d$0$9507$9b4e6d93@newsspool1.arcor-online.net> <8iym21y3cv14.1vuethuo3ua53$.dlg@40tude.net> <521df1e2$0$9510$9b4e6d93@newsspool1.arcor-online.net> <1oppje6lzatpk.pritovj8qcbj.dlg@40tude.net> <1e2af50b-1112-41b6-b46b-296dfe895edf@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: vRnt2AWmw7ZRya91cSDecw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 2412 Xref: number.nntp.dca.giganews.com comp.lang.ada:183204 Date: 2013-08-28T19:30:52+02:00 List-Id: On Wed, 28 Aug 2013 08:06:14 -0700 (PDT), Eryndlia Mavourneen wrote: > On Wednesday, August 28, 2013 9:07:34 AM UTC-5, Dmitry A. Kazakov wrote: >> On Wed, 28 Aug 2013 14:49:51 +0200, G.B. wrote: >> ... >> A [typed] language where synchronization primitives are first class objects >> shall have this. Unfortunately nobody knows how. > > The compromise would seem to be the use of task interface types. Interfaces never helped reuse (anything actually). > These > can be used to specify portions of code, which then can be combined into > the desired task structure, including sequence, for specific needs. This is already possible to do using procedures. Replacing them with class-wide operations brings nothing. Less, actually, because class-wide operations on interfaces could not access task object data. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de