{"id":85639,"date":"2020-04-09T07:06:23","date_gmt":"2020-04-08T23:06:23","guid":{"rendered":"http:\/\/4563.org\/?p=85639"},"modified":"2020-04-09T07:06:23","modified_gmt":"2020-04-08T23:06:23","slug":"%e5%8d%8f%e7%a8%8b%e7%9a%84%e5%8e%9f%e7%90%86%e8%bf%98%e6%98%af%e6%b2%a1%e6%87%82","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=85639","title":{"rendered":"\u534f\u7a0b\u7684\u539f\u7406\u8fd8\u662f\u6ca1\u61c2"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u534f\u7a0b\u7684\u539f\u7406\u8fd8\u662f\u6ca1\u61c2               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : winterbells <\/span>  <span><i><\/i> 9<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u7f51\u4e0a\u770b\u7684\u6587\u7ae0\u90fd\u662f\u8bb2\u4e86 Kotlin \u7f16\u8bd1\u540e\uff0c\u6709\u4e2a continuation\uff0c\u6709\u4e2a\u72b6\u6001\u673a \u600e\u4e48\u5728\u7ebf\u7a0b\u4e2d\u6302\u8d77\uff0c\u53c8\u662f\u600e\u4e48\u5728\u8017\u65f6\u64cd\u4f5c\u7ed3\u675f\u540e\u6062\u590d\u7684\u6709\u70b9\u7406\u89e3\u4e0d\u4e86 \u6ca1\u5b66\u8fc7\u8fd9\u79cd\u5e95\u5c42\u7684\u4e1c\u897f\uff0c\u770b\u5f97\u4e91\u91cc\u96fe\u91cc\u7684 qaq<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>15<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1430780\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : vk42 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7b80\u5355\u7406\u89e3\u5c31\u662f\u628a\u591a\u7ebf\u7a0b\u4efb\u52a1\u6324\u5230\u540c\u4e00\u4e2a\u7ebf\u7a0b\u5185\uff0c\u901a\u8fc7\u534f\u7a0b\u539f\u8bed\u8fdb\u884c\u4ea4\u4e92\u4ea4\u66ff\u6267\u884c\uff0c\u4f46\u56e0\u4e3a\u672c\u8d28\u662f\u5355\u7ebf\u7a0b\u6240\u4ee5\u7701\u53bb\u4e86\u540c\u6b65\u673a\u5236\u5f00\u9500\u3002\u5982\u679c\u4f60\u539f\u5148\u5bf9\u591a\u7ebf\u7a0b\u719f\u6089\u5e94\u8be5\u4f1a\u66f4\u65b9\u4fbf\u7406\u89e3                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1430781\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : aabbcc112233 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @vk42 \u6240\u4ee5\u4f60\u77e5\u9053 kotlin \u7684\u534f\u7a0b\u771f\u7684\u662f\u771f\u534f\u7a0b\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1430782\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : vk42 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @aabbcc112233 kotlin \u8fd8\u771f\u4e0d\u4e86\u89e3\uff0c\u4e0d\u540c\u8bed\u8a00\u5b9e\u73b0\u534f\u7a0b\u673a\u5236\u80af\u5b9a\u6709\u533a\u522b\uff0c\u4f46\u534f\u7a0b\u672c\u6765\u5c31\u662f\u4ece\u6c47\u7f16\u5c31\u6709\u4e86\u7684\u8001\u6982\u5ff5\u4e86\uff0c\u5b9e\u73b0\u4e0a\u4e5f\u6ca1\u4ec0\u4e48\u96be\u5ea6\uff0c\u53ea\u8981\u6982\u5ff5\u672c\u8d28\u662f\u5bf9\u7684\uff0c\u65e0\u6240\u8c13\u771f\u5047\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1430783\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : WebKit <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @aabbcc112233 kotlin \u7684\u534f\u7a0b\u53ea\u662f\u5bf9\u7ebf\u7a0b\u7684\u5c01\u88c5\uff0c\u7c7b\u4f3c rxjava                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1430784\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : silvernoo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u534f\u7a0b\u5e94\u8be5\u5c31\u662f\u4e00\u79cd\u5b9e\u73b0\u628a\uff0c\u4e3b\u8981\u7684\u601d\u60f3\u662f\u5f02\u6b65\u548c\u975e\u963b\u585e\u628a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1430785\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lzdhlsc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             coroutine == resumable function                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1430786\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : winterbells <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @vk42 \u8fd9\u4e2a\u77e5\u9053\u4e86\uff0c\u4f46\u5b83\u662f\u600e\u4e48\u6302\u8d77\u7684\u3001\u600e\u4e48 delay \u7684\uff0c\u53c8\u662f\u600e\u4e48\u5728\u4e00\u6bb5\u65f6\u95f4\u540e\u6062\u590d\u7684\uff0c\u8fd8\u662f\u4e0d\u6e05\u695a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1430787\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hanxiV2EX <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5c31\u8ddf c \u8bed\u8a00\u7684 goto \u5dee\u4e0d\u591a\uff0c\u6267\u884c\u5230\u67d0\u4e2a\u5730\u65b9 yield\uff0c\u51fd\u6570\u5c31 return \u4e86\uff0c\u518d resume \u7684\u65f6\u5019\u53c8\u56de\u5230\u4e86\u4e0a\u6b21 yield \u7684\u5730\u65b9\u3002\u53ea\u4e0d\u8fc7\u534f\u7a0b\u4f1a\u5e2e\u4f60\u628a\u51fd\u6570\u5806\u6808\u90fd\u5b58\u597d\u4e86\uff0cgoto \u56de\u6765\u7684\u65f6\u5019\u80fd\u7ee7\u7eed\u627e\u5230\u4e0a\u4e0b\u6587\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1430788\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ica10888 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u60f3\u8bf4 callcc\uff0c\u6015\u76f4\u63a5\u7ed5\u6655\u4e86&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1430789\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 129tyc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u534f\u7a0b\u7684\u6302\u8d77\u53ef\u4ee5\u901a\u8fc7 yield \u4e3b\u52a8\u653e\u5f03\u5bf9 cpu \u7684\u5360\u6709\uff0c\u6062\u590d\u5219\u662f\u7531\u5176\u4ed6\u534f\u7a0b\u6216\u8c03\u5ea6\u5668\u4e3b\u52a8\u5c06\u5176 resume\uff0cdelay \u53ea\u662f\u6302\u8d77\u548c\u6062\u590d\u7684\u7ec4\u5408\uff0c\u529f\u80fd\u548c\u6548\u679c\u4e0a\u548c\u7ebf\u7a0b\u7684 delay \u7c7b\u4f3c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1430790\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Cabana <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             jvm \u7684 kotlin \u534f\u7a0b\u53ea\u662f\u5bf9\u7ebf\u7a0b\u8c03\u5ea6\u7684\u5c01\u88c5\u800c\u5df2                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1430791\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jswh <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f20\u7edf\u610f\u4e49\u4e0a\u7684\u534f\u7a0b\u662f\u57fa\u4e8e\u751f\u6210\u5668\u7684\uff0c\u53ef\u4ee5\u5728\u51fd\u6570\u6267\u884c\u4e2d\u95f4\u4e3b\u52a8\u8ba9\u51fa cpu \u5360\u7528\uff0c\u5728\u4e0b\u6b21\u8c03\u7528\u7684\u65f6\u5019\u6062\u590d\u51fd\u6570\u4e0a\u4e0b\u6587\u4ece\u4e2d\u65ad\u7684\u5730\u65b9\u6062\u590d\u6267\u884c\uff0c\u5e38\u89c1\u7684\u8bed\u6cd5\u5c31\u662f yield \u3002\u751f\u6210\u5668\u8bed\u6cd5\u53ea\u662f\u63d0\u4f9b\u4e86\u4e3b\u52a8\u8ba9\u51fa cpu \u5360\u7528\u7684\u80fd\u529b\uff0c\u8981\u505a\u5230\u5b9e\u7528\u7684\u534f\u7a0b\u4e00\u822c\u8fd8\u8981\u642d\u914d\u4e00\u4e2a\u8c03\u5ea6\u5668\uff0cgolang \u8bed\u8a00\u81ea\u5e26\uff0cphp \u7684 swoole\uff0cpython tornado \u7b49\u3002\u540c\u65f6\u6240\u6709\u76f8\u5173\u5e93\uff08 io\uff0c\u7f51\u7edc\u7b49\uff09\u90fd\u8981\u7528\u751f\u6210\u5668\u5f62\u5f0f\u6765\u5199\u5728\u7b49\u5f85\u7684\u65f6\u5019\u8ba9\u51fa cpu\uff0c\u4e0d\u7136\u4e5f\u6ca1\u5565\u5f02\u6b65\u80fd\u529b\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1430792\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : itskingname <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u4f60\u770b\u5f97\u61c2 Python\uff0c\u6211\u5199\u4e86\u4e00\u7bc7 Python \u76f8\u5173\u7684\uff1a https:\/\/mp.weixin.qq.com\/s\/spayiLNuTnFVOWWeW-jkwQ                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1430793\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : vk42 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @winterbells <br \/>\u6302\u8d77\u6062\u590d\u90fd\u662f\u5177\u4f53\u8bed\u8a00\u5b9e\u73b0\u7ec6\u8282\uff0c\u4f60\u8981\u770b\u4f60\u6240\u6307\u7684\u8bed\u8a00\u7279\u6027\u4e86\u3002\u6bd4\u5982\u6c47\u7f16\u53ef\u4ee5\u7528 long jump \u6765\u5b9e\u73b0\uff0cc \u53ef\u4ee5\u7528 goto \u5b9e\u73b0\u7b49\u7b49\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1430794\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wysnylc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u534f\u7a0b\u76f8\u5173:<br \/>[Kotlin \u534f\u7a0b\u771f\u7684\u6bd4 Java \u7ebf\u7a0b\u66f4\u9ad8\u6548\u5417?]( https:\/\/cloud.tencent.com\/developer\/article\/1570462)<br \/>[\u4e3a\u4ec0\u4e48 Java \u575a\u6301\u591a\u7ebf\u7a0b\u4e0d\u9009\u62e9\u534f\u7a0b?]( https:\/\/www.zhihu.com\/question\/332042250)                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u534f\u7a0b\u7684\u539f\u7406\u8fd8\u662f\u6ca1\u61c2 \u8cc7\u6df1\u5927\u4f6c : &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/85639"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=85639"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/85639\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=85639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=85639"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=85639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}