220 24846 <3806635.aPURXZCGiZ@tjmaciei-mobl4> article
Path: news.gmane.org!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Any purposes for $, @, or ` ?
Date: Mon, 29 Feb 2016 11:25:25 -0800
Lines: 30
Approved: news@gmane.org
Message-ID: <3806635.aPURXZCGiZ@tjmaciei-mobl4>
References: <94de1ee2-0821-418e-a7b1-87b61ea438eb@isocpp.org> <85695419.D79dMvzuEz@tjmaciei-mobl4> <nb23ek$bib$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
X-Trace: ger.gmane.org 1456773941 23837 80.91.229.3 (29 Feb 2016 19:25:41 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 29 Feb 2016 19:25:41 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBKNW2K3AKGQEBZM6ZUY@isocpp.org Mon Feb 29 20:25:32 2016
Return-path: <std-proposals+bncBCB4TK757YBRBKNW2K3AKGQEBZM6ZUY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ig0-f199.google.com ([209.85.213.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCB4TK757YBRBKNW2K3AKGQEBZM6ZUY@isocpp.org>)
	id 1aaTRj-0003Gr-Ja
	for gclcip-std-proposals@m.gmane.org; Mon, 29 Feb 2016 20:25:31 +0100
Original-Received: by mail-ig0-f199.google.com with SMTP id hb3sf4363202igb.2
        for <gclcip-std-proposals@m.gmane.org>; Mon, 29 Feb 2016 11:25:31 -0800 (PST)
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: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=wzZSnHVPMiwVD1gnBYh6ZUpmvg/SV1WXX2bXUQHpVcw=;
        b=eB7t3/+KWt2wb9iii1gGIm1NuMIHcKZubuIlfraiYlHs2wdfBv+MuE9pM0T8Ywk1q2
         KXGBoax8C2LbbOfj55GbqFlqs+U/g4dog+jRaWEMsor2ALTD4jb3oteutjcGYR+K3FI0
         kjpqB18C+mNJBMF3gO63mM3AU2l113ms/X81KaMM8J/YaaK9LV9OxOjRD3QpTGIlSAhY
         hsuAJPYdHuKdEQCMtvXb61XAzTdh2cPrzkQ2kjjlWKlNP6oleOmIW+MANDknMXHAIi1v
         PRumQ9zqHI5Cn1bgA+Y/lHhcwTWAx6iyblyfQbAjsaFyt6FYcsfsWL3RkiTWIjXCFmVv
         w16g==
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: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=wzZSnHVPMiwVD1gnBYh6ZUpmvg/SV1WXX2bXUQHpVcw=;
        b=Oc2Fhrp35+FOWxyWOjfGJjpPpj8wxYZ3jOWld1plDx100Vdie/k/6EDwLgzTcvtkcV
         11mVRXNdfAPbNArSZNmcS52DbFZpxxXHUdkmW0JcRVFVJIlm5zl7dU9dI1LTJJoJf+Ny
         gUHM+pNF/cASTDWQPWmCSzqe+S44HciDzdMxEs/FYI4kCpnhyBHslO8B6pb9YIcq6jZg
         Vyhn5wrM0ZAlvH3bfVlQa39iHW8tP9V4PjV6a0/LmrSOvBecQftK1VoQ9A15pnd3Am5P
         GQsbHCJs5aUIul3mLN+R3IZrce+t6LiRQIm91WZEFTS+IUl9bQy2lyjNHPYbtP5d/oQO
         +/Jg==
X-Gm-Message-State: AD7BkJLj99s/AyKvxy2Yt9u1GP83YEuxXYsc0XgNo56YT2YU5TT0AzIna3xLo4AZ6rrGXA==
X-Received: by 10.182.33.42 with SMTP id o10mr13967485obi.12.1456773930546;
        Mon, 29 Feb 2016 11:25:30 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.104.134 with SMTP id a6ls3173500qgf.9.gmail; Mon, 29 Feb
 2016 11:25:28 -0800 (PST)
X-Received: by 10.140.31.225 with SMTP id f88mr21305246qgf.52.1456773928907;
        Mon, 29 Feb 2016 11:25:28 -0800 (PST)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [2a01:4f8:d13:f81:21c:14ff:fe01:12a3])
        by mx.google.com with ESMTP id z17si27120944qka.125.2016.02.29.11.25.28
        for <std-proposals@isocpp.org>;
        Mon, 29 Feb 2016 11:25:28 -0800 (PST)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) client-ip=2a01:4f8:d13:f81:21c:14ff:fe01:12a3;
Original-Received: from tjmaciei-mobl4.localnet (jfdmzpr06-ext.jf.intel.com [134.134.137.75])
	by gondolin.macieira.info (Postfix) with ESMTPSA id 9A59411A423
	for <std-proposals@isocpp.org>; Mon, 29 Feb 2016 11:25:27 -0800 (PST)
User-Agent: KMail/5.1.2 (Linux/4.4.2-1-default; KDE/5.19.0; x86_64; ; )
In-Reply-To: <nb23ek$bib$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 2a01:4f8:d13:f81:21c:14ff:fe01:12a3
 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:24846
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/24846>

On segunda-feira, 29 de fevereiro de 2016 19:42:20 PST Bo Persson wrote:
> Perhaps the confusion is that a pointer representation doesn't have to 
> be *only* a memory address. It can be a word address and a part-word index.
> 
> That way you can access each byte, even if there are several bytes 
> stored in one addressable unit.
> 
> Once upon a time, I used such hardware.

Or, put it another way, you're doing byte addressing :-)

Like you said, in such a hardware, a C++ pointer would be larger than the 
pointer the HW actually needs. But with that technique, we can address each 
individual byte in the word address. Conclusion: byte addressing.

We don't care how the pointers are represented or what the hardware architects 
may have called "word" or "byte". We have our own definition of byte, which is 
that it's the smallest storage unit that can be individually and uniquely 
addressed. Since C++14, that unit needs to be at least 8 bits.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

-- 
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 email 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/3806635.aPURXZCGiZ%40tjmaciei-mobl4.

.
