paulirotta / Tantalum

Tantalum Cross Platform Library
12 stars 6 forks source link

Promises (research) #50

Open vivainio opened 11 years ago

vivainio commented 11 years ago

"Promises" seem to be quite popular/well known already in JS-land. Explore the opportunity to have promise like API (or see whether it's redundant).

paulirotta commented 11 years ago

I agree and strongly think it should be part of our message

I discussed this with an FP guru some months ago, and I think we can already or with minimal mods claim to already have that. I don't know where there is something in the general understanding of the pattern that is not integral to to way we do this. We add to that baseline thread agility and advanced prioritization which makes is much more useful for fast UX.

It is also called "futures" in some discussions. But I haven't seen for example Scala take this as far as we do. It is a side-note thing some people might play with, like Java 7 fork-join which we use for general UX enhancement that is quite different from the server scalability most have in mind for this