[Development] Upgrading the sources to C++11 keywords (Q_NULLPTR, etc.)
Smith Martin
Martin.Smith at theqtcompany.com
Tue Feb 10 12:20:53 CET 2015
>I'm not saying that the docs should not contain some information. I'm saying
>that this is not about our users, it's about us, the developers.
I'm just adding that for some of the points you raised, if they have to be raised for us, the developers, it's a good bet they our users will benefit from them as well.
martin
________________________________________
From: marc at kdab.com <marc at kdab.com> on behalf of Marc Mutz <marc.mutz at kdab.com>
Sent: Tuesday, February 10, 2015 11:35 AM
To: Smith Martin
Cc: Ziller Eike; development at qt-project.org
Subject: Re: [Development] Upgrading the sources to C++11 keywords (Q_NULLPTR, etc.)
On Tuesday 10 February 2015 11:01:50 Smith Martin wrote:
> >So, no, I don't think we should discuss everthing ever written about C++
> >efficiency in the Qt docs. But we need to point it out to each other in
> >code reviews and become better at not writing sloppy code.
>
> The suggestion was not to discuss everything about C++ efficiency but to
> discuss the traps for young players using a QMap when a sorted QVector
> would be better.
I'm not saying that the docs should not contain some information. I'm saying
that this is not about our users, it's about us, the developers.
> >IOW: We need to start thinking about our algorithms and data structures
> >again[1], but this time in the new world of caches and multithreading
> >where the only fast data structure is an array.[2]
>
> But if this is a new world, then the CS course and reference books you
> suggested might not say much about it yet.
http://www.akkadia.org/drepper/cpumemory.pdf Note the publication date.
> I'll bet most of our customers are not the C++ equivalents of Bruce Lee you
> imagine them to be. Some of them might be coming to C++ via trying to
> create something in QML.
Again, I'm not talking to or about our users, I'm talking to and about us, the
developers.
--
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
More information about the Development
mailing list