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.6 required=5.0 tests=BAYES_00,LOTS_OF_MONEY, TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-Thread: 109fba,582dff0b3f065a52 X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,582dff0b3f065a52 X-Google-Attributes: gid1014db,public X-Google-ArrivalTime: 2001-08-08 07:03:11 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ From: Ted Dennison References: <3b690498.1111845720@news.worldonline.nl> <9kbu15$9bj@augusta.math.psu.edu> <3b6a453c.1193942215@news.worldonline.nl> <9keejl$fhj@augusta.math.psu.edu> <3c30da40.0108060848.796d9bd9@posting.google.com> <3B6F3216.F410BBFF@home.com> <3B6F3FAE.B9B9FFCF@globetrotter.qc.ca> <3B6F5BB2.A879B933@worldnet.att.net> <%DLb7.26505$B37.537792@news1.rdc1.bc.home.com> <3B7078C3.60194D58@worldnet.att.net> Subject: Re: How Ada could have prevented the Red Code distributed denial of service attack. Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Wed, 08 Aug 2001 10:03:00 EDT Organization: http://www.newsranger.com Date: Wed, 08 Aug 2001 14:03:00 GMT Xref: archiver1.google.com comp.lang.ada:11611 comp.lang.c:72911 comp.lang.c++:80955 Date: 2001-08-08T14:03:00+00:00 List-Id: In article , Kaz Kylheku says... > >>What will you do when your platform does not support POSIX threads? > >Port them. The C++ code that I maintain professionally uses monitors Have fun porting them to DOS. :-) Wouldn't it be better if someone had already done all that work for you, and debugged it? That's what you get with Ada. >I understand the point that Ada has built-in standard tasks and >synchronization. Standard things are nice, if they exist for every >target platform. :-) You seem to have a peculiar view of the word "standard". It probably comes from being in the C world, where a "standard" is often considered no better than a suggestion or a guideline. "Standard" for Ada means that *every* compiler has it, no matter what the platform. There is an exhaustive test suite that compilers must run through to be considered true Ada compilers, and it includes tests for tasking support, and tasking behavior. DOS Ada compilers have tasking. Bare M68K Ada compilers have tasking. Ada compilers for OS's with heavy processes but no threads have tasking. And in all of these cases, you can count on the tasking working as per the Ada LRM (at least up to the annexes). --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com