Promises, Futures and the death of the callback hell


(Florent Vilmart) #1

Has this subject been already addressed? Is it worth considering here?

I searched the repo for Futures and Promises, and it seems that no proposal has been opened yet.

F.


(Xiaodi Wu) #2

Async and related topics are deferred until the spring; I would imagine
promises fall into the same basket.

···

On Fri, Oct 28, 2016 at 7:46 PM Florent Vilmart via swift-evolution < swift-evolution@swift.org> wrote:

Has this subject been already addressed? Is it worth considering here?

I searched the repo for Futures and Promises, and it seems that no
proposal has been opened yet.

F.
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution


(Goffredo Marocchi) #3

I have quite high hopes for this subject, especially with all the work going into LLVM to support it from the ground up.

···

Sent from my iPhone

On 29 Oct 2016, at 01:47, Xiaodi Wu via swift-evolution <swift-evolution@swift.org> wrote:

Async and related topics are deferred until the spring; I would imagine promises fall into the same basket.

On Fri, Oct 28, 2016 at 7:46 PM Florent Vilmart via swift-evolution <swift-evolution@swift.org> wrote:
Has this subject been already addressed? Is it worth considering here?

I searched the repo for Futures and Promises, and it seems that no proposal has been opened yet.

F.
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution


(Jeremy Pereira) #4

So you are promising that we will discuss futures and promises in the future…

···

On 29 Oct 2016, at 01:47, Xiaodi Wu via swift-evolution <swift-evolution@swift.org> wrote:

Async and related topics are deferred until the spring; I would imagine promises fall into the same basket.


(Xiaodi Wu) #5

It's not up to me to promise anything :stuck_out_tongue:

···

On Mon, Oct 31, 2016 at 07:29 Jeremy Pereira < jeremy.j.pereira@googlemail.com> wrote:

> On 29 Oct 2016, at 01:47, Xiaodi Wu via swift-evolution < > swift-evolution@swift.org> wrote:
>
> Async and related topics are deferred until the spring; I would imagine
promises fall into the same basket.

So you are promising that we will discuss futures and promises in the
future…


(Florent Vilmart) #6

I promise I'll spec some things out before Spring if this is something we want part of the language. I don't want it to have a sub-par implementation like Nodejs and forcing devs to monkey patch with Bluebird-Swift of so...

···

--
Florent Vilmart

Le 31 octobre 2016 à 11:52:57, Xiaodi Wu (xiaodi.wu@gmail.com) a écrit:

It's not up to me to promise anything :stuck_out_tongue:
On Mon, Oct 31, 2016 at 07:29 Jeremy Pereira <jeremy.j.pereira@googlemail.com> wrote:

On 29 Oct 2016, at 01:47, Xiaodi Wu via swift-evolution <swift-evolution@swift.org> wrote:

Async and related topics are deferred until the spring; I would imagine promises fall into the same basket.

So you are promising that we will discuss futures and promises in the future…