C++ Logo

sg16

Advanced search

Re: [isocpp-sg16] [isocpp-sg9] Thoughts on P4030R0: Endian Views

From: Jens Maurer <jens.maurer_at_[hidden]>
Date: Mon, 22 Jun 2026 20:53:44 +0200
On 6/22/26 19:50, Jonathan Müller via SG16 wrote:
> All, as SG9 chair I just want to remind everybody that the feature is
> *tiny*. The specification is longer than the implementation. Please
> consider whether it is really worth it to spend this much energy on
> discussing it or whether we should just focus on adding useful things.

Let me disagree with that statement.

We can certainly stop discussing a feature if it doesn't end up in the
standard, but as long as it is on its way to the standard, discussion
ensures it's in the best shape possible. If that takes time, so be it.
If that takes too much time, that implies the feature can't be in the
standard (in the view of those who judged "too much time").

Jens


> On 6/22/26 15:13, Eddie Nolan via SG16 wrote:
>> Thanks for the feedback, everybody, I appreciate the contribution to the
>> discussion around my paper.
>>
>> There's a lot to respond to in this thread by now; to make sure that my
>> response isn't overly long for an email, and that it's discoverable
>> outside the reflector, I plan to explain my thinking through the paper
>> system, via a new revision of P4030, and/or a new rebuttal paper to
>> P4279. I'll update this reflector thread with links once I've had time
>> to collect and write up my thoughts properly.
>>
>> Thanks,
>>
>> Eddie
>>
>> On Mon, Jun 22, 2026 at 8:52 AM Jan Schultke via SG9
>> <sg9_at_[hidden] <mailto:sg9_at_[hidden]>> wrote:
>>
>> It sounds quite non-academic to me to apply an encoding-correcting
>> view on a memory-mapped range and therefore apply the endian
>> correction
>> only to the parts of the range I actually end up traversing.
>>
>>
>> I was under the impression that people typically use memory mapping
>> to map e.g. a file onto a buffer of bytes, in which case being able
>> to traverse a byte array with reversed endianness would provide more
>> utility than just the quasi-transform-view that wraps byteswap.
>> --
>> SG9 mailing list
>> SG9_at_[hidden] <mailto:SG9_at_[hidden]>
>> https://lists.isocpp.org/mailman/listinfo.cgi/sg9 <https://
>> lists.isocpp.org/mailman/listinfo.cgi/sg9>
>>
>>
>

Received on 2026-06-22 18:53:47