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: 103376,470860aa3e635a7 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Message-ID: <47088904.1090201@obry.net> Date: Sun, 07 Oct 2007 09:21:40 +0200 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 Newsgroups: comp.lang.ada To: Randy Brukardt Subject: Re: GNAT for MS Visual Studio References: <13duou81kg3sd1c@corp.supernews.com> <13f3e0vbb05s47c@corp.supernews.com> <13f6eg0te46m2a3@corp.supernews.com> <4xsl4zw3bp.fsf@hod.lan.m-e-leypold.de> <1191357491.860178.230380@22g2000hsm.googlegroups.com> <4702ADCC.7080209@obry.net> <1191439439.120567.172630@g4g2000hsf.googlegroups.com> <4703F02D.3030207@obry.net> <1191682021.844225.236870@g4g2000hsf.googlegroups.com> <4707A3D0.3070702@obry.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 07 Oct 2007 09:21:44 CEST NNTP-Posting-Host: 90.8.104.183 X-Trace: 1191741704 news.orange.fr 25939 90.8.104.183:1752 X-Complaints-To: abuse@orange.fr Xref: g2news2.google.com comp.lang.ada:2334 Date: 2007-10-07T09:21:44+02:00 List-Id: Randy Brukardt a �crit : > If you want dangerously unsafe containers, you are welcome to write them > yourself. But they don't belong in the standard (surely not as the sole > example of containers). I love those nonsense ! How can something that is only read be unsafe!!! And please between "dangerously unsafe containers" and "concurrent read access containers" I think there is some room. Why always having such strong and extreme position???? Look it is not that unusual to have a container populated for a simulation that after initialization point does not need to be updated but only *read*. I have many concurrent simulations like this. I would have expected to be able to use the containers in this case. The recurrent saying "if you don't like this, do it yourself" in comp.lang.ada is just a big mistake for Ada as a whole. This decision is just counter intuitive for anybody having done a bit of computer science :( Anyway I had to say that :) Now maybe some operations could be made safe, like those not using cursors. For example, in Ada.Containers.Vectors: function Element (Container : Vector; Index : Index_Type) return Element_Type; Why this could not be made safe ? Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595