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.1 required=5.0 tests=BAYES_00,LOTS_OF_MONEY, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII 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-14 09:20:29 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!opentransit.net!proxad.net!nerim.net!norfair.nerim.net!not-for-mail From: "Bertrand Augereau" 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: Tue, 14 Aug 2001 18:26:41 +0200 Organization: Nerim -- xDSL Internet Provider Message-ID: <9lbj4c$e6a$1@norfair.nerim.net> 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> NNTP-Posting-Host: aboukir-101-2-1-inutero.adsl.nerim.net X-Trace: norfair.nerim.net 997806028 14538 62.4.19.69 (14 Aug 2001 16:20:28 GMT) X-Complaints-To: abuse@nerim.net NNTP-Posting-Date: Tue, 14 Aug 2001 16:20:28 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:11925 comp.lang.c:74186 comp.lang.c++:82502 Date: 2001-08-14T18:26:41+02:00 List-Id: Ok, I get your point but we are talking of C++ and Ada basically, classical I agree that dedicated functional languages are way more expressive, but you can do nice things at compile-time with these template mechanisms of C++, especially with templates of templates (ie policy based classes) "Kaz Kylheku" a �crit dans le 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.