{"id":99908,"date":"2020-04-24T21:15:35","date_gmt":"2020-04-24T13:15:35","guid":{"rendered":"http:\/\/4563.org\/?p=99908"},"modified":"2020-04-24T21:15:35","modified_gmt":"2020-04-24T13:15:35","slug":"%e6%9c%89%e5%af%b9-elixir-%e4%ba%86%e8%a7%a3%e7%9a%84%e5%90%8c%e5%ad%a6%e5%90%97%ef%bc%9f%e4%bc%9a%e4%b8%8d%e4%bc%9a%e6%88%90%e4%b8%ba%e6%9b%bf%e4%bb%a3-python-%e5%92%8c-javascript-%e7%9a%84%e7%bc%96","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=99908","title":{"rendered":"\u6709\u5bf9 Elixir \u4e86\u89e3\u7684\u540c\u5b66\u5417\uff1f\u4f1a\u4e0d\u4f1a\u6210\u4e3a\u66ff\u4ee3 Python \u548c JavaScript \u7684\u7f16\u7a0b\u8bed\u8a00"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6709\u5bf9 Elixir \u4e86\u89e3\u7684\u540c\u5b66\u5417\uff1f\u4f1a\u4e0d\u4f1a\u6210\u4e3a\u66ff\u4ee3 Python \u548c JavaScript \u7684\u7f16\u7a0b\u8bed\u8a00               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : GrapeCityChina <\/span>  <span><i><\/i> 49<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>Elixir \u662f Erlang \u7684\u6d3e\u751f\u8bed\u8a00\uff0c\u4ea6\u662f\u4e00\u79cd\u51fd\u6570\u5f0f\u52a8\u6001\u8bed\u8a00\uff0c\u7528\u4e8e\u6784\u5efa\u53ef\u4f38\u7f29\u3001\u6613\u7ef4\u62a4\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u5177\u6709\u6539\u8fdb\u7684\u8bed\u6cd5\uff0c\u4ee5\u53ca\u4e0e Erlang \u76f8\u540c\u7684\u3001\u60ca\u4eba\u7684\u5e76\u53d1\u6027\u652f\u6301\u3002\u4f5c\u4e3a\u4e00\u79cd\u7eaf\u51fd\u6570\u5f0f\u8bed\u8a00\uff0c\u5b83\u5f88\u6709\u53ef\u80fd\u5c06\u8fd9\u4e00\u8303\u5f0f\u63d0\u5347\u4e3a\u4e3b\u6d41\u3002<\/p>\n<p>\u4e3b\u8981\u4f18\u70b9\uff1a\u5b83\u4f7f\u51fd\u6570\u5f0f\u7f16\u7a0b\u53d8\u5f97\u5f02\u5e38\u7b80\u5355\u3002\u5b83\u975e\u5e38\u9002\u5408\u5e76\u53d1\u6027\u3002<\/p>\n<p>\u4e3b\u8981\u7f3a\u70b9\uff1a\u9700\u8981\u4e86\u89e3\u6f5c\u5728\u7684\u4e00\u6b21\u6027\u53ef\u7f16\u7a0b\u57fa\u7840\u77e5\u8bc6\uff0c\u8fd9\u53ef\u80fd\u662f\u4e00\u9879\u8270\u5de8\u7684\u4efb\u52a1\u3002<\/p>\n<p>Elixir \u662f\u57fa\u4e8e Erlang VM \u7684\uff0c\u5176\u5e7f\u4e3a\u4eba\u77e5\u7684\u7279\u70b9\u662f\u8fd0\u884c\u4f4e\u5ef6\u65f6\u3001\u5206\u5e03\u5f0f\u3001\u53ef\u5bb9\u9519\u7684\u7cfb\u7edf\uff0c\u5e76\u6210\u529f\u7528\u4e8e Web \u5f00\u53d1\u4e0e\u5d4c\u5165\u5f0f\u8f6f\u4ef6\u9886\u57df\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>12<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"763244\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dimlau <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ea\u77e5\u9053\u57fa\u4e8e\u6b64\u7684\u9879\u76ee\uff1aPleroma                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"763245\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sunmonster <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Python \u4e3b\u8981\u7684\u4f18\u52bf\u662f\u673a\u5668\u5b66\u4e60\uff0cjavascript \u4e3b\u8981\u662f\u6d4f\u89c8\u5668\uff0celixir \u8fd0\u884c\u5728 erlang vm \u4e0a\uff0c\u4f55\u6765\u66ff\u4ee3\u4e00\u8bf4\uff0c\u8fd8\u4e0d\u5982\u95ee reasonml \u662f\u5426\u6709\u53ef\u80fd\u66ff\u4ee3 javascript \u5462\uff0c\u4f46\u662f\u8c8c\u4f3c\u4e5f\u4e0d\u80fd\uff0c\u95e8\u680f\u592a\u9ad8\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"763246\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tt67wq <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             beam \u505a\u6570\u503c\u8ba1\u7b97\u5783\u573e\uff0celixir \u9002\u5408 web\u3001\u7f51\u7edc\u4e2d\u95f4\u4ef6\u8fd9\u79cd\u573a\u5408\uff0c\u8ddf py\u3001js \u7684\u7ade\u4e89\u4e0d\u5927\uff0c\u5012\u662f\u548c golang \u5728\u4e00\u4e9b\u573a\u5408\u80fd\u63b0\u5934\u4e00\u4e0b\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"763247\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Vegetable <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u4e86\u89e3\uff0c\u4f46\u662f\u4e0d\u4f1a&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"763248\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nianyu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u52a8\u70b9\u8111\u5b50 \u5728\u63d0\u95ee\u597d\u4e0d\u597d\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"763249\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wellsc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u51fd\u6570\u5f0f\u529d\u9000\u5927\u90e8\u5206 CRUD \u573a\u666f\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"763250\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Kilerd <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5e26 VM \u7684\u4e1c\u897f\u60a8\u8ddf\u6211\u8bf4\u9002\u5408\u5d4c\u5165\u5f0f\u8f6f\u4ef6\u9886\u57df\uff1f\uff1f\uff1f\uff1f\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"763251\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : robojel <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9996\u5148\u56de\u7b54\u95ee\u9898\uff0cElixir \u4e0d\u4f1a\u4ee3\u66ff Py \u548c JS\uff0c\u770b\u7279\u6027\u5c31\u660e\u767d\u4e86\u3002\u518d\u8bf4\u4e0b Elixir \u4f1a\u4e0d\u4f1a\u5c06\u51fd\u6570\u5f0f\u63d0\u5347\u4e3a\u4e3b\u6d41\u7684\u770b\u6cd5\uff0cErlang \u5728 10 \u5e74\u524d\u56fd\u5185\u5c31\u6709\u4e00\u5e2e\u5927\u4f6c\u5728\u7528\u4e86\uff0c\u73b0\u5728\u51e0\u4e4e\u90fd\u5728\u73a9 Golang \u4e86\uff0c\u6bd5\u7adf\u5927\u5bb6\u90fd\u662f\u5b66\u4e60 C \u8bed\u8a00\u5165\u95e8\u7684\u7f16\u7a0b\uff0c\u7c7b C \u8bed\u8a00\u4e0a\u624b\u66f4\u5feb;Elixir \u867d\u7136\u7c7b Ruby \u4f46\u5b66\u4e60\u8d77\u4e86\u66f4\u96be\uff0c\u6240\u4ee5 Erlang &amp;Elixir \u7684\u51fd\u6570\u5f0f\u4e0d\u4f1a\u6210\u4e3a\u4e3b\u6d41\u3002\u770b\u5927\u5bb6\u7684\u56de\u7b54\u5c31\u80fd\u770b\u51fa\u6765\u5bf9 Elixir \u7684\u6001\u5ea6\u3002Elixir \u5e95\u5c42 BEAM \u662f C \u5199\u7684\uff0c\u53ef\u4ee5\u7528 NIF \u8fdb\u884c\u6269\u5c55\u4ee5\u89e3\u51b3\u90e8\u5206\u6570\u503c\u8fd0\u7b97\u7684\u75db\u70b9\uff0c\u4f46\u6574\u4f53\u8fd8\u662f\u548c C++ Golang \u8fd9\u79cd\u80fd\u591f\u5bf9\u76f4\u63a5\u6570\u636e\u6307\u9488\u5404\u79cd\u64cd\u4f5c\u7684\u901f\u5ea6\u4e0d\u662f\u4e00\u4e2a\u5c42\u6b21\uff0cActor \u6a21\u578b\u7684\u7279\u6027\u5c31\u662f\u5982\u6b64\u4e3a\u4e86\u66f4\u9ad8\u7684\u7a33\u5b9a\u635f\u5931\u90e8\u5206\u6027\u80fd\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"763252\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Wincer <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6700\u8fd1\u521a\u597d\u5728\u5b66 Elixir\uff0cpipeline operator \u7528\u8d77\u6765\u7b80\u76f4\u4e0d\u8981\u592a\u8212\u670d\u3002<br \/>\u4ee5\u53ca\uff0cElixir \u7684\u51fd\u6570\u5e76\u4e0d\u662f\u5b8c\u5168\u6ca1\u6709\u526f\u4f5c\u7528\u7684\uff0c\u6240\u4ee5\u5b83\u4e0d\u80fd\u53eb\u505a\u7eaf\u51fd\u6570\u5f0f\u8bed\u8a00\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"763253\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gamesover <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u51fd\u6570\u5f0f\u7f16\u7a0b\u53ea\u80fd\u5728\u4e00\u4e9b fan \u4e2d\u5c0f\u4f17\u6d41\u884c<br \/>\u6ca1\u6cd5\u6210\u4e3a\u901a\u7528\u5de5\u5177\uff0c\u56e0\u4e3a\u51fd\u6570\u5f0f\u7f16\u7a0b\u53cd\u4eba\u7c7b \ud83d\ude42                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"763254\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dodo2012 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u90fd\u597d\u51e0\u5e74\u4e86\uff0c\u4e00\u76f4\u5c0f\u4f17\uff0c\u5e26\u4e86\u4e00\u90e8\u5206 ruby \u7684\u4eba\uff0c\u4f46\u5f88\u591a\u4eba\u53c8\u8dd1\u56de ruby \u6216\u8005 golang \u4e86\uff0c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"763255\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sagaxu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             OTP \u5206\u5e03\u5f0f\u5f3a\u5927\uff0c\u4f46 beam \u6027\u80fd\u5f31\u9e21\uff0c\u751f\u6001\u7ea6\u7b49\u4e8e\u6ca1\u6709                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u5bf9 Elixir \u4e86\u89e3\u7684\u540c\u5b66\u5417\uff1f&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\/99908"}],"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=99908"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/99908\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=99908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=99908"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=99908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}