News for hackers. Stuff that matters.
Re:What's so great about JavaScript Promises? by kogir on Tuesday January 29, 2013 @02:12PM (#5135655)
It's only magic if it's poorly or non-documented. I'm aware of many of the internals, and have written my own SynchronizationContext before. Execution actually can (and often) does continue using the same thread.

I still strongly believe it's better to make cool things available rather than try and protect people from themselves.

Re:What's so great about JavaScript Promises? by rektide on Wednesday January 30, 2013 @02:44PM (#5141325)
I'd fallen out of the .NET world before Async/Await arrived, but were someone to put some under-the-hood-monkeying around-with-it docs under my nose, I'd love to brush up. I seem to have osmosed that there is some compiler transforming going on, but I've not been exposed to ways to monkey around, did not know there was more than a use-only black box: would be lovely to get an engine-bay tour. Have you any recommendations?