Promises/A+ spec implementations?
Alexander J. Vincent via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Aug 18 21:18:02 PDT 2015
Hi, folks. Over ten years ago I had some interest in the D
language. I'm starting to think about it again...
I've been using Mozilla's Promises implementations for quite a
while, now, and they're surprisingly nice to work with. They are
the next generation beyond the callback function patterns I
learned in JavaScript. I've been thinking that writing a
Promises/A+ library for D would be a good task for a relatively
inexperienced D programmer. I didn't see any Promises/A+
implementations in the standard library or on code.dlang.org.
Now, whether I write that library or someone else beats me to it,
I don't really care right now. I'm interested in doing it, but
my time is extremely limited. I'm mainly posting this as a
request to get a Promises/A+ library started, and for me to
observe the process of crafting a library. If someone wants to
be a mentor for me on this, answering direct questions, that'd be
great.
The spec for Promises/A+ is at https://promisesaplus.com/ .
Mozilla's Bobby Holley recently wrote a good blog post about a
"MozPromise" implementation which includes supporting
multithreading (a concept I don't fully understand how to write
for, yet) and cancelling a Promise (which isn't in the spec, but
makes sense for Mozilla's purposes). That blog post is at
http://bholley.net/blog/2015/mozpromise.html .
Finally, I had an old login to this forum (kb7iuj), which I've
long forgotten the password for. I did see that there's no
password recovery support, so could someone just terminate that
login for good?
More information about the Digitalmars-d-learn
mailing list