{"id":2840,"date":"2010-10-30T22:26:23","date_gmt":"2010-10-31T02:26:23","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=2840"},"modified":"2010-10-30T22:26:26","modified_gmt":"2010-10-31T02:26:26","slug":"c-5-0s-async","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2010\/10\/30\/c-5-0s-async\/","title":{"rendered":"C# 5.0&rsquo;s async"},"content":{"rendered":"<p><a href=\"http:\/\/waffle.wootest.net\/2010\/10\/30\/the-long-awaited-async\/\">Jesper<\/a>:<\/p>\n<blockquote cite=\"http:\/\/waffle.wootest.net\/2010\/10\/30\/the-long-awaited-async\/\"><p>Isn&rsquo;t this just Microsoft catching up to computer science? In a way, yes. Not only could you have written this last week in Scheme, you could have written it last week in C#, assuming you&rsquo;re willing to unravel the structure of your code into what the process requires. The point is that this is the first major language that I&rsquo;m aware of to actually add support to unfurl your normal iterative code into callbacks using compiler support. In a world where the conventional wisdom posits that Microsoft is perpetually ripping off a Java that can&rsquo;t even seem to grow some closures, I thought they deserved some credit.<\/p><\/blockquote>\n<p>If that&rsquo;s the conventional wisdom, I think it&rsquo;s wrong. Microsoft has done some pretty nifty language work over the past decade or so.<\/p>","protected":false},"excerpt":{"rendered":"<p>Jesper: Isn&rsquo;t this just Microsoft catching up to computer science? In a way, yes. Not only could you have written this last week in Scheme, you could have written it last week in C#, assuming you&rsquo;re willing to unravel the structure of your code into what the process requires. The point is that this is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2840","post","type-post","status-publish","format-standard","hentry","category-programming-category"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/2840","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=2840"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/2840\/revisions"}],"predecessor-version":[{"id":2841,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/2840\/revisions\/2841"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=2840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=2840"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=2840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}