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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Your wish list for Ada 202X Date: Fri, 28 Mar 2014 09:17:42 +0100 Organization: cbb software GmbH Message-ID: References: <7f1c01c5-3563-4b94-9831-152dbbf2ecdc@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: I5Na6+WsEzT8WoegI0VZTA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.dca.giganews.com comp.lang.ada:185392 Date: 2014-03-28T09:17:42+01:00 List-Id: On Thu, 27 Mar 2014 16:50:20 -0500, Randy Brukardt wrote: > The primary "problem" is that in this model, most strings become tagged and > communicate using Wide_Wide_Character and Wide_Wide_String. In another model only Wide_Wide_String'Class would be tagged. Real issue: Classes of non-tagged types. > So the > main issue is the cost of converting to-from Wide_Wide_String. You would not need conversions if the specific operations were provided rather than inherited (as they are provided presently). Real issue: Multi-methods (String vs String) and full multiple dispatch (String vs Character) To reiterate the point. The implementation of strings in Ada is all OK, it is the interface to this implementation which sucks. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de