[Interest] QFuture, QAsync? Coroutines, Generators, Promises, Futures...

2016-12-27 Thread Petar Koretić
Hi all! In the wild people are doing all kinds of different things with Qt on the network side. And there are some obvious issues with that given the "callback" nature of Qt networking code. One can see different examples of people over the years dealing with that: http://cukic.co/2016/01/17/asy

Re: [Interest] QFuture, QAsync? Coroutines, Generators, Promises, Futures...

2016-12-27 Thread Ben Lau
On 28 December 2016 at 05:50, Petar Koretić wrote: > Hi all! > > In the wild people are doing all kinds of different things with Qt on the > network side. And there are some obvious issues with that given the > "callback" nature of Qt networking code. > > One can see different examples of people

Re: [Interest] QFuture, QAsync? Coroutines, Generators, Promises, Futures...

2016-12-28 Thread Petar Koretić
On Wed, Dec 28, 2016 at 4:51 AM, Ben Lau wrote: > > > On 28 December 2016 at 05:50, Petar Koretić > wrote: > >> Hi all! >> >> In the wild people are doing all kinds of different things with Qt on the >> network side. And there are some obvious issues with that given the >> "callback" nature of Q

Re: [Interest] QFuture, QAsync? Coroutines, Generators, Promises, Futures...

2016-12-29 Thread Jason H
retić" To: "Qt Project MailingList" Subject: [Interest] QFuture, QAsync? Coroutines, Generators, Promises, Futures... Hi all!   In the wild people are doing all kinds of different things with Qt on the network side. And there are some obvious issues with that given the "callback&

Re: [Interest] QFuture, QAsync? Coroutines, Generators, Promises, Futures...

2016-12-30 Thread Petar Koretić
Yea, I do agree, but we are trying to make a framework that is friendly out of the box, which still allows finer approaches, and threading is not simple. > *Sent:* Tuesday, December 27, 2016 at 4:50 PM > *From:* "Petar Koretić" > *To:* "Qt Project MailingList" > *S

Re: [Interest] QFuture, QAsync? Coroutines, Generators, Promises, Futures...

2016-12-31 Thread Ben Lau
On 28 December 2016 at 16:36, Petar Koretić wrote: > > > On Wed, Dec 28, 2016 at 4:51 AM, Ben Lau wrote: > >> >> >> On 28 December 2016 at 05:50, Petar Koretić >> wrote: >> >>> Hi all! >>> >>> In the wild people are doing all kinds of different things with Qt on >>> the network side. And there

Re: [Interest] QFuture, QAsync? Coroutines, Generators, Promises, Futures...

2016-12-31 Thread Vlad Stelmahovsky
All this discussion sounds like a bad joke: lets bring worse solutions from worse environment, where the solution reinvented the wheel to hide solution's poor design workaround If you are not satisfied with current's Qt proposals (QThread, QThreadPool, QConcurrent, QFuture, QEventLoop etc), probabl

Re: [Interest] QFuture, QAsync? Coroutines, Generators, Promises, Futures...

2017-01-01 Thread Petar Koretić
On Sat, Dec 31, 2016 at 2:40 PM, Vlad Stelmahovsky < vladstelmahov...@gmail.com> wrote: > > All this discussion sounds like a bad joke: lets bring worse solutions > from worse environment, where the solution reinvented the wheel to hide > solution's poor design workaround > If you are not satisfie

Re: [Interest] QFuture, QAsync? Coroutines, Generators, Promises, Futures...

2017-03-22 Thread Ben Lau
On 31 December 2016 at 21:10, Ben Lau wrote: > > > On 28 December 2016 at 16:36, Petar Koretić > wrote: > >> >> >> On Wed, Dec 28, 2016 at 4:51 AM, Ben Lau wrote: >> >>> >>> >>> On 28 December 2016 at 05:50, Petar Koretić >>> wrote: >>> Hi all! In the wild people are doing all k

Re: [Interest] QFuture, QAsync? Coroutines, Generators, Promises, Futures...

2017-03-22 Thread Elvis Stansvik
2017-03-22 8:54 GMT+01:00 Ben Lau : > > > On 31 December 2016 at 21:10, Ben Lau wrote: >> >> >> >> On 28 December 2016 at 16:36, Petar Koretić >> wrote: >>> >>> >>> >>> On Wed, Dec 28, 2016 at 4:51 AM, Ben Lau wrote: On 28 December 2016 at 05:50, Petar Koretić wrote: >>

Re: [Interest] QFuture, QAsync? Coroutines, Generators, Promises, Futures...

2017-03-24 Thread Ben Lau
On 22 March 2017 at 16:25, Elvis Stansvik wrote: > 2017-03-22 8:54 GMT+01:00 Ben Lau : > > > > > > On 31 December 2016 at 21:10, Ben Lau wrote: > >> > >> > >> > >> On 28 December 2016 at 16:36, Petar Koretić > >> wrote: > >>> > >>> > >>> > >>> On Wed, Dec 28, 2016 at 4:51 AM, Ben Lau wrote: >