QAsync @qasync
QAsync is a new way to write asynchronous Qt applications. Single thread, multiple simultaneous asynchronous tasks. qasync.henrikhedberg.com Joined September 2011-
Tweets48
-
Followers129
-
Following718
-
Likes0
Just make sure that everybody has found it... The source code is available here: gitorious.org/~hhedberg/qt/q…
Our white paper explains the motivation behind the solution and the actual implementation: qasync.henrikhedberg.com/whitepaper
QAsync is a new way to write asynchronous Qt applications: qasync.henrikhedberg.com
The source code is actually pushed out already. Who is the first to find it?
We took one week off, but we are almost ready to share our solution with you now. It will happen within few days!
All asynchronous functions end up calling QAsync::waitAsync(), which gives control back to the Qt's event loop until the task has completed.
In the core of our solution is a new class: QAsync. It provides means to suspend a function until an asynchronous task has completed.
@kypeli It is an alternative way to express functionality. With QAsync, there no need to split asynchronous code into separate slots.
What is QAsync? It is a new way to write asynchronous Qt applications. Single thread with multiple simultaneous asynchronous tasks.
This week we will go deeper into internals of our solution. We will also focus on finalizing the release, so there will be less tweeting.
The catch in our Node example is closure. The execution context may be easily shared between "slots" when practical. pastebin.com/jFh8Ea9G
We like to learn and get inspired from other languages and frameworks. Now the TCP server is implemented using Node. pastebin.com/jFh8Ea9G
@qasync Is the solution to generate some code at compile-time (like moc does) or is there run-time tricks (or both)?
Actually, our solution is based on signals and slots. We will introduce an alternative way how those can be used. #Qt
Do we hate signals? No, absolute not! We love signals, the best thing since sliced bread. We just think that choices are needed sometimes.
Here is another working example. This time it is a client-side utility function to fetch data addressed by an URL. pastebin.com/ULXhk1fL
@qasync I think that you should open this solution to community :) will it be part of qt5?
Finally! Here is the working version of the original #Qt code. Just a word with five letters added. What do you think? pastebin.com/1WqE7321
@qasync we are all waiting for your async solution :) where is it?

mmmaira @fractalxv
61 Followers 843 Following
coredump.ꜩ/.btc @realcoredump
445 Followers 3K Following https://t.co/snAtFYoZpI #XTZ PGP: 920B 4399 FAD1 1C9D 5EBE ADFB 7BB3 B9D9 4842 BD35
iPhone & iPad Repair @phonerepairer
852 Followers 4K Following iPhone & iPad Repairs - Brisbane • we come to you • ♦ Open 7 days ♦ No call out fee Screen Repair, Water Damage, button, speaker, battery. Call 0412 549228
Manohar Suvarna🇮�... @Manohar_suvarna
212 Followers 772 Following ‘ಧರ್ಮೋ ರಕ್ಷತಿ ರಕ್ಷಿತಃ’ 🚩🚩🚩 #JaiSriKrishna #JaiSriRam 🙏
Israel Junior @israelcpp
37 Followers 256 Following Software developer, consultant, speaker, trainer, C/C++, Objective-C, QT, wxwidget, std c++11.
Oikee Varasto @OikeeFi
29 Followers 394 Following Varasto, joka noutaa ja tuo luoksesi Helsingissä, Espoossa ja Vantaalla. Oman varastosi sisällön näet verkosta. Parempaa arkea sinulle.
Antouan Anguelov @multhinking
513 Followers 5K Following Entrepreneur, Co-Founder & Investor, IT auditor & Digital Architect, CRM & E-commerce Consultant, Embedded Enthusiast, Data Integration, #BigData, #ML
LeBron @LeBronJames
922K Followers 1.1M Following
Dmitry Nesterenok @marselnda
13 Followers 37 Following
RAMANARAYAN MOHANTY @Ramanarayan13
169 Followers 1K Following
Marcio Koch @m_koch
430 Followers 2K Following Senior Software Developer | Backend | C/C++ | Java | Python | AWS | Serverless. Living and enjoying the life as best as possible!
Vincenzo Mercuri @VincenzoMercuri
38 Followers 767 Following
ndev3r @bitsncoder
260 Followers 3K Following
Nota Bene @tangentially
44 Followers 165 Following
Tommi Laukkanen @tlaukkanen
990 Followers 623 Following I'm an engineer. My profession is software development. One of my hobbies is my profession. Let's connect on the other side https://t.co/Dg3ZVcOXxY
PthinkS @pthinks_Qt
66 Followers 35 Following PthinkS - We are the Qt,QML developers. https://t.co/hYVQRWCfbQ
QtQuick4All @QtQuick4All
58 Followers 221 Following http://t.co/y8DNd6s8t8 QtQuick components and prebuild Qt versions for various platforms. iOS. Android
الرويلي @azozx55551
60 Followers 172 Following
Will I-am @wiliwe
92 Followers 549 Following
Tomi T Ahonen Moved t... @tomiahonen
165K Followers 76K Following Author, consultant, motivational speaker. Biggest social media slut in mobile. A mAd vidiot, F1 fan, globetrotting digital gypsy 007 wannabe. The T Dawg
Pavel Pokutnev @PavelPokutnev
12 Followers 277 Following
MoonBase @DrKKKKKK
1 Followers 456 Following Technical Application System Compact form factor Energy Efficently Linux Server, Java Application, JBoss, C, C++
NokiaWP @Nokia_WP
241 Followers 47 Following We bring latest news, rumors and other useful stuff related to Nokia devices powered with Windows Phone.
Attila Csipa @achipa
784 Followers 1K Following Working on (open) SW/HW for fun, glory and occasionally profit at @HP. Ex @Microsoft, ex @Nokia. Personal account. All non-silly tweets/opinions are my own.
Ash BlackBerry @Ash_BlackBerry
211 Followers 246 Following This account is no longer being used. Please follow @ashnazir
Toni Räisänen (@ton... @tjkr
252 Followers 1K Following Solitary Man! Running. Self-powered team worker. Passionate SW engineering. Hiking in Lapland. https://t.co/hS0GY16t5i MSc, Computer Science, Uni. of Oulu
SmartDevCon @SmartDevCon
374 Followers 2K Following International conference for Smart Devices developers and enthusiasts.
https://mastodon.soci... @RzrFreeFr
935 Followers 3K Following https://t.co/BolRgzx56t #OpenToWork , Latest topic of interest : #IoT #Privacy #UX #WoT #XR #Debian #Yocto #Zephyr and more...
ankita sharma @ankitalove95
5 Followers 42 Following
Tamás G. Barna @CreMindES
46 Followers 270 Following Sr. DevOps Engineer @ raiqon, who is enthusiastic about new technologies, programming and overall making concepts real. Past @dotscene, @Bosch, @NokiaBellLabs
Nicola De Filippo @niqt
358 Followers 1K Following Software engineer. I will share with you my long experience in software development. #SoftwareDevelopment
peculiarcouture @Rempet11
7 Followers 186 Following We sew all kinds of female wears. Wedding Gown, Evening Wears, Owanbe Wears, Office wears, Children Wears, Abaya Dresses etc
Mosaab @taaheel
22 Followers 291 Following Just an engineer ... Interested in architecture, Environmental engineering, Tech, coding, OSS, MeeGo , Maemo, Qt among many other things ...
Emmanuel Granatello @emmgra83
125 Followers 319 Following
Anime_Japantwo @anime_japantwo
3K Followers 5K Following
Emanuele Colombo @colomboe
358 Followers 361 Following Author of Dukto and KIO https://t.co/j5n6rfYBf5 Mastodon: @[email protected] https://t.co/n2dVGHvmyB
Thomas von Kulessa @VonKulessa
64 Followers 225 Following Father, Senior IT Architect, Web Technologies, creative cooking (whatever is in the fridge), tweets are my opinion
Camille Daniel @Camillehun2805
21 Followers 222 Following
QtDay @QtDay
375 Followers 95 Following ❇️ The international conference on Qt framework in Italy organized by @Develer ❇️
TotallyTelevisions @TotallyTeles
99 Followers 568 Following Learn what is the best television you can buy. Reviews on the latest televisions from major brands. Website provides info for consumers on televisions.
Sujith H 🐍🦀🐘... @sujithh
297 Followers 728 Following Love Python, Rust. Use KDE (ex-KDE dev). Contributed to a handful of Free and Open source projects. Spend time with friends. Live the present. 🚴👨💻
𝖕𝔞𝔭𝔞𝖘�... @jjSavine
45 Followers 358 Following Dad, agile and lean, travelling, photography, gadgets, food, wine and beer. Private investor. Everything posted reflects my personal viewpoints and opinions.
Nota Bene @tangentially
44 Followers 165 Following
Manuel Werlberger @mwerlberger
19 Followers 79 Following
TweeGo @TweeGoN900
164 Followers 6 Following You can also access our repository in gitorious: http://t.co/wKKeSoj3Ys
SlipKoRnSaad @SlipKoRnSaad
416 Followers 654 Following Mobile blogger ! have too many blogs but i'm focused into : https://t.co/zmJDXR2vkC i share my smartdevices experiences based on real life uses !
Aniello Del Sorbo @anidel
563 Followers 821 Following I am not a cyclist. I simply am a person who commutes to work. Where I become a tech addict.
Nick Leppänen Larsso... @frals
402 Followers 142 Following
Chippy is also Steve ... @chippy
5K Followers 3K Following Out of here. Now on the other social media network. Mobility fan (tech, 2-wheels, camp). Honda V4 biker. British + German. Work: See LinkedIn
suresh chande @sureshchande
375 Followers 643 Following Work @ Microsoft HQ Marketing Data Solutions, Devices Marketing. Passionate in enhancing Teaching&Learning software. Tweets represent my Views & not Employer's.
Carrypad @Carrypad
322 Followers 6 Following The official twitter account for http://t.co/D8Efw3Cd4Q. Covering the latest handheld and mobile web products
Joaquim Rocha 🇪�... @joaquimrocha
765 Followers 996 Following SW Engineering Manager @Azure (following Kinvolk acquisition). Formerly at Endless, CERN, Red Hat, Igalia. Opinions are my own. BSky: @joaquimrocha.com
Sygic @SygicOfficial
9K Followers 2K Following GPS Navigation trusted by 200 million drivers. We tweet 2 let you know what’s up. We listen 2 create the best product possible. Tweeting and driving don´t mix!
Olavi Toivainen @otoivainen
163 Followers 60 Following
Mohammad Abu-Garbeyye... @MohammadAG
2K Followers 443 Following Android Software Developer at AT&T Israel. iOS & Android Software Developer on the side. Opinions are my own. @[email protected]
Toshl @Toshl
4K Followers 983 Following Toshl helps you keep your finances in shape. Use the phone and web apps to track and lower your spending.
Iain Wallace @the_accidental
476 Followers 224 Following Applied computer science, AI & autonomy. Formerly flying robots, subsea robots, and space robots. 50% of @PincountPodcast. @[email protected]
Toni Nikkanen @toninikkanen
365 Followers 539 Following Embedded/Automotive/Linux/Wireless/Qt dude and all-around hacker
Intel News @intelnews
160K Followers 944 Following Breaking news direct from Intel's online Newsroom
Lasse Maki @lassemaki
18 Followers 9 Following
My-Maemo.com @My_Maemo
1K Followers 4 Following Everything about Maemo: news, software, reviews, tips, discussion forums and more.
Pocketables @pocketables
3K Followers 1K Following Pocketables is a US-based online tech magazine that focuses on devices that fit into pockets of all sizes, from jeans and jackets to backpacks and purses.
linuxdevices @linuxdevices
6K Followers 192 Following Formerly the feed for #LinuxDevices (R.I.P.), and forever devoted to #Linux powered #embedded and #IoT #devices and #HackerBoards. Maintained by @DeviceGuru
The Linux Foundation @linuxfoundation
576K Followers 9K Following A nonprofit organization enabling mass innovation through open source. #linux #kubernetes #riscv #hyperledger #anuket #openssf #openjs #o3de and more!
None @SimonLR
775 Followers 40 Following
MAEMOs.RU @maemos_ru
59 Followers 0 Following
Intel Software @IntelSoftware
141K Followers 5K Following A place to engage with the worldwide community of software and hardware developers.
Intel @intel
4.8M Followers 1K Following Intel news, stories & events about global tech innovation. That’s the power of #IntelInside. Looking for support? Tweet @IntelSupport
Bill Perry @bperry
2K Followers 261 Following Landscape, architecture, and astrophotography Ricoh GRIIIx, Canon 5D Mark IV
Pixelpipe @pixelpipe
3K Followers 59 Following The Pixelpipe team & tech has a new home, stay tuned for details!
Evernote @evernote
382K Followers 15K Following 💚 Product: https://t.co/9huzrjQw2B 📚 Help: https://t.co/n8gSyRxQDx 📣 Forum: https://t.co/oxY1Azoghd 📩 DMs not monitored
linuxmagazine @linuxmagazine
10K Followers 3K Following Linux Magazine: Open Source and Open Standards. Since 1999.
Linux Magazine @linux_pro
81K Followers 2K Following Linux Magazine is your guide to the world of Linux and open source. @[email protected] Bluesky: https://t.co/pWCi1akeDK
Daniele Maio @b0unc3
159 Followers 418 Following #opensource addicted. #mobile and #embedded passionate. #maemo/#meego supporter. #Qt/QML lover. #Jolla admirer.
evilJazz @evilJazz
557 Followers 668 Following Chief Executive Code Vandal at https://t.co/g9zUzYd2Ft Developer of QuasarMX, Certified Qt Specialist, 8-bit kid, Metalhead Blackmailing the Universe since 1980
DataViz, Inc. @DataVizInc
2K Followers 2K Following Developer of the iOS, Android, Mac & Windows productivity apps including DailyBalance, Docs To Go and Passwords Plus.
Marco Barisione @barisione
301 Followers 239 Following
Nokia Shop @Nokiashopitalia
149 Followers 0 Following
Ubuntu One @UbuntuOne
20K Followers 204 Following The personal cloud that brings your digital life together.