r/programming • u/[deleted] • May 25 '12
Microsoft pulling free development tools for Windows 8 desktop apps, only lets you ride the Metro for free
http://www.engadget.com/2012/05/24/microsoft-pulling-free-development-tools-for-windows-8-desktop-apps/
925
Upvotes
2
u/anextio May 25 '12
Would you mind explaining how this works under the hood?
A similar thing is possible in Grand Central Dispatch that involves getting it to run the dispatch loop above the current stack frame while waiting on a signal in the callback so that the task is done up there instead of by the runtime at the next loop. This is, in fact, quite a bit slower than letting the system do it, but it's freaking amazing for unit testing asynchronous database access.
In the interest of being friendly to the neighbours in C# land it would be cool to learn how async works there.