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: 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-15 06:42:42 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!Norway.EU.net!news01.chello.no!not-for-mail From: "Martin" Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ 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> <08ce7.63859$B37.1480312@news1.rdc1.bc.home.com> Subject: Re: How Ada could have prevented the Red Code distributed denial of service attack. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2479.0006 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 Message-ID: Date: Wed, 15 Aug 2001 13:36:53 GMT NNTP-Posting-Host: 213.93.246.18 X-Complaints-To: abuse@chello.no X-Trace: news01.chello.no 997882613 213.93.246.18 (Wed, 15 Aug 2001 15:36:53 MET DST) NNTP-Posting-Date: Wed, 15 Aug 2001 15:36:53 MET DST Organization: chello broadband Norway Xref: archiver1.google.com comp.lang.ada:11947 comp.lang.c:74409 comp.lang.c++:82769 Date: 2001-08-15T13:36:53+00:00 List-Id: "Kaz Kylheku" wrote in message news:08ce7.63859$B37.1480312@news1.rdc1.bc.home.com... > 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. I am curious to know what programming languages you refer to? Also, have you invested much time really digging into the potential of templates? (I'm referring to the kinds of things Alexandrescu does in his recent excellent book). Martin