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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Community Input for the Maintenance and Revision of the Ada Programming Language Date: Fri, 11 Aug 2017 22:09:27 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <79e06550-67d7-45b3-88f8-b7b3980ecb20@googlegroups.com> <9d4bc8aa-cc44-4c30-8385-af0d29d49b36@googlegroups.com> <1395655516.524005222.638450.laguest-archeia.com@nntp.aioe.org> <4527d955-a6fe-4782-beea-e59c3bb69f21@googlegroups.com> <22c5d2f4-6b96-4474-936c-024fdbed6ac7@googlegroups.com> <1919594098.524164165.354468.laguest-archeia.com@nntp.aioe.org> <85d4930c-d4dc-4e4f-af7a-fd7c213b8290@googlegroups.com> NNTP-Posting-Host: MajGvm9MbNtGBKE7r8NgYA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:47711 Date: 2017-08-11T22:09:27+02:00 List-Id: On 2017-08-11 19:24, Justin Sq wrote: > On Friday, August 11, 2017 at 1:10:34 PM UTC-4, Luke A. Guest wrote: >> <...@gmail.com> wrote: >>> On Friday, August 11, 2017 at 10:42:12 AM UTC-4, Justin Sq wrote: >> >>>> On the otherhand Ada.Directories and Ada.Text_IO are woefully outdated. >>>> For example, if you have a computer and you speak a language like >>>> Japanese, French, German, Spanish, etc. think of how frustrating it is >>>> when you simply can't open a file with anything other than ASCII in the >>>> path. A program that deals with relative directories might work fine in >>>> one directory but get moved and suddenly fail hopelessly. Poor end-user :( >>> >>> My mistake String supports more than just ASCII (Duh), but Asian and >>> other esoteric languages obvious not. I believe GNAT implementation under Linux shamelessly ignores this and passes UTF-8 encoded names through. I think ARM should simply mandate this behavior for all implementations, e.g. for Windows. >> Unicode would solve this. Ah 21st century technology! 😋 > > Or just Wide Strings ; )... No, it must be Wide_Wide_String. > I really don't see the point of UTF encoding even. Memory is so cheep > and we normally end up sending gobs of CSS and minified JS on > webpages anyway. It is not that cheap. A typical ARM board has only 1GB. Furthermore shuffling 32 bits around instead of 8 is quite a performance hit. And, finally, this is inconsistent with stream interfaces. Surely you don't propose forceful conversions of octet streams into Wide_Wide_Character ones. This would break almost everything. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de