Hacker News new | ask | show | jobs
by nicoburns 2100 days ago
I'm not sure if they were first and they were API incompatible with modern JS promises, but jQuery had deferred objects in 2011, 2 years before the first Bluebird commit on Github.

Bluebird wasn't the first JS Promise library. It became the defacto library because it was faster than everything else.

Edit: https://en.wikipedia.org/wiki/Futures_and_promises has a history

1 comments

Nice. I am certainly not up on my JavaScript history. Bluebird was the first I used and it was still gaining popularity at the time.

I do know that promises existed a LONG time ago, I was just referencing languages that still are popular-ish. I thought the Scala implementation was pretty old, but it looks like Java actually has everyone beat.