{"id":194470,"date":"2020-06-29T09:00:00","date_gmt":"2020-06-29T01:00:00","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=194470"},"modified":"2020-06-26T14:49:24","modified_gmt":"2020-06-26T06:49:24","slug":"operating-system-c","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/operating-system-c.html","title":{"rendered":"\u4e16\u754c\u4e0a\u8457\u540d\u7684\u64cd\u4f5c\u7cfb\u7edf\u662f\u7528\u4ec0\u4e48\u8bed\u8a00\u5199\u7684\uff1f"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5728\u670d\u52a1\u5668\u9886\u57df\uff0c\u6700\u8457\u540d\u7684\u7cfb\u7edf\u83ab\u8fc7\u4e8eUnix\u4e86\uff0c\u5373\u4fbfLinux\u4e5f\u662f\u7c7bUnix\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002Unix \u662f\u7528 C \u8bed\u8a00\u7f16\u5199\u7684\uff0c\u800c\u4e14\u662f\u4e16\u754c\u4e0a\u7b2c\u4e00\u4e2a\u7528 C \u8bed\u8a00\u7f16\u5199\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002\u4f46\u662f Unix \u662f\u600e\u4e48\u4ea7\u751f\u7684?C \u8bed\u8a00\u53c8\u662f\u600e\u4e48\u4ea7\u751f\u7684?Unix \u4e3a\u4ec0\u4e48\u8981\u7528 C \u8bed\u8a00\u6765\u7f16\u5199?<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u5728\u670d\u52a1\u5668\u9886\u57df\uff0c\u6700\u8457\u540d\u7684\u7cfb\u7edf\u83ab\u8fc7\u4e8eUnix\u4e86\uff0c\u5373\u4fbfLinux\u4e5f\u662f\u7c7bUnix\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002Unix \u662f\u7528 C \u8bed\u8a00\u7f16\u5199\u7684\uff0c\u800c\u4e14\u662f\u4e16\u754c\u4e0a\u7b2c\u4e00\u4e2a\u7528 C \u8bed\u8a00\u7f16\u5199\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002\u4f46\u662f Unix \u662f\u600e\u4e48\u4ea7\u751f\u7684?C \u8bed\u8a00\u53c8\u662f\u600e\u4e48\u4ea7\u751f\u7684?Unix \u4e3a\u4ec0\u4e48\u8981\u7528 C \u8bed\u8a00\u6765\u7f16\u5199?\u76f8\u4fe1\u770b\u5b8c\u8fd9\u7bc7\u6587\u7ae0\u4f60\u5f88\u5feb\u5c31\u4f1a\u6709\u4e86\u7b54\u6848\u3002
\n\"\"<\/p>\n

Multics \u548c Unix<\/strong><\/div>\n

1964\u5e74\uff0c\u5728 Unix \u8bde\u751f\u4e4b\u524d\uff0c\u7f8e\u56fd\u8d1d\u5c14\u5b9e\u9a8c\u5ba4\u3001\u901a\u7528\u7535\u6c14\u3001\u548c\u9ebb\u7701\u7406\u5de5\u5b66\u9662\u8054\u5408\u5f00\u53d1\u4e86\u4e00\u4e2a\u9879\u76ee\uff0c\u53eb\u505a Multics\u64cd\u4f5c\u7cfb\u7edf\u3002Multics \u5728\u5f53\u65f6\u53d6\u5f97\u4e86\u5de8\u5927\u7684\u6210\u529f\uff0c\u56e0\u4e3a\u5b83\u7ed9\u4e86\u4eba\u4eec\u4e00\u4e2a\u771f\u6b63\u53ef\u7528\u5e76\u4e14\u5f88\u7a33\u5b9a\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002\u5f53\u65f6\u4ece\u5b66\u6821\u5230\u653f\u5e9c\u673a\u5173\uff0c\u5230\u5904\u90fd\u5728\u5b89\u88c5 Multics\u3002<\/p>\n

\u4f46\u662f\u65f6\u95f4\u5230\u4e86 1969\u5e74\uff0c\u56e0\u4e3a\u79cd\u79cd\u539f\u56e0\uff0c\u8d1d\u5c14\u5b9e\u9a8c\u5ba4\u7684 Ken Thompson \u548c Dennis Ritchie \u51b3\u5b9a\u653e\u5f03Multics\uff0c\u4e8e\u662f\u8d1d\u5c14\u5b9e\u9a8c\u5ba4\u9000\u51fa\u4e86\u8fd9\u4e2a\u9879\u76ee\u3002Ken Thompson \u548c Dennis Ritchie \u51b3\u5b9a\u5f00\u53d1\u4e00\u4e2a\u66f4\u4e3a\u7b80\u5355\u5e76\u4e14\u9ad8\u6548\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5e76\u628a\u5b83\u547d\u540d\u4e3a Unix\uff0c\u4e8e\u662f\u4ed6\u4eec\u4fe9\u5c31\u6210\u4e3a\u4e86 Unix \u4e4b\u7236\u3002<\/p>\n

\u548c Unix \u76f8\u6bd4\uff0cMultics \u6709\u4e24\u4e2a\u6bd4\u8f83\u81f4\u547d\u7684\u7f3a\u70b9\uff0c\u4e00\u662f\u9700\u8981\u5b89\u88c5\u5728\u975e\u5e38\u6602\u8d35\u7684\u673a\u5668\u4e0a\uff0c\u666e\u901a\u7684\u8ba1\u7b97\u673a\u6ca1\u6709\u529e\u6cd5\u5b89\u88c5\u3002\u4e8c\u662f\u8bbe\u8ba1\u975e\u5e38\u590d\u6742\uff0c\u8fd9\u4e5f\u662f\u8d1d\u5c14\u5b9e\u9a8c\u5ba4\u7684\u5de5\u7a0b\u5e08\u9000\u51fa\u7684\u4e3b\u8981\u539f\u56e0\u3002\u4e0d\u8fc7 Ken Thompson \u548c Dennis Ritchie \u8fd8\u662f\u4ece Multics \u4e0a\u5f97\u5230\u5f88\u591a\u542f\u53d1\uff0c\u53ef\u4ee5\u8bf4 Unix \u662f Multics \u7684\u7b80\u5316\u4ee5\u53ca\u66f4\u65b0\u3002<\/p>\n

\u8bf4\u5230\u8fd9\u91cc\uff0cC \u8bed\u8a00\u8fd8\u6ca1\u6709\u51fa\u573a\uff0c\u56e0\u4e3a\u5b83\u5728\u90a3\u4e2a\u65f6\u5019\u8fd8\u6ca1\u6709\u88ab\u53d1\u660e\u51fa\u6765\u3002Unix \u64cd\u4f5c\u7cfb\u7edf\u7684\u7b2c\u4e00\u4e2a\u7248\u672c\u662f\u7eaf\u7cb9\u7528\u6c47\u7f16\u8bed\u8a00\u7f16\u5199\u51fa\u6765\u7684\u3002\u4e00\u76f4\u5230\u4e86 1974\u5e74\uff0c\u7b2c\u56db\u4e2a\u7248\u672c\u624d\u6539\u7528 C \u8bed\u8a00\u8fdb\u884c\u5f00\u53d1\u3002\u5728\u8bb2 C \u8bed\u8a00\u4e4b\u524d\uff0c\u6211\u4eec\u8fd8\u4e0d\u5f97\u4e0d\u5148\u8bf4\u4e00\u4e0b BCPL \u548c B \u8bed\u8a00\u3002<\/p>\n

BCPL \u4e0e B \u8bed\u8a00<\/strong><\/div>\n

Ken Thompson \u548c Dennis Ritchie \u6700\u521d\u7528\u6c47\u7f16\u8bed\u8a00\u6765\u5f00\u53d1 Unix\uff0c\u56e0\u4e3a\u5728\u90a3\u4e2a\u65f6\u5019\uff0c\u6240\u6709\u7684\u64cd\u4f5c\u7cfb\u7edf\u90fd\u662f\u7528\u6c47\u7f16\u8bed\u8a00\u6765\u5f00\u53d1\u7684\u3002\u4e0d\u8fc7\u5f53\u65f6 Multics \u662f\u4e00\u4e2a\u4f8b\u5916\uff0cMultics \u9879\u76ee\u7ec4\u4f7f\u7528\u4e86 PL\/1 \u6765\u8fdb\u884c\u5f00\u53d1\u3002\u5b83\u7684\u4ef7\u503c\u5c31\u5728\u4e8e\u5411\u4e16\u4eba\u5c55\u793a\u4e86\u7528\u4e00\u95e8\u9ad8\u7ea7\u8bed\u8a00\u4e5f\u53ef\u4ee5\u5f00\u53d1\u51fa\u4e00\u5957\u64cd\u4f5c\u7cfb\u7edf\u3002Ken Thompson \u548c Dennis Ritchie \u4e5f\u53d7\u5230\u4e86\u9f13\u821e\uff0c\u4ed6\u4eec\u51b3\u5b9a\u7528\u6c47\u7f16\u4e4b\u5916\u7684\u8bed\u8a00\u91cd\u65b0\u5f00\u53d1 Unix\u3002\u4ed6\u4eec\u6700\u521d\u7684\u9009\u62e9\u662f BCPL\u3002BCPL \u6700\u65e9\u662f\u7531 Martin Richards \u53d1\u660e\u7528\u6765\u5f00\u53d1\u7f16\u8bd1\u5668\u7684\u8bed\u8a00\u3002\u4f46\u662f Ken Thompson \u548c Dennis Ritchie\u5f88\u5feb\u53d1\u73b0\uff0c\u5982\u679c\u4ed6\u4eec\u60f3\u5728\u5c0f\u578b\u8ba1\u7b97\u673a DEC PDP-7 \u4e0a\u4f7f\u7528 BCPL\uff0c\u5c31\u9700\u8981\u5bf9\u8fd9\u4e2a\u8bed\u8a00\u672c\u8eab\u8fdb\u884c\u4e00\u4e9b\u4fee\u6539\u3002\u4e8e\u662f\u5c31\u4ea7\u751f\u4e86\u540e\u6765\u7684 B \u8bed\u8a00\u3002<\/p>\n

B \u8bed\u8a00\u4f5c\u4e3a\u7cfb\u7edf\u5f00\u53d1\u8bed\u8a00\uff0c\u4e5f\u5b58\u5728\u5f88\u591a\u7684\u7f3a\u70b9\uff0c\u4e8e\u662f\u540e\u6765\u5b83\u53c8\u88ab\u6539\u8fdb\u4e3a NB \u8bed\u8a00 (New B)\u3002\u53ef\u662f NB \u8fd8\u662f\u6709\u5f88\u591a\u7684\u95ee\u9898\uff0c\u4e8e\u662f Dennis Ritchie \u5c31\u53c8\u53d1\u660e\u4e86 C \u8bed\u8a00\uff0c\u6700\u7ec8\u5728 1974\u5e74\uff0cKen Thompson \u548c Dennis Ritchie \u4e00\u8d77\u7528 C \u8bed\u8a00\u91cd\u65b0\u7f16\u5199\u4e86\u7b2c\u56db\u7248\u7684 Unix \u7cfb\u7edf\u3002\u73b0\u5728\uff0cC \u8bed\u8a00\u5df2\u7ecf\u6210\u4e3a\u4e86\u64cd\u4f5c\u7cfb\u7edf\u5f00\u53d1\u6700\u5e38\u7528\u7684\u7f16\u7a0b\u8bed\u8a00\u3002<\/p>\n

\u901a\u5f80 C \u8bed\u8a00\u4e0e Unix \u4e4b\u8def<\/strong><\/div>\n

Dennis Ritchie \u66fe\u7ecf\u89e3\u91ca\u8fc7\u81ea\u5df1\u4e3a\u4ec0\u4e48\u8981\u53d1\u660e C \u8bed\u8a00\uff0c\u4ee5\u53ca\u4f7f\u7528 B \u8bed\u8a00\u8fc7\u7a0b\u4e2d\u9047\u5230\u7684\u4e00\u4e9b\u56f0\u96be\uff1a<\/p>\n

    \n1.\u53ea\u80fd\u5904\u7406\u8ba1\u7b97\u673a\u5b57\uff1aB\u8bed\u8a00\u6240\u6709\u7684\u64cd\u4f5c\u90fd\u662f\u901a\u8fc7\u8ba1\u7b97\u673a\u5b57\u6765\u5904\u7406\u7684\uff0c\u5728\u90a3\u4e2a\u65f6\u5019\uff0c\u80fd\u591f\u5904\u7406\u5b57\u8282\u7684\u7f16\u7a0b\u8bed\u8a00\u5bf9\u5de5\u7a0b\u5e08\u4eec\u6765\u8bf4\u662f\u4e00\u4e2a\u68a6\u3002\u6ca1\u6709\u7c7b\u578b\uff1a\u51c6\u786e\u7684\u8bf4\uff0cB\u8bed\u8a00\u53ea\u6709\u4e00\u79cd\u7c7b\u578b\uff0c\u8ba1\u7b97\u673a\u5b57\u3002\u5982\u679c\u4f60\u6709\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u53ef\u80fd\u4f60\u9700\u8981\u628a\u5b83\u5206\u6210\u591a\u4e2a\u53d8\u91cf\u6765\u4fdd\u5b58\uff0c\u6bd4\u5982\u4e00\u4e2a21\u4e2a\u5b57\u7b26\u7684\u5b57\u7b26\u4e32\uff0c\u5c31\u9700\u8981 6 \u4e2a\u53d8\u91cf\u3002
    \n2.\u4e0d\u652f\u6301\u6d6e\u70b9\u7c7b\u578b\u8fd0\u7b97\uff1a\u5728\u90a3\u4e2a\u65f6\u5019\uff0c\u5927\u90e8\u5206\u786c\u4ef6\u5df2\u7ecf\u90fd\u53ef\u4ee5\u5f00\u59cb\u652f\u6301\u6d6e\u70b9\u8fd0\u7b97\u4e86\uff0c\u4f46\u662f B \u8bed\u8a00\u8fd8\u4e0d\u652f\u6301\u8fd9\u79cd\u64cd\u4f5c\u3002B \u8bed\u8a00\u7684\u8fd9\u4e9b\u95ee\u9898\uff0c\u5f00\u53d1\u4f4e\u6548\uff0c\u5728\u673a\u5668\u4e0a\u8fd0\u884c\u7f13\u6162\u7b49\u7b49\uff0c\u90fd\u8feb\u4f7f Dennis Ritchie \u53d1\u660e\u4e00\u79cd\u65b0\u7684\u7f16\u7a0b\u8bed\u8a00\u3002\u6700\u5f00\u59cb\u88ab\u79f0\u4e3a New B\uff0c\u540e\u6765\u9010\u6e10\u6f14\u5316\u6210\u4e86 C \u8bed\u8a00\u3002
    \n3.C \u8bed\u8a00\u89e3\u51b3\u4e86 B \u8bed\u8a00\u7684\u5f88\u591a\u7f3a\u9677\uff0c\u5e76\u5f88\u5feb\u6210\u4e3a\u4e86\u5f00\u53d1\u64cd\u4f5c\u7cfb\u7edf\u6700\u6d41\u884c\u7684\u4e00\u79cd\u7f16\u7a0b\u8bed\u8a00\u3002\u65b0\u7248\u672c\u7684 Unix \u4ee5\u53ca\u4eca\u5929\u5f88\u591a\u7c7b Unix \u7684\u64cd\u4f5c\u7cfb\u7edf\u90fd\u662f\u7528 C \u8bed\u8a00\u5f00\u53d1\u51fa\u6765\u7684\u3002\n<\/ol>\n

    \u597d\u4e86\uff0c\u8bb2\u5230\u8fd9\u91cc\uff0c\u6211\u60f3\u5927\u5bb6\u90fd\u6e05\u695a\u4e86 Unix \u548c C \u8bed\u8a00\u662f\u600e\u4e48\u6765\u7684\u4e86\uff0c\u4ee5\u53ca\u4e3a\u4ec0\u4e48\u8981\u7528 C \u8bed\u8a00\u6765\u7f16\u5199 Unix\u3002\u73b0\u5728\u6709\u5f88\u591a\u975e\u5e38\u6d41\u884c\u7684\u8bed\u8a00\u6bd4\u5982 Java \u548c Python\uff0c\u5b83\u4eec\u662f\u4e00\u79cd\u66f4\u9ad8\u7ea7\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u662f\u5728 C \u8bed\u8a00\u8fd9\u4e00\u5c42\u4e4b\u4e0a\u7684\u3002\u4f46\u662f\u5982\u679c\u5927\u5bb6\u60f3\u505a\u8bbe\u5907\u9a71\u52a8\u6216\u8005\u7cfb\u7edf\u5185\u6838\u6a21\u5757\u7684\u4fee\u6539\uff0c\u8fd8\u662f\u79bb\u4e0d\u5f00 C \u8bed\u8a00\u8fd9\u628a\u5229\u5668\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

    \u5728\u670d\u52a1\u5668\u9886\u57df\uff0c\u6700\u8457\u540d\u7684\u7cfb\u7edf\u83ab\u8fc7\u4e8eUnix\u4e86\uff0c\u5373\u4fbfLinux\u4e5f\u662f\u7c7bUnix\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002Unix \u662f\u7528 C \u8bed\u8a00\u7f16\u5199\u7684\uff0c\u800c\u4e14\u662f\u4e16\u754c\u4e0a\u7b2c\u4e00\u4e2a\u7528 C \u8bed\u8a00\u7f16\u5199\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002\u4f46\u662f Unix \u662f\u600e\u4e48\u4ea7\u751f\u7684?C \u8bed\u8a00\u53c8\u662f\u600e\u4e48\u4ea7\u751f\u7684?Unix \u4e3a\u4ec0\u4e48\u8981\u7528 C \u8bed\u8a00\u6765\u7f16\u5199?<\/p>\n","protected":false},"author":370,"featured_media":77772,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-194470","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\/194470","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\/370"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=194470"}],"version-history":[{"count":7,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/194470\/revisions"}],"predecessor-version":[{"id":194491,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/194470\/revisions\/194491"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/77772"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=194470"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=194470"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=194470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}