220 26399 <84d2f2a0-0fc4-4526-9826-8062bb443869@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: asorenji@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: iswalpha and locales
Date: Sat, 25 Jun 2016 22:39:16 -0700 (PDT)
Lines: 115
Approved: news@gmane.org
Message-ID: <84d2f2a0-0fc4-4526-9826-8062bb443869@isocpp.org>
References: <5057e854-b2ea-4c39-81c7-367bc3e54080@isocpp.org> <84d2b9e6-a29b-4c79-8646-2f00dbc5087b@isocpp.org> <f8ce2288-8e06-41ad-8e58-0082d9d9982a@isocpp.org>
 <1550791.ovymrLsGO4@tjmaciei-mobl1>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_3024_1183186347.1466919556788"
X-Trace: ger.gmane.org 1466919560 22751 80.91.229.3 (26 Jun 2016 05:39:20 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 26 Jun 2016 05:39:20 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDSYF7ODTYPBBBOVXW5QKGQERG6NW7A@isocpp.org Sun Jun 26 07:39:20 2016
Return-path: <std-proposals+bncBDSYF7ODTYPBBBOVXW5QKGQERG6NW7A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oi0-f69.google.com ([209.85.218.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDSYF7ODTYPBBBOVXW5QKGQERG6NW7A@isocpp.org>)
	id 1bH2mt-0000oL-Rs
	for gclcip-std-proposals@m.gmane.org; Sun, 26 Jun 2016 07:39:20 +0200
Original-Received: by mail-oi0-f69.google.com with SMTP id u81sf202889999oia.3
        for <gclcip-std-proposals@m.gmane.org>; Sat, 25 Jun 2016 22:39:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=+JvtUmvaqHjaeLaX50DY/NlJRUmFX5gBQzi4NNG4ByU=;
        b=E95OoKfAh4PFfz7fD3TSlR0/t/yHfW55HHqHZAVs7tz5Pci3XJIR/UbdJOoa5OKWHU
         l9h8w+P9l4NkOkU062sdfp1KrIBFUjNjDhbMk0HjeuUhrKeVGSNQNekROuxm7UfWC3kO
         mbJUkzjCb/N+IgI9RPcSxZNWtsmfU9uvROzil3GH+Yms/2zbxoPKYu/Ak8aOvoiHc1bF
         6cm4SBsK8l+HrjLGI8vlfOUx179t2FBjkIdVVdO2Uh20gKUQDQHbA6fls4EJSdyubfbw
         34scg1UMSKRZDbIwppjDOHwHC76lIPXbjXPCavOPH5TG8ZwydHNVbwNQ9sax+8zjPwOX
         EsyQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=+JvtUmvaqHjaeLaX50DY/NlJRUmFX5gBQzi4NNG4ByU=;
        b=ENVDbJO80gVzDrySriBa0Qaby+PVKwgifrunpydbXTDyXLhVaqch/BgfoP/raH3kZU
         iylWzBphrMI5Empp8C1O83US+EtogzXy2wU1iBSajtaxyAPepuO5IBlOzo8yw3/peWVt
         EG/fQev04d63M06JVIUv5WbtQTeDpT4lWa5D62X+MMPD9oRT8LChjerruBwnFv7tFT2A
         wswDu2hm9Vp2z6gtkvzAlkLDtx5Fug9nhh+doSAoiWQr/OS0Lqs9q4ca4p0Mh55wGl/Z
         z8nQj/f9QqnLZF3DTgDSaL1QDNUBC/W+u+dLHTK9Fyp+c/j5Wp4hYbo8nS42w/Q/OSxN
         N8LQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=+JvtUmvaqHjaeLaX50DY/NlJRUmFX5gBQzi4NNG4ByU=;
        b=bcvTJ1/6T3zB5o7NEFYde7IdJXbKHr7ZgEHrTjsHZPzd8u73n6R0pQtcoB/HnFqQxh
         K6LL2nARpORiVr+hGnaC2DMMRsAZ3wCam8Gy6P0EpPKaRFojJr394KIfwXKDV9098IhU
         0cC6LFvRXTABOxGwJWrdAMvXynAFF8jk/+9Ihf0SIGmC+HgBQwCvJdr0t/J2R8uASM5C
         R8LtPwSWeVOJ90UGxc54BHG2c0Xds4NMulTcleUDC3cDumbQx4pdrNcv1h5e5oW/23lZ
         CjNEGuQ3JUXR28sLy4nmKZw/zG0FsTmggXHmN/dg6LIOKVCKojEkcUuMUZbZPt15nPzN
         ZKWw==
X-Gm-Message-State: ALyK8tKVPTuIyr8WxzSnB8g8Jvz+ibprfoKISJknkBpgeiOvSNcgrp3naLrfCBw9xWU2QQ==
X-Received: by 10.157.29.186 with SMTP id y55mr11346059otd.30.1466919558751;
        Sat, 25 Jun 2016 22:39:18 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.182.212 with SMTP id g203ls133863iof.105.gmail; Sat, 25
 Jun 2016 22:39:17 -0700 (PDT)
X-Received: by 10.36.40.146 with SMTP id h140mr132397ith.1.1466919557746;
        Sat, 25 Jun 2016 22:39:17 -0700 (PDT)
In-Reply-To: <1550791.ovymrLsGO4@tjmaciei-mobl1>
X-Original-Sender: AsoRenji@gmail.com
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:26399
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/26399>

------=_Part_3024_1183186347.1466919556788
Content-Type: multipart/alternative; 
	boundary="----=_Part_3025_633136772.1466919556788"

------=_Part_3025_633136772.1466919556788
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable



=D0=B2=D0=BE=D1=81=D0=BA=D1=80=D0=B5=D1=81=D0=B5=D0=BD=D1=8C=D0=B5, 26 =D0=
=B8=D1=8E=D0=BD=D1=8F 2016 =D0=B3., 7:07:57 UTC+3 =D0=BF=D0=BE=D0=BB=D1=8C=
=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Thiago Macieira=20
=D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:
>
>
> No, we don't. There are many modern microcontroller-class CPUs with less=
=20
> than=20
> 1 MB of flash and a around a hundred kilobytes of RAM, or less. Why=20
> shouldn't=20
> we program them with C++?=20
>
> Because microcontroller-class CPUs can't grant hardware support for=20
std::thread, std::mutex, etc. Also, I'm don't think this support present=20
in microcontroller OS (if microcontroller have any).
Yes, std::thread and iswalpha - different things. But if you write program=
=20
for microcontroller, you should be preprepared for some restricts and=20
forget about full C++11 support.

Another reason is that often the library gets supplied with the executable.=
=20
> Once we load the entire set of Unicode tables for all attributes, it may=
=20
> be=20
> well over a megabyte. In fact, the ICU data table is an 18 MB library.=20
> That=20
> means your small 100-line C++ program is at least that big.=20
>
> In that case my program bloat by 18 MB only if I'm use isu32alpha. In=20
other case smart compiler can remove code of unused function. But if I'm=20
use isu32alpha, I'm need normal unicode support. I'm don't need defective=
=20
wide character function, that can't work with 128+ (wide) character codes.=
=20
If price of normal support is 18 MB, so be it.

--=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/84d2f2a0-0fc4-4526-9826-8062bb443869%40isocpp.or=
g.

------=_Part_3025_633136772.1466919556788
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>=D0=B2=D0=BE=D1=81=D0=BA=D1=80=D0=B5=D1=81=D0=B5=
=D0=BD=D1=8C=D0=B5, 26 =D0=B8=D1=8E=D0=BD=D1=8F 2016 =D0=B3., 7:07:57 UTC+3=
 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C T=
hiago Macieira =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:<blockquote class=
=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #cc=
c solid;padding-left: 1ex;"><br>No, we don&#39;t. There are many modern mic=
rocontroller-class CPUs with less than=20
<br>1 MB of flash and a around a hundred kilobytes of RAM, or less. Why sho=
uldn&#39;t=20
<br>we program them with C++?
<br>
<br></blockquote><div>Because=C2=A0microcontroller-class CPUs can&#39;t gra=
nt=C2=A0hardware support for std::thread, std::mutex, etc. Also, I&#39;m do=
n&#39;t think this support present in=C2=A0microcontroller OS (if=C2=A0micr=
ocontroller have any).</div><div>Yes, std::thread and iswalpha - different =
things. But if you write program for microcontroller, you should be preprep=
ared for some restricts and forget about full C++11 support.</div><div><br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8=
ex;border-left: 1px #ccc solid;padding-left: 1ex;">Another reason is that o=
ften the library gets supplied with the executable.=20
<br>Once we load the entire set of Unicode tables for all attributes, it ma=
y be=20
<br>well over a megabyte. In fact, the ICU data table is an 18 MB library. =
That=20
<br>means your small 100-line C++ program is at least that big.
<br>
<br></blockquote><div>In that case my program bloat by 18 MB only if I&#39;=
m use isu32alpha. In other case smart compiler can remove code of unused fu=
nction. But if I&#39;m use isu32alpha, I&#39;m need normal unicode support.=
 I&#39;m don&#39;t need defective wide character function, that can&#39;t w=
ork with 128+ (wide) character codes. If price of normal support is 18 MB, =
so be it.<br></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/84d2f2a0-0fc4-4526-9826-8062bb443869%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/84d2f2a0-0fc4-4526-9826-8062bb443869=
%40isocpp.org</a>.<br />

------=_Part_3025_633136772.1466919556788--

------=_Part_3024_1183186347.1466919556788--

.
