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,LOTS_OF_MONEY 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: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-Thread: 109fba,582dff0b3f065a52 X-Google-Attributes: gid109fba,public X-Google-ArrivalTime: 2001-08-07 04:04:43 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!chcgil2-snh1.gtei.net!chcgil2-snf1.gtei.net!news.gtei.net!news.binc.net!kilgallen From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) 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. Date: 7 Aug 2001 07:04:39 -0500 Organization: LJK Software Message-ID: 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> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 997181824 2947 192.135.80.34 (7 Aug 2001 10:57:04 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Tue, 7 Aug 2001 10:57:04 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:11478 comp.lang.c:72651 comp.lang.c++:80603 Date: 2001-08-07T07:04:39-05:00 List-Id: In article , kaz@ashi.footprints.net (Kaz Kylheku) writes: > Does Ada even give you a type that is guaranteed to be the same > as the type int of the predominant C compiler of the same platform > as the language implementation? Please tell us the C type that corresponds to the type Integer of the predominant Ada compiler on the platform. For that matter, please list the other languages to which your C compiler provides built-in interfacing, as Ada does for C, Fortran and Cobol (i.e., portably). > How do you *portably* declare, in Ada, a record type that > is precisely equivalent to POSIX struct termios from ? That is fairly impossible when porting to a system that does not have POSIX. I am sure we could all learn from the C technique for doing this.