comp.lang.ada
 help / color / mirror / Atom feed
From: "G.B." <rm-dash-bau-haus@dash.futureapps.de>
Subject: Re: strange behaviour of utf-8 files
Date: Mon, 18 Nov 2013 14:05:45 +0100
Date: 2013-11-18T14:05:45+01:00	[thread overview]
Message-ID: <528a10a9$0$6564$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <th9m0f0l1bgl$.1cx73kba9l2ks.dlg@40tude.net>

On 18.11.13 11:24, Dmitry A. Kazakov wrote:

>> In order to be able to integrate software (libraries, sources) that
>> use international characters.
>
> Why cannot it be integrated without these bugs?

Character literals are not bugs. Ada lacks means of
expressing programmer's intent here, that much is true.
Encoding could be specified by an aspect, just like 'Size.
The language is buggy here, when matched against ubiquitous
real world programming situations.

> It is like saying that Ada programs must use System.Address in order to be
> integrated with machine code.

Yes. Machine code without machine addresses would be magic.

> We don't want such kind of integration.

We can't say: we don't want character literals, or string literals.

People use international character literals. Compiling programs
that use international characters as per the Ada LRM
should work without much ado and without all the FUD-induced
avoidance, and without compiler difficulties.

To suggest only using ASCII is rather like suggesting
to not use FPT, arguing that using FPT leads to results that
can differ when switching from Intel to ARM or to PowerPC.

  reply	other threads:[~2013-11-18 13:05 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-16 13:12 strange behaviour of utf-8 files Stoik
2013-11-16 13:34 ` Dmitry A. Kazakov
2013-11-16 15:09   ` Stoik
2013-11-16 15:55     ` Dmitry A. Kazakov
2013-11-17 13:32       ` Georg Bauhaus
2013-11-17 14:07         ` Dmitry A. Kazakov
2013-11-17 17:19           ` Dennis Lee Bieber
2013-11-17 18:07             ` Dmitry A. Kazakov
2013-11-17 19:05           ` Georg Bauhaus
2013-11-17 20:38             ` Dmitry A. Kazakov
2013-11-18  8:38               ` Georg Bauhaus
2013-11-18  9:01                 ` Dmitry A. Kazakov
2013-11-18 10:06                   ` Georg Bauhaus
2013-11-18  8:44               ` Georg Bauhaus
2013-11-18 10:24                 ` Dmitry A. Kazakov
2013-11-18 13:05                   ` G.B. [this message]
2013-11-18 15:25                     ` Dmitry A. Kazakov
2013-11-18 15:51                       ` G.B.
2013-11-18 17:34                         ` Dmitry A. Kazakov
2013-11-18  0:34           ` Stoik
2013-11-16 17:01     ` Georg Bauhaus
2013-11-17 10:38       ` Stoik
2013-11-16 15:12   ` Stoik
2013-11-16 15:57     ` Dmitry A. Kazakov
2013-11-17 11:12       ` Stoik
2013-11-22  1:03         ` Randy Brukardt
2013-11-22  3:02           ` Shark8
2013-11-22 11:54             ` Georg Bauhaus
2013-11-23  4:14             ` Randy Brukardt
2013-12-06  2:17               ` Georg Bauhaus
2013-11-16 20:06     ` Peter C. Chapin
2013-11-17 10:34       ` Stoik
2013-11-22  0:53       ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox