{"id":269284,"date":"2023-04-21T09:00:05","date_gmt":"2023-04-21T01:00:05","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=269284"},"modified":"2023-04-20T22:25:36","modified_gmt":"2023-04-20T14:25:36","slug":"meta-buck2","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/meta-buck2.html","title":{"rendered":"\u5f00\u6e90\u6784\u5efa\u7cfb\u7edfBuck2\u53d1\u5e03"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u770b\u6765\u6700\u8fd1 Meta \u7684\u5de5\u7a0b\u5e08\u662f\u4e00\u70b9\u90fd\u6ca1\u6709\u95f2\u7740\uff0c\u524d\u4e24\u5929\u521a\u5f00\u6e90 AI \u56fe\u50cf\u5206\u5272\u6a21\u578b\uff0c\u8fd9\u4e0d\u5c31\u53c8\u53d1\u5e03\u4e86\u540d\u4e3a Buck2 \u7684\u5f00\u6e90\u6784\u5efa\u7cfb\u7edf\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

Buck2 \u662f\u4e00\u4e2a\u5df2\u7ecf\u5728 Meta \u5185\u90e8\u4f7f\u7528\u4e86\u4e00\u6bb5\u65f6\u95f4\u7684\u5927\u578b\u6784\u5efa\u7cfb\u7edf\uff0c\u76ee\u524d Meta \u6709\u6570\u5343\u540d\u5f00\u53d1\u4eba\u5458\u6b63\u5728\u4f7f\u7528\u8be5\u6784\u5efa\u7cfb\u7edf\uff0c\u6bcf\u5929\u6267\u884c\u6570\u767e\u4e07\u6b21\u7684\u6784\u5efa\u3002\u5728 Meta \u7684\u5185\u90e8\u6d4b\u8bd5\u4e2d\uff0cBuck2 \u5b8c\u6210\u6784\u5efa\u7684\u901f\u5ea6\u662f Buck1 \u7684 2 \u500d\u3002<\/p>\n

\u867d\u7136 Buck2 \u8ddf Buck1 \u4f7f\u7528\u4e86\u76f8\u540c\u7684\u540d\u79f0\uff0c\u4e5f\u662f Buck1 \u6784\u5efa\u7cfb\u7edf\u7684\u7ee7\u4efb\u8005\uff0c\u4f46\u524d\u8005\u5e76\u4e0d\u662f\u540e\u8005\u7b80\u5355\u7684\u5347\u7ea7\u7248\uff0cBuck2 \u7528 Rust \u5b8c\u5168\u91cd\u5199\uff08Buck1 \u7528\u7684 Java\uff09\uff0c\u76ee\u6807\u662f\u4f7f\u6784\u5efa\u901f\u5ea6\u66f4\u5feb\u3001\u66f4\u6709\u6548\u3002<\/p>\n

\u6b63\u56e0\u5982\u6b64\uff0cBuck2 \u6709\u4e00\u4e2a\u5355\u72ec\u7684 GitHub \u4ed3\u5e93\u548c\u5355\u72ec\u7684\u5b98\u65b9\u7f51\u7ad9\uff0c\u4e3a\u7684\u5c31\u662f\u8ddf Buck1 \u8fdb\u884c\u533a\u5206\u3002<\/p>\n

\u6211\u4eec\u81ea\u5df1\u7684\u5185\u90e8\u5206\u6790\u8868\u660e\uff0c\u5f53 Buck2 \u6267\u884c\u6784\u5efa\u65f6\uff0c\u5de5\u7a0b\u5e08\u80fd\u591f\u751f\u6210\u66f4\u591a\u6709\u610f\u4e49\u7684\u4ee3\u7801\uff0c\u6211\u4eec\u5e0c\u671b\u66f4\u5e7f\u6cdb\u7684\u884c\u4e1a\u4e5f\u80fd\u4ece\u4e2d\u53d7\u76ca\u3002<\/p><\/blockquote>\n

Buck2 \u7684\u8bbe\u8ba1\u57fa\u4e8e\u4ee5\u4e0b\u539f\u5219\uff1a<\/p>\n

    \n
  • \u5b8c\u5168\u5206\u79bb\u4e86\u6838\u5fc3\u89c4\u5219\u548c\u7279\u5b9a\u4e8e\u8bed\u8a00\u7684\u89c4\u5219\uff0c\u5c06\u8bed\u8a00\u89c4\u5219\u4ece\u6838\u5fc3\u4e2d\u5206\u79bb\u51fa\u6765\u610f\u5473\u7740\u89c4\u5219\u66f4\u5bb9\u6613\u6539\u53d8\u548c\u7406\u89e3\u3002Buck2 \u7684\u6838\u5fc3\u662f\u7528 Rust \u7f16\u5199\u7684\uff0c\u5b83\u7684\u8bed\u8a00\u89c4\u5219\uff08\u6bd4\u5982\u5982\u4f55\u6784\u5efa C++\uff09\u662f\u7528 Starlark \u7f16\u5199\u7684\u3002\u8fd9\u79cd\u5206\u79bb\u4e0e Buck1\uff08\u6240\u6709\u89c4\u5219\u90fd\u5199\u5728\u6838\u5fc3\u4e2d\uff09\u548c Bazel\uff08C++\/Java \u5199\u5728\u6838\u5fc3\u4e2d\uff09\u5f62\u6210\u5bf9\u6bd4\u3002<\/li>\n
  • \u6784\u5efa\u7cfb\u7edf\u6d88\u9664\u4e86\u8bb8\u591a\u7c7b\u578b\u7684\u9519\u8bef\u5e76\u589e\u52a0\u4e86\u5e76\u884c\u6027\u3002<\/li>\n
  • \u89c4\u5219 API \u88ab\u8bbe\u8ba1\u4e3a\u5305\u542b\u5148\u8fdb\u7684\u6027\u80fd\u7279\u5f81\uff0c\u4ee5\u53ca\u52a8\u6001\u4f9d\u8d56\u7279\u5f81\u3002<\/li>\n
  • \u5f00\u6e90\u7248\u672c\u4e0e Meta \u7684\u5185\u90e8\u7248\u672c\u51e0\u4e4e\u76f8\u540c\uff0c\u552f\u4e00\u66ff\u6362\u6389\u7684\u90e8\u5206\u662f\u5de5\u5177\u94fe\uff08\u6307\u5411 Meta \u7f16\u8bd1\u5668\u7684\u5185\u90e8\u526f\u672c\uff09\u548c\u8fdc\u7a0b\u6267\u884c\uff08\u6307\u5411 Meta \u5185\u90e8\u670d\u52a1\u5668\uff09 \u2014\u2014 \u4e24\u8005\u90fd\u63d0\u4f9b\u4e86\u5f00\u6e90\u66ff\u4ee3\u54c1\u3002\u8fd8\u53d1\u5e03\u4e86\u4e0e\u5185\u90e8\u4f7f\u7528\u5b8c\u5168\u76f8\u540c\u7684\u6240\u6709\u89c4\u5219\u3002<\/li>\n
  • Buck2 \u7684\u7f16\u5199\u662f\u4e3a\u4e86\u4e0e\u8fdc\u7a0b\u6267\u884c\u76f8\u7ed3\u5408\uff0c\u80fd\u591f\u5728\u8fdc\u7a0b\u673a\u5668\u4e0a\u8fd0\u884c\u64cd\u4f5c\uff0c\u4f7f\u7528\u4e0e Bazel \u76f8\u540c\u7684 API\uff0c\u5e76\u4e14\u4e00\u76f4\u5728\u7528 Buildbarn \u548c EngFlow \u6d4b\u8bd5\u8fdc\u7a0b\u6267\u884c\u3002<\/li>\n
  • Buck2 \u8fd8\u53ef\u4ee5\u4e0e\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\u96c6\u6210\u3002<\/li>\n<\/ul>\n

    \u4e0a\u8ff0\u6240\u6709\u8fd9\u4e9b\u66f4\u6539\u90fd\u662f\u60f3\u8981\u5e2e\u52a9\u5de5\u7a0b\u5e08\u548c\u5f00\u53d1\u8005\u51cf\u5c11\u7b49\u5f85\u65f6\u95f4\uff0c\u5c06\u66f4\u591a\u65f6\u95f4\u7528\u4e8e\u8fed\u4ee3\u4ed6\u4eec\u7684\u4ee3\u7801\u3002<\/p>\n

    \u76ee\u524d Buck2 \u4e3a\u4ee5\u4e0b\u8fd9\u4e9b\u8bed\u8a00\u9644\u5e26\u4e86\u5bf9\u5e94\u7684\u89c4\u5219\uff1aAssembly\u3001C\/C++\u3001Erlang\u3001Go\u3001Haskell\u3001Java\u3001JavaScript\u3001Julia\u3001OCaml\u3001Python \u548c Rust\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u4f7f\u7528 Starlark \u811a\u672c\u8bed\u8a00\uff0c\u5411 Buck2 \u6dfb\u52a0\u6216\u91cd\u65b0\u5b9e\u73b0\u8bed\u8a00\u89c4\u5219\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

    Buck2 \u662f\u4e00\u4e2a\u5df2\u7ecf\u5728 Meta \u5185\u90e8\u4f7f\u7528\u4e86\u4e00\u6bb5\u65f6\u95f4\u7684\u5927\u578b\u6784\u5efa\u7cfb\u7edf\uff0c\u76ee\u524d Meta \u6709\u6570\u5343\u540d\u5f00\u53d1\u4eba\u5458\u6b63\u5728\u4f7f\u7528 […]<\/p>\n","protected":false},"author":323,"featured_media":246876,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-269284","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\/269284","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\/323"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=269284"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/269284\/revisions"}],"predecessor-version":[{"id":270086,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/269284\/revisions\/270086"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/246876"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=269284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=269284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=269284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}