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: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,582dff0b3f065a52 X-Google-Attributes: gid1014db,public X-Google-Thread: 109fba,582dff0b3f065a52 X-Google-Attributes: gid109fba,public X-Google-ArrivalTime: 2001-08-06 21:10:33 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc2.on.home.com.POSTED!not-for-mail Message-ID: <3B6F6A3E.D13E6AEF@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> <3B6F312F.DA4E178E@home.com> <3B6F5AAB.CF3A6ECA@home.com> <3B6F5E1A.CB312CC8@videotron.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 07 Aug 2001 04:10:33 GMT NNTP-Posting-Host: 24.141.193.224 X-Complaints-To: abuse@home.net X-Trace: news1.rdc2.on.home.com 997157433 24.141.193.224 (Mon, 06 Aug 2001 21:10:33 PDT) NNTP-Posting-Date: Mon, 06 Aug 2001 21:10:33 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:11449 comp.lang.c:72616 comp.lang.c++:80539 Date: 2001-08-07T04:10:33+00:00 List-Id: Francois Labreque wrote: > [de-cloaks] > > "Warren W. Gay VE3WWG" wrote: > > > > Kaz Kylheku wrote: > > > > > > In C++, you have the advantage that you can use the C bindings directly. > > > It takes very little additional work to make C headers useable by a C++ > > > implementation. > > > > This is a minor inconveniance for Ada, yes. But it is neither rocket > > science, nor a difficult thing to do. I do it in my sleep ;-) > > Mentioning rocket science in this thread does not make for a very > convincing argument! Sorry. Next time I'll cross post to sci.rockets ;-) Seriously, I think you can understand that the point was simply that calling a C procedure from Ada95 is a simple thing to do in most cases. The only time it gets remotely "tricky" is where a complex C structure is being used to pass information. Some care is needed to make certain that the Ada representation agrees with the C representation being used. -- Warren W. Gay VE3WWG http://members.home.net/ve3wwg