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-Thread: a07f3367d7,4215feeab2a8154a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!n2g2000vba.googlegroups.com!not-for-mail From: REH Newsgroups: comp.lang.ada Subject: Re: C++0x and Threads - a poor relation to Ada's tasking model? Date: Wed, 12 Aug 2009 14:24:50 -0700 (PDT) Organization: http://groups.google.com Message-ID: <850893f5-46e5-443f-af0f-f16eef5cfa37@n2g2000vba.googlegroups.com> References: <7q2385104kihs87d79p8kfphuoki6r01vq@4ax.com> <7961a91c-a5af-40e2-bbc0-6bf69a98176d@z31g2000yqd.googlegroups.com> <362f621e-a01c-4772-ba02-4e18e9962188@j19g2000vbp.googlegroups.com> <128d63da-361f-4e33-be5e-e06bdc71e39f@r34g2000vba.googlegroups.com> NNTP-Posting-Host: 192.91.173.42 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1250112296 6428 127.0.0.1 (12 Aug 2009 21:24:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 12 Aug 2009 21:24:56 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n2g2000vba.googlegroups.com; posting-host=192.91.173.42; posting-account=GwkXCgoAAABFSG45Q--uHVZG6zn6ec-e User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.1 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7707 Date: 2009-08-12T14:24:50-07:00 List-Id: On Aug 12, 4:41=A0pm, Robert A Duff wrote: > The philosophy has nothing to do with "explicitly". Sure it does. I have to *explicitly* throw an exception or call something that throws an exception, to raise an exception in C++. In Ada, I don't. It automatic. A simple assignment can raise an exception. Most C++ compilers even have a flag to remove exceptions because it make the build a lot smaller. With MSVC++, you have to explicitly set a flag to get exceptions in the first place. REH