Qt based threading for modern devices
ฝัง
- เผยแพร่เมื่อ 15 ม.ค. 2025
- TALK: Qt Based Threading
SPEAKER: Bo Thorsen
COMPANY: Viking Software
TRACK: Qt & Technical Deep Dive
Talk recorded at the Qt World Summit 2019 event in Berlin.
#QtWS19 November 2019 - BCC
TALK DESCRIPTION:
Computers, phones and tablets have an increasing amount of CPU cores. This means that taking advantage of threads is more and more important on everything from smaller embedded devices to very large computers. By not using the full power of the processor, we are leaving a lot of power unclaimed. Instead of setting a higher minimum device requirement, we need to embrace the threading tools and use all the computing power at hand. In Qt, there are a lot of options for building threaded applications. Everybody knows about QThread, but not everybody knows how to use this class. Qt Concurrent and QFuture and the other options are less known, but have powerful applications. With all the options, it’s common for developers to be confused about which one they should choose for certain problems. So they choose one, learn that one and use it for all problems. Instead of using the proper tool for the job. And threaded application comes at a very high cost in terms of application development, debugging and maintenance. More so, if the technologies used are not the proper ones. In this talk you will see all the available Qt technologies for threaded applications, get examples of how to use them and understand why some options are better for some problems. You will also learn about the performance implications of the choices. This will give developers the necessary information to make the right choice when faced with decisions of what type of threading technology to use.
Qt WEBSITE:
For more info Qt, visit our site
qt.io
RESOURCES:
For more videos from Qt visit our resource centre;
resources.qt.io
FOLLOW US ON SOCIAL:
FB: / qt
LI: / 4788. .
TW: / qtproject
THE Qt COMPANY
Design - Develop - Deploy - วิทยาศาสตร์และเทคโนโลยี
Almost every talk I've seen about multithreading presents ideal scenarios where threads only do some calcs. The real life applications works with intensive IO, RPC and async syscalls. That's where the good tricks and examples would be very welcomed.
Is there any way to implement xwayland compositor through qml in qt