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-Thread: 103376,a9bbfb8cd49f1a51 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!wns13feed!worldnet.att.net!209.244.4.230!newsfeed1.dallas1.level3.net!news.level3.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Isn't this in favour of Ada?? Date: 5 Aug 2005 09:29:14 -0500 Organization: LJK Software Message-ID: <1FzEL7m558iW@eisner.encompasserve.org> References: <42d64dde$0$64794$edfadb0f@dread12.news.tele.dk> <87ll3hyi14.fsf@deneb.enyo.de> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1123252069 5565 192.135.80.34 (5 Aug 2005 14:27:49 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Fri, 5 Aug 2005 14:27:49 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:3976 Date: 2005-08-05T09:29:14-05:00 List-Id: In article <87ll3hyi14.fsf@deneb.enyo.de>, Florian Weimer writes: > * Larry Kilgallen: > >> In article <8764vcdv2f.fsf@deneb.enyo.de>, Florian Weimer writes: >> >>> I also fail to see Ada's advantages because Ada tasking tends to match >>> poorly to concurrency models supported by operating systems. For >>> example, how can you add a select alternative which waits for activity >>> on a specific file descriptor, without introducing many pointless >>> context switches? >> >> I don't know "file descriptor" as an Ada term, but presuming you mean >> activity on a file, I would use the VMS Lock Manager requesting an AST >> when there is activity (if I were creating an Ada implementation). > > But my point was that this has to be done by the implementor. It is > something that is hard to resolve at a library level (unless you are > willing to take the costs of a few additional context switches, of > course). By "implementor" I presume you mean the person who builds an Ada compiler and runtime system for a particular operating system. The fact that it is hard to build a compiler is not my problem unless I am trying to build the compiler myself.