[Interest] Interest Digest, Vol 80, Issue 8

Thiago Macieira thiago.macieira at intel.com
Sat May 12 19:06:46 CEST 2018


On Saturday, 12 May 2018 07:11:57 PDT Roland Hughes wrote:
> On 05/12/2018 08:57 AM, Thiago Macieira wrote:
> > I'm claiming that Qt is run 1% of the time in big-endian mode. Explain to
> > me why the 99% should perform the byte swap.
> 
> Because that class was created to communicate with the big-endian world
> of real computers.

No, it was not. It was created to communicate with other Qt applications.

> Do not change the default. Feel free to create a
> different class,

I won't change the default, but mostly because I want people to stop using 
QDataStream altogether and switch to CBOR. So I won't invest any time in 
updating QDataStream so the problems you've raised in terms of compatibility 
would be addressed. (yes, the  problems would be real)

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Interest mailing list