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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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-14 09:14:53 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.bc.home.com.POSTED!not-for-mail From: kaz@ashi.footprints.net (Kaz Kylheku) 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> <23lok9.ioi.ln@10.0.0.2> <3B70AB15.35845A98@home.com> <3B721FF5.B7D854F6@home.com> <9lb6h4$6e9$1@norfair.nerim.net> Organization: Psycho-Neurotic Institute for the Very, Very Nervous Reply-To: kaz@ashi.footprints.net User-Agent: slrn/0.9.6.3 (Linux) Message-ID: <08ce7.63859$B37.1480312@news1.rdc1.bc.home.com> Date: Tue, 14 Aug 2001 16:14:52 GMT NNTP-Posting-Host: 24.68.85.82 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.bc.home.com 997805692 24.68.85.82 (Tue, 14 Aug 2001 09:14:52 PDT) NNTP-Posting-Date: Tue, 14 Aug 2001 09:14:52 PDT Xref: archiver1.google.com comp.lang.ada:11923 comp.lang.c:74182 comp.lang.c++:82499 Date: 2001-08-14T16:14:52+00:00 List-Id: In article <9lb6h4$6e9$1@norfair.nerim.net>, Bertrand Augereau wrote: >I didn't want to state that this is superior to Ada 'Image approach, which >is quite useful for quick hacks and debugging purpose, but I guess you >underevaluate the true power of C++ (especially in metaprogramming) The metaprogramming power of C++ is quite pathetic. Templates are a weak macro system that is compromised for the sake of compiling simplicity. All they do is stuff arguments into an existing form to produce a function or class. If templates could contain code which computes the form, then they might be called powerful. Only those call C++ powerful who have no experience with more powerful languages.