[Development] What kind of airplane we want to build?
Jędrzej Nowacki
jedrzej.nowacki at theqtcompany.com
Mon Jan 25 14:25:52 CET 2016
On Friday 22 of January 2016 08:50:52 Thiago Macieira wrote:
> On Friday 22 January 2016 11:26:55 Bogdan Vatra wrote:
> > AFAIK C++11/14 compilers have zero-cost exception, so, is there any reason
> > why not start using them in Qt 6.0 ?
>
> Yes. There's a couple of man-decades worth of work to make entire Qt thread-
> safe. Then there's the whole discussion about what to do in OOM situations
> and whether we can even reliably detect them, which I won't rehash here.
>
> If you meant it restricted to a few classes, like containers, that's
> achievable within one year. If we decide to do that, to make it truly useful
> we probably should extend to all value-type classes, like QString and
> QNetworkProxy.
I agree, making Qt exception safe is close to impossible in the current
situation. We could maybe go to basic level of exception safety by adding GC.
I'm not sure if it is worth it. I like exceptions but Qt is not designed to
use them.
Cheers,
Jędrek
More information about the Development
mailing list