comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Wide_[Wide_]Character
Date: Tue, 15 Jul 2008 16:06:42 +0200
Date: 2008-07-15T16:06:43+02:00	[thread overview]
Message-ID: <487caef2$0$27442$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <MrNoSpam-252DD5.22371615072008@news-server.bigpond.net.au>

Dale Stanbrough schrieb:

> 
>> Isn't this just like the RM not specifying the bit layout of
>> numeric objects?
> 
> I'm not sure what the point of Wide_Wide_Character is if not to deal 
> with Unicode (or ISO-10646:2003).

Sure, Wide_Wide_Character deals with ISO-1646:2003, the normative
reference is listed in the LRM; you get I/O of those characters,
and compilers will document the external encodings you can use.

I also got to know how to pass Wide_Wide_Character objects into
and out of my program in case I must (that's the Interfaces[.C] part).
But why and when should I wonder what the internal bit layout of
Wide_Wide_Character objects actually is?


> You could invent your own 32 bit Character code (or use the one the 
> vendor gives you), but playing in your own backyard doesn't seem very 
> productive.

Why not? If it is faster to use 64 bit words for Wide_Wide_Character
operations, if this does not waste too much first level cache,
then it seems like a good idea for a compiler to use 64 bits for
Wide_Wide_Character.



> To me the only point is if it implements the code.

Why?

--
Georg Bauhaus
Y A Time Drain  http://www.9toX.de



  reply	other threads:[~2008-07-15 14:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-12  7:44 Wide_[Wide_]Character Dale Stanbrough
2008-07-12  8:11 ` Wide_[Wide_]Character Dmitry A. Kazakov
2008-07-12 11:00   ` Wide_[Wide_]Character Dale Stanbrough
2008-07-12 11:27     ` Wide_[Wide_]Character Peter C. Chapin
2008-07-12 12:25       ` Wide_[Wide_]Character Georg Bauhaus
2008-07-15 12:37         ` Wide_[Wide_]Character Dale Stanbrough
2008-07-15 14:06           ` Georg Bauhaus [this message]
2008-07-12 20:56     ` Wide_[Wide_]Character Dmitry A. Kazakov
2008-07-12 10:11 ` Wide_[Wide_]Character anon
2008-07-12 10:58   ` Wide_[Wide_]Character Dale Stanbrough
2008-07-13  1:38     ` Wide_[Wide_]Character anon
2008-07-22 19:18 ` Wide_[Wide_]Character Adam Beneschan
replies disabled

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