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,a9bbfb8cd49f1a51 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed.arcor.de!news.arcor.de!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Isn't this in favour of Ada?? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.14.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <42d64dde$0$64794$edfadb0f@dread12.news.tele.dk> <87ll3hyi14.fsf@deneb.enyo.de> <1FzEL7m558iW@eisner.encompasserve.org> <877jf02ud1.fsf@mid.deneb.enyo.de> Date: Sat, 6 Aug 2005 13:02:52 +0200 Message-ID: NNTP-Posting-Date: 06 Aug 2005 13:02:51 MEST NNTP-Posting-Host: f36438bf.newsread2.arcor-online.net X-Trace: DXC=IYY\\E;g\Jg0_l3b[L=KQcQ5U85hF6f;djW\KbG]kaMh41Ud:;E]@4c^4Qc<5lSP`aWRXZ37ga[7jAWU[gWam9fcUF>3RZ On Fri, 05 Aug 2005 18:58:50 +0200, Florian Weimer wrote: > The original claim in this thread was that Ada is particularly > suitable to the concurrency challenges ahead of us (I don't believe > that there are any fundamentally new challenges, but let's assume that > there are). However, in order to create scalable applications, you > have to use some features of today's operating systems, for example > I/O multiplexing. Which is a case of more general waiting for multiple events. The problem is that multiple-wait is a too low level mechanism. It is not very clear how to map it on entry calls and accept. > I am not aware of any Ada implementation which integrates I/O > multiplexing with tasks. Therefore, it seems to me that Ada's tasking > is a completely useless burden when developing concurrent applications > on mainstream operating systems. Usually, you have to figure out how > to work around it realiably, so that the run-time library continues to > work. I disagree. Multitasking is more than just multiplexed I/O. If you look at Windows (sort of mainstream) you find dozens of calls starting a thread. Among them only 1 or 2 are actually usable. The synchronization mechanisms Windows offers are all too low level. So for our C++ project of a middleware (heavily multitasking), we end up with developing a library that mimics Ada's rendezvous. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de