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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5bcc293dc5642650 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.27.230 with SMTP id w6mr15829061pbg.3.1319212985895; Fri, 21 Oct 2011 09:03:05 -0700 (PDT) Path: d5ni40060pbc.0!nntp.google.com!news2.google.com!goblin3!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Why no Ada.Wide_Directories? Date: Fri, 21 Oct 2011 18:03:03 +0200 Organization: Ada @ Home Message-ID: References: <9937871.172.1318575525468.JavaMail.geo-discussion-forums@prib32> <418b8140-fafb-442f-b91c-e22cc47f8adb@y22g2000pri.googlegroups.com> <7156122c-b63f-487e-ad1b-0edcc6694a7a@u10g2000prl.googlegroups.com> <409c81ab-bd54-493b-beb4-a0cca99ec306@p27g2000prp.googlegroups.com> <4d97ced2-1695-4352-926c-2070f9ccbbf1@o19g2000vbk.googlegroups.com> NNTP-Posting-Host: q7N8AolrQHo0KApF9Qa31g.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.51 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: news2.google.com comp.lang.ada:14130 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2011-10-21T18:03:03+02:00 List-Id: Le Fri, 21 Oct 2011 15:13:54 +0200, Dmitry A. Kazakov = a =C3=A9crit: > Not really. Wide_Wide_String is one possible implementation of logical= > Unicode string. And precisely, that implementation is sufficient (*). You can't expect A= da = will provide a so much abstract implementation that it will cover all = possible implementations. By the way, nothing disallows a compiler implementation to not use an = array of 32 bits item to implement an array of Wide_Wide_Character. As = long as the interface is preserved, this would be legal for a compiler t= o = use any implementation it could to provide a Wide_Wide_String. As the purpose of Ada is to be a programming language, would be more = relevant to focus on whether or not it is possible in Ada, to design an = = implementation rather than whether or not it provides a given = implementation embedded in the language. It's not a set of libraries, it= 's = a programming language (it's a common pitfall I feel, when people start = = confusing between libraries provided with languages and languages one = their own). (*) And that implementation is a clean view, unlike the one of String = holding UTF-8 data. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [Ep= igrams on = Programming =E2=80=94 Alan J. =E2=80=94 P. Yale University] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [Idem] Java: Write once, Never revisit