[Development] What kind of airplane we want to build?

Cristian Adam cristian.adam at gmail.com
Fri Jan 22 10:48:12 CET 2016


On Fri, Jan 22, 2016 at 10:26 AM, Bogdan Vatra <bogdan.vatra at kdab.com>
wrote:

>
> AFAIK C++11/14 compilers have zero-cost exception, so, is there any reason
> why
> not start using them in Qt 6.0 ?
>
>
+1

Exceptions in normal path lead to faster execution than using return codes.

For more information about this see this talk from MeetingC++ 2014: Writing
robust code <https://meetingcpp.com/index.php/tv14/items/19.html>
Code for this benchmarks can be found here:
https://bitbucket.org/davidstone/error-handling

Cheers,
Cristian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160122/e1bb141a/attachment.html>


More information about the Development mailing list