Version 2.0
60min: For a brighter QFuture
Talk and discussion on QFuture in QtCore
The QFuture class has been moved from Qt Concurrent to Qt Core with the release of Qt 5.0 with the aim to make it useful for arbitrary asynchronous operations.
This seems like the last time anyone cared about it - it lives in Qt Core, but nothing in Qt Core uses it. And more importantly, nothing in Qt Core is able to create a new QFuture instance. We can not even model our own asynchronous operations with QFutures, since this requires using private classes in Qt.
In the first part of this talk, we will cover the potential improvements to the QFuture class that would bring it on par with the similar classes for C++ like boost::future and Folly Future, and with similar classes in other programming languages.
We will mostly talk about the potential API improvements, as well as different usage patterns in which QFuture might be a useful class if only we could actually use it.
In the second part of the talk, we will briefly show the experimental AsynQt library which allows easier creation and composition of asynchronous operations based on QFuture.
Info
Day:
2016-09-02
Start time:
14:45
Duration:
01:00
Track:
Multithreading
Links
Feedback
Click here to let us know how you liked this event.
Speakers
Ivan Čukić |