220 26472 <5867921.AUuKeNNjJU@tjmaciei-mobl1> article
Path: news.gmane.org!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: iswalpha and locales
Date: Tue, 28 Jun 2016 10:20:23 -0700
Lines: 51
Approved: news@gmane.org
Message-ID: <5867921.AUuKeNNjJU@tjmaciei-mobl1>
References: <5057e854-b2ea-4c39-81c7-367bc3e54080@isocpp.org> <5687343.G23lk5P4Xh@tjmaciei-mobl1> <nku9rm$6o2$1@ger.gmane.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1467134452 4454 80.91.229.3 (28 Jun 2016 17:20:52 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 28 Jun 2016 17:20:52 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBX7DZK5QKGQEJY7XH5Y@isocpp.org Tue Jun 28 19:20:35 2016
Return-path: <std-proposals+bncBCB4TK757YBRBX7DZK5QKGQEJY7XH5Y@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lf0-f72.google.com ([209.85.215.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCB4TK757YBRBX7DZK5QKGQEJY7XH5Y@isocpp.org>)
	id 1bHwgd-0002c1-EK
	for gclcip-std-proposals@m.gmane.org; Tue, 28 Jun 2016 19:20:35 +0200
Original-Received: by mail-lf0-f72.google.com with SMTP id a2sf17853258lfe.0
        for <gclcip-std-proposals@m.gmane.org>; Tue, 28 Jun 2016 10:20:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=from:to:subject:date:message-id:user-agent:in-reply-to:references
         :mime-version:content-transfer-encoding:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=9igqhCFBg7yw+/UEI2NbasOCSBzSISAEFQSmzINSt1c=;
        b=V+w4iHLj9DkORMDw1nUNN1FL0PJm3vt7Wd5daAsdkFbLEpLlUwdQ8/MamQuQDhXobX
         F8Ta9PkdF2du1Sajd6sXuzuyndb9qhms9oTPKtsB36Jv/Tl5IEavylUD07cS+KIf2x4e
         NZFXP7UV/GrKXh7ygQtwtjlWdqRvs3WwcgUxuGAcOWqE+04fguXiSq4AVy89Wx8+DNgr
         eCIh5QM27XO7gF46y4v7B0bub2PDdNp5fE3rjVkyf4VL9E/0Th3/WAGJp1myM6XMikFR
         luCFW+FwLJdbULIwqCfG5L1Qq+nTea3qR6DAc8XVmaJk+cEaSA9i/9HODa6BTTjW3Azh
      
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:to:subject:date:message-id:user-agent
         :in-reply-to:references:mime-version:content-transfer-encoding
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=9igqhCFBg7yw+/UEI2NbasOCSBzSISAEFQSmzINSt1c=;
        b=fLAlCs1k2FNAgfuxhPXrGaJ6ecxUd8WRCECgQHqSLx6xfzbwqFmn8JZVvOTgl4cdVk
         9fYM1aPFCMiCsb0Btv9xqvx0TWBoa7B+Pmob5Viny/H4fnz6CjT9ml/cmVKFDYDS+c11
         RpCDcDvM7xR9ecNjD80WzDGtvxsjbkUbrQEbvl7iZy7Wr36J0nOpiqD/tEsJ+aBXFRk5
         kKaEnp9Av0lI+vtmwfhdiaW11ih0A3uSR6/PuxtMnMVQLk5/OmIvruoiHTOgOGggzEuA
         kIv3OitGDTrZFKDWeYg+FYHOVi5LGpf6805aikApb9lY8QtzSiveQCfKLW1d7YWsXnkZ
  
X-Gm-Message-State: ALyK8tIVAjq72MaGhi+JFRqvn83lVJrLv9MqhodMVPGIZcNF1aNk8BI5QKZkPMvyacREiQ==
X-Received: by 10.194.168.169 with SMTP id zx9mr924834wjb.2.1467134434547;
        Tue, 28 Jun 2016 10:20:34 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.38.132 with SMTP id m126ls196980wmm.48.canary; Tue, 28 Jun
 2016 10:20:31 -0700 (PDT)
X-Received: by 10.194.158.138 with SMTP id wu10mr3930684wjb.84.1467134431260;
        Tue, 28 Jun 2016 10:20:31 -0700 (PDT)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [78.47.120.188])
        by mx.google.com with ESMTP id a139si23506224wmd.56.2016.06.28.10.20.31
        for <std-proposals@isocpp.org>;
        Tue, 28 Jun 2016 10:20:31 -0700 (PDT)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 78.47.120.188 as permitted sender) client-ip=78.47.120.188;
Original-Received: from tjmaciei-mobl1.localnet (jfdmzpr03-ext.jf.intel.com [134.134.139.72])
	by gondolin.macieira.info (Postfix) with ESMTPSA id C605111BCDE
	for <std-proposals@isocpp.org>; Tue, 28 Jun 2016 10:20:30 -0700 (PDT)
User-Agent: KMail/5.2.2 (Linux/4.6.2-1-default; KDE/5.23.0; x86_64; ; )
In-Reply-To: <nku9rm$6o2$1@ger.gmane.org>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 78.47.120.188 as permitted sender) smtp.mailfrom=thiago@macieira.org
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:26472
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/26472>

On ter=C3=A7a-feira, 28 de junho de 2016 12:49:57 PDT Matthew Woehlke wrote=
:
> > That is included. Executable ROM (i.e., .text sections) will be shared
> > across multiple invocations, even of different programs, if they use th=
e
> > same sections of ROM.
>=20
> Are we talking about the same thing? I'm talking about the tables being
> embedded as inline static data in the .exe (or equivalent), *not* a
> shared library.=20

I wasn't considering that. I thought you meant data in a library of some so=
rt.

> I don't think that can be shared, as that would imply a)
> that the data exactly starts and ends at page boundaries, and b) the OS
> can share memory between different .exe's when they happen to have pages
> with identical content. (Do OS's actually do that?)

Starting data at page boundaries is quite easy.

Sharing pages even if they don't come from the same file is possible (look =
up=20
the Linux "kernel samepage merging" feature), but it's more efficient if th=
ey=20
come from the same file. Hence ICU having a file with the data.

> Possible clarification: by "ROM", above, I'm talking about e.g. the
> .rodata section. Not "ROM" in the hardware sense.

Off-topic:

Strictly speaking, you're talking about the ELF read-only segment(s) (not=
=20
sections). There are multiple sections in those segments: at the very least=
=20
..text, in addition to .rodata.

--=20
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

--=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp=
..org/d/msgid/std-proposals/5867921.AUuKeNNjJU%40tjmaciei-mobl1.

.
