{"id":166323,"date":"2019-12-25T09:16:19","date_gmt":"2019-12-25T01:16:19","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=166323"},"modified":"2019-12-11T11:16:51","modified_gmt":"2019-12-11T03:16:51","slug":"runtime-now-adds","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/runtime-now-adds.html","title":{"rendered":"\u3000WebAssembly Runtime \u73b0\u5df2\u6dfb\u52a0 .NET Core API"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nWebAssembly Runtime \u73b0\u5df2\u6dfb\u52a0 .NET Core API\uff0c\u5f00\u53d1\u8005\u53ef\u76f4\u63a5\u5728 .NET \u5e94\u7528\u7a0b\u5e8f\u4e2d\u8c03\u7528 WebAssembly \u6a21\u5757\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Mozilla \u5ba3\u5e03\u7531 Bytecode Alliance \u521b\u5efa\u7684 Wasmtime\uff08WebAssembly runtime\uff09\u73b0\u5df2\u6dfb\u52a0\u5904\u4e8e\u65e9\u671f\u9884\u89c8\u7248\u72b6\u6001\u7684 .NET Core API\uff0c\u8fd9\u5c31\u610f\u5473\u7740\u5f00\u53d1\u8005\u53ef\u4ee5\u76f4\u63a5\u5728 .NET \u5e94\u7528\u7a0b\u5e8f\u4e2d\u8c03\u7528 WebAssembly \u4ee3\u7801\u3002
\n\"\"<\/p>\n

Bytecode Alliance\uff08\u5b57\u8282\u7801\u8054\u76df\uff09\u662f\u7531 Mozilla\u3001Fastly\u3001Intel \u4e0e Red Hat \u8054\u5408\u6210\u7acb\u7684\u7ec4\u7ec7\uff0c\u8be5\u8054\u76df\u65e8\u5728\u901a\u8fc7\u534f\u4f5c\u5b9e\u65bd\u6807\u51c6\u548c\u63d0\u51fa\u65b0\u6807\u51c6\uff0c\u4ee5\u5b8c\u5584 WebAssembly \u5728\u6d4f\u89c8\u5668\u4e4b\u5916\u7684\u751f\u6001\u3002Mozilla \u63d0\u5230\uff0c.NET Core \u4f5c\u4e3a\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684 Runtime\uff0c\u4ecd\u63d0\u4f9b\u5bf9 WebAssembly \u7684\u652f\u6301\u4e3b\u8981\u4e09\u4e2a\u597d\u5904\uff0c\u9664\u4e86\u53ef\u8de8\u5e73\u53f0\u5171\u4eab\u66f4\u591a\u4ee3\u7801\u4e4b\u5916\uff0c\u8fd8\u80fd\u5b89\u5168\u5730\u9694\u79bb\u4e0d\u53d7\u4fe1\u4efb\u7684\u4ee3\u7801\uff0c\u540c\u65f6\u51ed\u501f\u7740 WebAssembly \u7684\u63a5\u53e3\u7c7b\u578b(WebAssembly Interface Types)\uff0cWebAssembly \u548c .NET \u53ef\u76f8\u4e92\u4f20\u9012\u590d\u6742\u7c7b\u578b\u3002<\/p>\n

\u867d\u7136\u6211\u4eec\u80fd\u591f\u4f7f\u7528 .NET Core \u6784\u5efa\u8de8\u5e73\u53f0\u5e94\u7528\uff0c\u4f46\u5982\u679c\u8981\u4f7f\u7528\u8bf8\u5982 C \u6216\u662f Rust \u7b49\u539f\u751f\u51fd\u6570\u5e93\uff0c\u8fd9\u4ecd\u7136\u662f\u5341\u5206\u4e0d\u65b9\u4fbf\u7684\u64cd\u4f5c\uff0c\u56e0\u4e3a\u9700\u8981\u51fd\u6570\u5e93\u4e3a\u6bcf\u4e2a\u5e73\u53f0\u53d1\u5e03\u7279\u5b9a\u51fd\u6570\u5e93\u7248\u672c\u3002\u4e0d\u8fc7\u6709\u4e86 WebAssembly \u4e4b\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u5176\u4f5c\u4e3a\u6865\u6881\u4ee5\u7b80\u5355\u6ee1\u8db3\u4e0a\u9762\u7684\u9700\u6c42\u3002\u539f\u751f\u51fd\u6570\u5e93\u53ef\u4ee5\u5148\u7f16\u8bd1\u6210 WebAssembly\uff0c\u7136\u540e\u5305\u62ec .NET Core \u5728\u5185\u7684\u8bb8\u591a\u5e73\u53f0\u5c31\u80fd\u4f7f\u7528\u8fd9\u4e9b WebAssembly \u6a21\u5757\uff0c\u8fd9\u5c06\u7b80\u5316\u51fd\u6570\u5e93\u7684\u53d1\u5e03\u4ee5\u53ca\u5e94\u7528\u7a0b\u5e8f\u5bf9\u8fd9\u4e9b\u51fd\u6570\u5e93\u7684\u4f9d\u8d56\u65b9\u5f0f\u3002<\/p>\n

\u7531\u4e8e WebAssembly \u662f\u9762\u5411\u7f51\u9875\u8bbe\u8ba1\u7684\uff0c\u7f51\u9875\u662f\u4e00\u79cd\u6bcf\u6b21\u8bbf\u95ee\u7f51\u7ad9\uff08\u8bfb\/\u5199\u6570\u636e\uff09\u90fd\u4f1a\u6267\u884c\u4e0d\u53d7\u4fe1\u4efb\u4ee3\u7801\u7684\u73af\u5883\uff0cWebAssembly \u6a21\u5757\u53ea\u80fd\u8c03\u7528\u4ece\u4e3b\u673a\u73af\u5883\u660e\u786e\u8f93\u5165\u7684\u5916\u90e8\u51fd\u6570\uff0c\u800c\u4e14\u53ea\u80fd\u5728\u4e3b\u673a\u5206\u914d\u7684\u5185\u5b58\u533a\u57df\u8fdb\u884c\u8bfb\u5199\u6570\u636e\uff0c\u8fd9\u79cd\u6c99\u76d2\u8bbe\u8ba1\u65b9\u5f0f\u4e5f\u80fd\u88ab\u5e94\u7528\u5728 .NET Core \u4e2d\uff0c\u4ee5\u589e\u52a0\u5b89\u5168\u6027\u3002\u901a\u8fc7\u652f\u6301 WebAssembly\uff0c.NET Core \u4e5f\u80fd\u4f7f\u7528\u6c99\u76d2\u4ee5\u6267\u884c\u4e0d\u4fe1\u4efb\u4ee3\u7801\u3002<\/p>\n

\u53e6\u5916\uff0cBytecode Alliance \u529b\u63a8\u7684 WebAssembly \u63a5\u53e3\u7c7b\u578b\u589e\u52a0\u4e86 WebAssembly \u4e0e\u5176\u4ed6\u8bed\u8a00\u7684\u4e92\u901a\u6027\uff0c.NET Core \u4e5f\u80fd\u4ece\u4e2d\u53d7\u76ca\u3002Mozilla \u8868\u793a\uff0cWebAssembly \u63a5\u53e3\u7c7b\u578b\u7b80\u5316\u4e86\u5e94\u7528\u7a0b\u5e8f\u4e0e WebAssembly \u6a21\u5757\u95f4\u6765\u56de\u4f20\u9012\u590d\u6742\u7c7b\u578b\u6240\u9700\u7684\u201c\u80f6\u6c34\u4ee3\u7801\u201d\u3002\u5f53 Wasmtime \u7684 .NET API \u6700\u7ec8\u53ef\u4ee5\u5bf9\u63a5\u53e3\u7c7b\u578b\u8fdb\u884c\u64cd\u4f5c\uff0cWebAssembly \u548c .NET \u4e4b\u95f4\u5c31\u80fd\u591f\u65e0\u7f1d\u5730\u4f20\u9012\u590d\u6742\u7c7b\u578b\u3002<\/p>\n

\u6700\u540e\uff0cWasmtime \u65b0\u589e\u52a0\u7684\u8fd9\u4e2a .NET Core API \u5c1a\u5904\u4e8e\u9884\u89c8\u9636\u6bb5\uff0cBytecode Alliance \u6210\u5458\u4ecd\u5728\u5bf9\u5176\u79ef\u6781\u5f00\u53d1\u4e2d\uff0c\u66f4\u65b0\u5c06\u4e0d\u4fdd\u8bc1\u5411\u540e\u517c\u5bb9\u3002\u5f53\u524d\u76ee\u6807\u662f\u8ba9 Wasmtime \u66f4\u4e3a\u7a33\u5b9a\uff0c\u56e0\u6b64\u4e0d\u5efa\u8bae\u5f00\u53d1\u8005\u5c06 Wasmtime \u7684 .NET Core API \u7528\u4e8e\u6b63\u5f0f\u4ea7\u54c1\u5f00\u53d1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Mozilla \u5ba3\u5e03\u7531 Bytecode Alliance \u521b\u5efa\u7684 Wasmtime\uff08WebAssembly […]<\/p>\n","protected":false},"author":1470,"featured_media":166325,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-166323","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/166323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1470"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=166323"}],"version-history":[{"count":1,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/166323\/revisions"}],"predecessor-version":[{"id":166326,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/166323\/revisions\/166326"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/166325"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=166323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=166323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=166323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}