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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1014db,582dff0b3f065a52 X-Google-Attributes: gid1014db,public X-Google-Thread: 109fba,582dff0b3f065a52 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-10 08:05:35 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.rdc2.on.home.com.POSTED!not-for-mail Message-ID: <3B73F844.43D50B8B@home.com> From: "Warren W. Gay VE3WWG" X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Subject: Re: How Ada could have prevented the Red Code distributed denial of service attack. References: <3b690498.1111845720@news.worldonline.nl> <9kbu15$9bj@augusta.math.psu.edu> <9kbvsr$a02@augusta.math.psu.edu> <3B69DB35.4412459E@home.com> <9kp9n7$ivm$1@nh.pace.co.uk> <3B73337F.862F8D93@home.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 10 Aug 2001 15:05:31 GMT NNTP-Posting-Host: 24.141.193.224 X-Complaints-To: abuse@home.net X-Trace: news1.rdc2.on.home.com 997455931 24.141.193.224 (Fri, 10 Aug 2001 08:05:31 PDT) NNTP-Posting-Date: Fri, 10 Aug 2001 08:05:31 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:11767 comp.lang.c:73412 comp.lang.c++:81559 Date: 2001-08-10T15:05:31+00:00 List-Id: Bart.Vanhauwaert@nowhere.be wrote: > > Warren W. Gay VE3WWG wrote: > > Don't forget that in Ada, there are Booch components that sports > > iterator types that can be used in a manner that is similar. But > > I think the thing that has been lost in all of this is that you > > are comparing C++ _STL_ features with Ada _language_ features. > > The STL is an inherent part of the C++ Language. I have before me > International Standard ISO/IEC 14882 (Programming languages - C++) > chapter 17 up to chapter 27 are dedicated to the different > libraries that are part of C++. There is no denying they are part > of standard C++. (And they are part of what made me choose C++ > over C btw) Pardon me? Are you saying you cannot get a C++ compiler without a STL? Don't be silly. > > It is true that unless they did something wacky like make it virtual, the > > C++ inline ++ operator is usually cheap. > > Look, you obviously don't know C++ that well, so please refrain from > going into details and trying to pin C++ as a potentially > non-optimizeable language on your assumptions which are FALSE. > There is no question of virtual dispatch in this case as any > junior C++ programmer will be able to tell you. You've got attitude... I'll give you that. > > The biggest difficiency here though is that C++ programmers must use STL > > containers to buy any sort of safety. It is simply unnecessary to resort > > to a Vector container in Ada for safety. Naked arrays in Ada have > > all the protection and convenience one could ask for. It is also > > easier to read the code that uses it, and hence makes code audits > > much easier. > > So what? Does that matter for me, as a user of the platform? Not > at all. So it doesn't enter the balance of advantages/disadvantages > of C++. I can see that having a meaningful dialog with you on this subject is extremely difficult. I'm on vacation, and this will be my last post on this tired thread. -- Warren W. Gay VE3WWG http://members.home.net/ve3wwg