{"id":7025,"date":"2018-01-16T00:09:00","date_gmt":"2018-01-16T00:09:00","guid":{"rendered":"https:\/\/wordherd.io\/google-go-vs-objective-c\/"},"modified":"2018-01-16T00:09:00","modified_gmt":"2018-01-16T00:09:00","slug":"%e8%b0%b7%e6%ad%8cgo-vs-objective-c","status":"publish","type":"post","link":"https:\/\/wordherd.io\/zh\/blog\/google-go-vs-objective-c\/","title":{"rendered":"Google Go vs Objective C"},"content":{"rendered":"<p><strong>1. \u5bfc\u8a00<\/strong><\/p>\n<p>\u201c<em>\u8bed\u8a00\u5bf9\u4e8e\u4f20\u7edf\u6f14\u5316\u7684\u91cd\u8981\u6027\u5728\u4e8e\uff1a\u4eba\u7c7b\u5728\u8bed\u8a00\u4e2d\u6784\u5efa\u4e86\u4e00\u4e2a\u4e0e\u76f8\u53cd\u7684\u4e16\u754c\u76f8\u5206\u79bb\u7684\u4e16\u754c\uff0c\u8fd9\u4e2a\u4e16\u754c\u4e4b\u6240\u4ee5\u80fd\u5982\u6b64\u7262\u56fa\u5730\u786e\u7acb\uff0c\u662f\u56e0\u4e3a\u5b83\u80fd\u591f\u652f\u6491\u4f4f\u4e16\u754c\u5176\u4f59\u90e8\u5206\uff0c\u4f7f\u4e4b\u6446\u8131\u4e86\u81ea\u8eab\u7684\u675f\u7f1a\uff0c\u5e76\u80fd\u638c\u63e1\u8fd9\u4e2a\u4e16\u754c\u3002\u53ea\u8981\u4eba\u7c7b\u957f\u671f\u4ee5\u6765\u4e00\u76f4\u76f8\u4fe1\u4e8b\u7269\u89c2\u5ff5\u548c\u540d\u79f0\u7684\u771f\u5b9e\u6027\uff0c\u90a3\u4e48\u4ed6\u5c31\u5df2\u5c06\u8fd9\u79cd\u4ee4\u4ed6\u8d85\u8d8a\u52a8\u7269\u7684\u559c\u60a6\u5f52\u5c5e\u4e8e\u81ea\u5df1\uff1a\u4ed6\u5b9e\u9645\u4e0a\u8ba4\u4e3a\u8bed\u8a00\u662f\u4ed6\u638c\u63e1\u4e86\u4e16\u754c\u77e5\u8bc6\u7684\u624b\u6bb5\u3002<\/em>.\u201d\u5f17\u96f7\u5fb7\u91cc\u514b\u00b7\u5c3c\u91c7\u3002\u201d<\/p>\n<p>\u6bcf\u4e2a\u7b14\u8bb0\u672c\u7535\u8111\u7a0b\u5e8f\u5458\u5bf9\u81ea\u5df1\u7684\u7f16\u7a0b\u8bed\u8a00\u7684\u8bc4\u4ef7\u90fd\u4e0d\u5c3d\u76f8\u540c\uff0c\u4f46\u5927\u591a\u6570\u7a0b\u5e8f\u5458\u90fd\u8ba4\u4e3a\u81ea\u5df1\u7684\u7f16\u7a0b\u8bed\u8a00\u662f\u6700\u68d2\u7684\u3002\u5e38\u89c1\u7684\u7279\u70b9\u5305\u62ec\u8bed\u6cd5\u6613\u4e8e\u7406\u89e3\u3001\u8fd0\u884c\u65f6\u95f4\u66f4\u77ed\u3001\u7f16\u8bd1\u901f\u5ea6\u66f4\u5feb\uff0c\u6b64\u5916\u8fd8\u6709\u4e00\u4e9b\u6211\u4eec\u6839\u636e\u81ea\u5df1\u7684\u5e94\u7528\u9700\u8981\u800c\u5e0c\u671b\u5177\u5907\u7684\u66f4\u660e\u786e\u7684\u529f\u80fd\u3002\u8fd9\u4e9b\u90fd\u662f\u7f16\u7a0b\u8bed\u8a00\u4e4b\u6240\u4ee5\u5982\u6b64\u591a\u7684\u539f\u56e0\uff0c\u800c\u4e14\u6bcf\u5929\u90fd\u6709\u65b0\u7684\u7f16\u7a0b\u8bed\u8a00\u95ee\u4e16\u3002\u5c3d\u7ba1\u5bf9\u8bed\u8a00\u8bbe\u8ba1\u6709\u7740\u6d53\u539a\u7684\u5174\u8da3\u548c\u5173\u6ce8\uff0c\u4f46\u8bb8\u591a\u73b0\u4ee3\u7f16\u7a0b\u8bed\u8a00\u5e76\u4e0d\u603b\u80fd\u63d0\u4f9b\u8bed\u8a00\u8bbe\u8ba1\u4e0a\u7684\u521b\u65b0\u2014\u2014\u4f8b\u5982\u5fae\u8f6f\u548c\u82f9\u679c\u516c\u53f8\u53ea\u63d0\u4f9b\u5176\u4e0d\u540c\u7248\u672c\u3002<\/p>\n<p>\u5728\u8ba1\u7b97\u673a\u79d1\u5b66\u9886\u57df\u7684\u53d1\u5c55\u53f2\u4e0a\uff0cC\u8bed\u8a00\u66fe\u4e00\u5ea6\u5360\u636e\u4e3b\u5bfc\u5730\u4f4d\uff0c\u6210\u4e3a\u8bb8\u591a\u5176\u4ed6\u6210\u529f\u7f16\u7a0b\u8bed\u8a00\u7684\u6e90\u5934\u3002\u5728\u8fd9\u6bb5\u65f6\u95f4\u91cc\uff0cC\u8bed\u8a00\u7684\u5f00\u53d1\u8005\u4eec\u90fd\u975e\u5e38\u5173\u6ce8C\u8bed\u8a00\u7684\u672a\u6765\u53d1\u5c55\uff0c\u5e76\u5c06\u5176\u4f5c\u4e3a\u4ed6\u4eec\u7684\u7814\u7a76\u8bfe\u9898\u3002\u7136\u800c\uff0c\u968f\u7740C\u8bed\u8a00\u7684\u8bde\u751f\uff0c\u8ba1\u7b97\u673a\u79d1\u5b66\u9886\u57df\u53d1\u751f\u4e86\u5de8\u5927\u7684\u53d8\u5316\u3002\u8ba1\u7b97\u673a\u7cfb\u7edf\u4f7f\u7528\u591a\u6838\u5904\u7406\u5668\u540e\u7684\u901f\u5ea6\u63d0\u9ad8\u4e86\u6570\u5343\u500d\uff0c\u7f51\u7edc\u548c\u4e92\u8054\u7f51\u63a5\u5165\u4e5f\u53d8\u5f97\u66f4\u52a0\u666e\u904d\uff0c\u8bbe\u5907\u4e5f\u8d8a\u6765\u8d8a\u5c0f\u5de7\uff0c\u79fb\u52a8\u8ba1\u7b97\u4e5f\u9010\u6e10\u6210\u4e3a\u4e3b\u6d41\u3002\u5728\u8fd9\u4e2a\u65f6\u4ee3\uff0c\u6211\u4eec\u9700\u8981\u4e00\u79cd\u80fd\u591f\u8ba9\u6211\u4eec\u7684\u751f\u6d3b\u66f4\u7f8e\u597d\u3001\u66f4\u4fbf\u6377\u7684\u8bed\u8a00\u3002<\/p>\n<p>\u6839\u636e TIOBE \u6307\u6570\uff0cGo \u548c\u76ee\u6807 C \u5728 2009 \u5e74\u66fe\u4f4d\u5217\u589e\u957f\u6700\u5feb\u7684\u8bed\u8a00\u4e4b\u5217\uff0c\u800c Go \u5728\u540c\u4e00\u5e74\u4e5f\u88ab\u6388\u4e88\u201c\u5e74\u5ea6\u7f16\u7a0b\u8bed\u8a00\u201d\u79f0\u53f7\u3002 TIOBE \u901a\u8fc7\u7d22\u5f15\u7684\u65b9\u5f0f\u6bcf\u6708\u53d1\u5e03\u7ed3\u679c\u3002\u7d22\u5f15\u6570\u636e\u6765\u6e90\u4e8e\u5411\u6388\u6743\u7a0b\u5e8f\u5458\u3001\u57f9\u8bad\u673a\u6784\u548c\u8f6f\u4ef6\u53d1\u884c\u5546\u63d0\u4f9b\u94fe\u63a5\u7684\u4fe1\u606f\u3002\u8fd9\u4e9b\u6570\u636e\u901a\u8fc7\u8c37\u6b4c\u3001\u5fc5\u5e94\u3001\u96c5\u864e\u3001\u7ef4\u57fa\u767e\u79d1\u548c YouTube \u7684\u641c\u7d22\u5f15\u64ce\u6536\u96c6\u800c\u6765\u3002\u5bf9\u4e8e\u76ee\u6807 C \u800c\u8a00\uff0c\u5176\u7ed3\u679c\u66f4\u4e3a\u53ef\u9884\u6d4b\uff0c\u56e0\u4e3a\u5b83\u662f iPhone \u548c Mac \u7684\u8bed\u8a00\uff0c\u800c Apple \u4e5f\u6b63\u5728\u5927\u529b\u5f00\u53d1\u8be5\u8bed\u8a00\u3002\u7136\u800c\uff0c\u7531\u4e8e Go \u5c1a\u672a\u63a8\u51fa\u8d85\u8fc7\u4e00\u5e74\uff0c\u56e0\u6b64\u8fd9\u4e00\u7ed3\u679c\u4f1a\u66f4\u52a0\u5f15\u4eba\u6ce8\u76ee\u3002<\/p>\n<p><strong>2. \u4e00\u70b9\u5386\u53f2<\/strong><\/p>\n<p>Go \u7684\u81ed\u540d\u662d\u8457\u7684\u6bcd\u7248 Google \u7edf\u6cbb\u4e86\u641c\u7d22\u3001\u7535\u5b50\u90ae\u4ef6\u7b49\u9886\u57df\u3002\u56e0\u6b64\uff0c\u63a8\u51fa\u4e00\u6b3e\u5168\u65b0\u7684\u7f16\u7a0b\u8bed\u8a00\u5e76\u4e0d\u4ee4\u4eba\u610f\u5916\uff01\u5c31\u50cf\u8bb8\u591a Google \u7684\u5f00\u6e90\u9879\u76ee\u4e00\u6837\uff0cGo \u6700\u521d\u53ea\u662f\u4f5c\u4e3a\u517c\u804c\u9879\u76ee\u8fdb\u884c\u5f00\u53d1\uff0c\u800c Google \u5219\u5c06\u5176\u63d0\u4f9b\u7ed9\u5458\u5de5\u7528\u4e8e\u5b9e\u9a8c\uff1b\u540e\u6765\uff0c\u5b83\u9010\u6e10\u53d1\u5c55\u6210\u4e3a\u66f4\u5177\u89c4\u6a21\u7684\u9879\u76ee\u3002 Robert Griesemer\u3001Rob Pike \u548c Ken Thompson \u5171\u540c\u521b\u7acb\u4e86 Go\uff0c\u5e76\u5728 2009 \u5e74 11 \u6708\u6b63\u5f0f\u63a8\u51fa\u4e86 Go \u7684\u8bbe\u8ba1\u7248\u672c\uff0c\u968f\u540e\u5728 Linux \u548c Mac OS \u5e73\u53f0\u4e0a\u63a8\u51fa\u4e86\u5b9e\u73b0\u7248\u672c\u3002 Google \u5c06 Go \u91c7\u7528 BSD \u98ce\u683c\u7684\u8bb8\u53ef\u8bc1\uff0c\u5e0c\u671b\u7a0b\u5e8f\u5458\u793e\u533a\u80fd\u591f\u53d1\u5c55\u5e76\u6784\u5efa Go\uff0c\u4f7f\u5176\u6210\u4e3a\u8f6f\u4ef6\u5f00\u53d1\u7684\u66f4\u53ef\u884c\u7684\u9009\u62e9\u3002\u4e0e\u6b64\u540c\u65f6\uff0c Go \u4ecd\u7136\u5904\u4e8e\u975e\u5e38\u5e74\u8f7b\u4e14\u5904\u4e8e\u5b9e\u9a8c\u9636\u6bb5\u3002\u751a\u81f3 Google \u4e5f\u76ee\u524d\u5c1a\u672a\u5927\u89c4\u6a21\u90e8\u7f72 Go \u6765\u5f00\u53d1\u5e94\u7528\u7a0b\u5e8f\u3002\u867d\u7136\u6258\u7ba1\u4ee3\u7801\u7684\u7f51\u7ad9\u4f7f\u7528\u7684\u662f\u4f7f\u7528 Go \u6784\u5efa\u7684\u670d\u52a1\u5668\uff0c\u4f46\u8be5\u9879\u76ee\u7684\u6700\u521d\u76ee\u6807\u662f\u5438\u5f15\u5f00\u53d1\u4eba\u5458\uff0c\u5e76\u56f4\u7ed5 Go \u6784\u5efa\u4e00\u4e2a\u793e\u533a\u3002\u5c3d\u7ba1\u5176\u5730\u4f4d\u5c1a\u4e0d\u786e\u5b9a\uff0c\u4f46 Go \u5df2\u7ecf\u652f\u6301\u4e86\u8bb8\u591a\u60a8\u901a\u5e38\u4f1a\u671f\u671b\u4ece\u7cfb\u7edf\u8bed\u8a00\u4e2d\u83b7\u5f97\u7684\u5e38\u7528\u5de5\u5177\u3002<\/p>\n<p>\u76ee\u6807 C \u7684\u5386\u53f2\u66f4\u4e3a\u60a0\u4e45\u3002\u5982\u4eca\uff0c\u5b83\u5df2\u5b8c\u5168\u5e94\u7528\u4e8e\u82f9\u679c\u516c\u53f8\u7684 Mac OS \u548c iPhone \u7cfb\u7edf\u3002\u76ee\u6807 C \u662f\u82f9\u679c\u516c\u53f8 COCOA API \u7684\u9996\u4e2a\u8bed\u8a00\u3002\u76ee\u6807 C \u662f Brad Cox \u548c Tom Love \u5728 80 \u5e74\u4ee3\u521d\u5728\u4ed6\u4eec\u7684\u516c\u53f8 StepStone \u521b\u4f5c\u7684\u30021986 \u5e74\uff0cCox \u5728\u5176\u8457\u4f5c\u300a\u201c\u76ee\u6807 C\u201d\uff1a\u5f00\u53d1\u6307\u5357\u300b\u4e2d\u9996\u6b21\u516c\u5e03\u4e86\u76ee\u6807 C \u7684\u57fa\u672c\u63cf\u8ff0\u3002\u201c<em>\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\uff1a\u4e00\u79cd\u6f14\u8fdb\u65b9\u6cd5<\/em>\u201c\u4ece\u90a3\u65f6\u8d77\uff0c\u76ee\u6807C\u5c31\u4e00\u76f4\u4ee5\u591a\u79cd\u8bed\u8a00\u7684\u7279\u8272\u800c\u8457\u79f0\uff0c\u800c\u5982\u4eca\u5b83\u6210\u4e86\u53f2\u8482\u592b\u00b7\u4e54\u5e03\u65af\u7684\u66ff\u4ee3\u8bed\u8a00\u3002<\/p>\n<p>\u8bbe\u8ba1\u548c\u7f16\u7a0b\u8bed\u8a00\u7684\u6210\u529f\u4e0e\u5931\u8d25\u90fd\u6709\u8bb8\u591a\u56e0\u7d20\u7684\u8d21\u732e\u3002\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u8bd5\u56fe\u4e3a\u8fd9\u4e24\u4e2a\u957f\u671f\u4ee5\u6765\u88ab\u89c6\u4e3a\u5fc5\u4e0d\u53ef\u5c11\u7684\u8bed\u8a00\u63d0\u4f9b\u4e00\u4e2a\u5408\u7406\u7684\u6bd4\u8f83\u3002<\/p>\n<p><strong>\u4e09. \u57fa\u672c\u53ef\u6bd4\u6027<\/strong><\/p>\n<p>\u5982\u4eca\uff0c\u4e16\u754c\u5145\u6ee1\u4e86\u7f16\u7a0b\u8bed\u8a00\uff0c\u5b83\u4eec\u6b63\u9010\u6e10\u6f14\u53d8\u6210\u66f4\u666e\u904d\u4e14\u7528\u9014\u66f4\u5e7f\u7684\u8bed\u8a00\uff1b\u7136\u800c\uff0c\u5b83\u4eec\u4ecd\u7136\u5404\u6709\u5176\u4e13\u957f\u548c\u7279\u70b9\uff0c\u6bcf\u4e2a\u8bed\u8a00\u90fd\u6709\u5176\u81ea\u8eab\u7684\u7f3a\u70b9\u548c\u4f18\u70b9\u3002<\/p>\n<p>\u8bed\u8a00\u901a\u5e38\u53ef\u4ee5\u5206\u4e3a\u8bb8\u591a\u4e0d\u540c\u7684\u7c7b\u522b\u3002\u4e0b\u6587\u6240\u5217\u51fa\u7684\u5e76\u975e\u6240\u6709\u53ef\u80fd\u7684\u76f8\u4f3c\u529f\u80fd\u7684\u5168\u79f0\u5217\u8868\u3002\u4e0e\u6240\u9009\u7684\u4e24\u4e2a\u7f16\u7a0b\u8bed\u8a00\u76f8\u6bd4\uff0c\u88ab\u8ba4\u4e3a\u66f4\u4e3a\u91cd\u8981\u7684\u9009\u9879\u5df2\u88ab\u9009\u5b9a\uff0c\u5e76\u8fdb\u884c\u4e86\u5feb\u901f\u5f52\u7eb3\u3002\u6bcf\u4e00\u4efd\u90fd\u7ed9\u4e86\u3002<\/p>\n<p><strong>\u4e09.1 \u8303\u5f0f<\/strong><\/p>\n<p>Goal-C \u662f\u4e00\u4e2a\u91cd\u8981\u7684\u9762\u5411\u5bf9\u8c61\u8bed\u8a00\uff0c\u8fd9\u610f\u5473\u7740\u5bf9\u8c61\u53ef\u4ee5\u6539\u53d8\u72b6\u6001\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4e0e C \u8bed\u8a00\u548c\u8bb8\u591a\u5176\u4ed6\u5173\u952e\u8bcd\u6c47\u5b8c\u5168\u76f8\u540c\u7684\u8bed\u6cd5\u7ed3\u6784\uff0c\u4ece\u800c\u5b9e\u73b0\u4e86\u771f\u6b63\u7684\u9762\u5411\u5bf9\u8c61\u8bed\u8a00\u7684\u5168\u90e8\u529f\u80fd\u3002\u5f53\u7136\uff0c\u9762\u5411\u5bf9\u8c61\u5e94\u7528\u7a0b\u5e8f\u90fd\u662f\u56f4\u7ed5\u5bf9\u8c61\u6784\u5efa\u7684\uff0c\u56e0\u6b64\u5728 Goal-C \u4e2d\uff0c\u5bf9\u8c61\u5c31\u662f\u4e00\u5207\u7684\u6839\u57fa\u3002\u4e00\u4e2a\u7c7b\u522b\u7528\u4e8e\u63d0\u4f9b\u53ef\u4e92\u6362\u7684\u5bf9\u8c61\uff0c\u79f0\u4e3a\u7c7b\u522b\u72b6\u6001\u3002\u8bfe\u7a0b\u7528\u4e8e\u5c01\u88c5\u5c5e\u4e8e\u540c\u4e00\u7c7b\u7684\u4fe1\u606f\u548c\u7b56\u7565\u3002\u7b56\u7565\u662f\u76ee\u6807-C \u5e94\u7528\u4e8e\u4fe1\u606f\u7684\u64cd\u4f5c\uff0c\u5e76\u901a\u8fc7\u5176\u6d88\u606f\u9009\u62e9\u5668\u8fdb\u884c\u8bc6\u522b\u3002\u76ee\u6807-C \u652f\u6301\u591a\u6001\u6027\uff0c\u8fd9\u610f\u5473\u7740\u591a\u4e2a\u8bfe\u7a0b\u53ef\u4ee5\u4f7f\u7528\u76f8\u540c\u7684\u540d\u79f0\u3002\u6b64\u5916\uff0c\u5355\u7ee7\u627f\u4e5f\u88ab\u7528\u4e8e\u4ee3\u7801\u91cd\u7528\u3002\u5b9e\u73b0\u591a\u6001\u6027\u7684\u6700\u63a5\u8fd1\u7684\u65b9\u6cd5\u662f\u521b\u5efa\u5e26\u6709\u4e8b\u4ef6\u53d8\u91cf\u7684\u7c7b\u522b\uff0c\u8fd9\u4e9b\u53d8\u91cf\u662f\u6307\u5411\u5176\u4ed6\u5bf9\u8c61\u7684\u5f15\u7528\u3002\u4e0d\u8fc7\uff0cGoal-C \u7406\u5ff5\u8ba4\u4e3a\u7a0b\u5e8f\u5458\u4e0d\u5e0c\u671b\u51fa\u73b0\u8fc7\u591a\u7684\u7ee7\u627f\u673a\u5236\uff0c\u56e0\u6b64\u4f1a\u5c06\u5176\u6452\u5f03\u3002<\/p>\n<p>\u5728 Go \u4e2d\uff0c\u95ee\u9898\u7a0d\u5fae\u6709\u4e9b\u4e0d\u540c\u3002 Go \u7684\u8bbe\u8ba1\u8005\u9009\u62e9\u4e86\u4e00\u79cd\u6d88\u606f\u4f20\u9012\u6a21\u5f0f\u6765\u5b9e\u73b0\u5e76\u53d1\u7f16\u7a0b\u3002\u8be5\u8bed\u8a00\u63d0\u4f9b\u4e86 Goroutines \u548c Channels \u8fd9\u4e24\u4e2a\u4e3b\u8981\u6784\u5efa\u4f53\u6765\u5b9e\u73b0\u8fd9\u4e00\u6a21\u5f0f\u3002\u5728\u8bbe\u8ba1 FAQ \u4e2d\uff0cGoogle \u5199\u9053\uff0cGo \u4e0d\u662f\u9762\u5411\u5bf9\u8c61\u8bed\u8a00\uff01\u867d\u7136 Go \u62e5\u6709\u7c7b\u578b\u548c\u7b56\u7565\uff0c\u5e76\u5141\u8bb8\u6211\u4eec\u6a21\u62df\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u6a21\u5f0f\uff0c\u4f46\u6ca1\u6709\u4efb\u4f55\u7c7b\u578b\u5c42\u6b21\u7ed3\u6784\u3002\u7f3a\u4e4f\u7c7b\u578b\u5c42\u6b21\u7ed3\u6784\u4f7f\u5f97 Go \u4e2d\u7684\u201c\u5bf9\u8c61\u201d\u6bd4 Goal C \u4e2d\u7684\u5bf9\u8c61\u66f4\u8f7b\u5de7\u3002 Go \u4f7f\u7528\u4e86\u4e00\u79cd\u9769\u547d\u6027\u7684\u65b9\u6cd5\u5904\u7406\u5bf9\u8c61\uff0c\u7a0b\u5e8f\u5458\u65e0\u9700\u62c5\u5fc3\u5e9e\u5927\u7684\u5bf9\u8c61\u6811\u3002\u7531\u4e8e Go \u4e0d\u662f\u975e\u5e38\u9762\u5411\u5bf9\u8c61\u8bed\u8a00\uff0c\u7a0b\u5e8f\u5458\u53ef\u4ee5\u6309\u7167\u81ea\u5df1\u7684\u610f\u613f\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u540c\u65f6\u4ecd\u7136\u80fd\u4eab\u53d7\u9762\u5411\u5bf9\u8c61\u7684\u529f\u80fd\u3002<\/p>\n<p>\u6211\u5b9e\u9645\u4e0a\u65e0\u6cd5\u63a5\u53d7\u4efb\u4f55\u6ca1\u6709\u5c42\u6b21\u5f0f\u7ee7\u627f\u673a\u5236\u7684\u9762\u5411\u5bf9\u8c61\u8bed\u8a00\u3002\u7136\u800c\uff0c\u5bf9\u4e8e\u90a3\u4e9b\u786e\u5b9e\u5177\u5907\u8fd9\u79cd\u673a\u5236\u7684\u4eba\u6765\u8bf4\uff0c\u5b83\u4f3c\u4e4e\u4e3a\u7075\u6d3b\u6027\u548c\u91cd\u7528\u63d0\u4f9b\u4e86\u66f4\u5927\u7684\u53ef\u80fd\u6027\u3002Go\u4e2d\u7f3a\u4e4f\u7ee7\u627f\u673a\u5236\u786e\u5b9e\u4ee4\u4eba\u611f\u5230\u597d\u5947\uff01\u5c31\u6211\u6240\u77e5\uff0c\u7ee7\u627f\u4e00\u76f4\u4ee5\u6765\u90fd\u88ab\u6559\u5bfc\u4e3a\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u7684\u7cbe\u534e\u6240\u5728\u3002\u4e8b\u5b9e\u4e0a\uff0c\u7ee7\u627f\u5e76\u4e0d\u662f\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u4e2d\u552f\u4e00\u53ef\u884c\u7684\u91cd\u590d\u4f7f\u7528\u673a\u5236\u3002\u7ec4\u5408\u4e3b\u4e49\u65e0\u7591\u662f\u4e00\u79cd\u66f4\u5f3a\u5927\u7684\u5171\u4eab\u4e60\u60ef\u673a\u5236\uff0c\u800c\u975e\u7ee7\u627f\u673a\u5236\u3002<\/p>\n<p>\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u9010\u6e10\u6210\u4e3a\u53d7\u5230\u9ad8\u5ea6\u91cd\u89c6\u7684\u9886\u57df\uff0c\u5c24\u5176\u662f\u5728\u5927\u578b\u4f01\u4e1a\u4e2d\uff0c\u56e0\u4e3a\u5b83\u4e3a\u4ed6\u4eec\u5f00\u53d1\u8f6f\u4ef6\u7684\u65b9\u5f0f\u63d0\u4f9b\u4e86\u5408\u9002\u7684\u7b56\u7565\uff0c\u5e76\u80fd\u589e\u52a0\u4ed6\u4eec\u5229\u7528\u4e00\u6279\u666e\u901a\u7a0b\u5e8f\u5458\u7ec4\u5efa\u56e2\u961f\u7684\u9879\u76ee\u6210\u529f\u7684\u51e0\u7387\u3002\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u5b9e\u73b0\u4e86\u8fd9\u4e9b\u7a0b\u5e8f\u5458\u7684\u5178\u578b\u7f16\u7a0b\u65b9\u5f0f\uff0c\u5e76\u9632\u6b62\u4e86\u4eba\u4eec\u8fc7\u5ea6\u91cd\u590d\u4ee3\u7801\u7684\u884c\u4e3a\u3002\u5176\u4f18\u70b9\u5728\u4e8e\uff0c\u7531\u6b64\u4ea7\u751f\u7684\u4ee3\u7801\u5177\u6709\u6781\u9ad8\u7684\u91cd\u590d\u6027\u3002\u5bf9\u4e8e\u5927\u578b\u516c\u53f8\u6765\u8bf4\uff0c\u8fd9\u4e2a\u4ef7\u683c\u5e76\u4e0d\u7b97\u8fc7\u9ad8\uff0c\u56e0\u4e3a\u4ed6\u4eec\u7684\u8f6f\u4ef6\u65e0\u8bba\u5982\u4f55\u90fd\u4f1a\u5305\u542b\u5927\u91cf\u91cd\u590d\u5185\u5bb9\u3002<\/p>\n<p><strong>3.2 \u8bed\u6cd5<\/strong><\/p>\n<p>\u76ee\u6807 C \u662f\u666e\u901a ANSI C \u7684\u6269\u5c55\uff1b\u73b0\u6709\u7684 C \u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8fdb\u884c\u8c03\u6574\uff0c\u4ee5\u4fbf\u5229\u7528\u8fd9\u4e9b\u8f6f\u4ef6\u6846\u67b6\uff0c\u800c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5176\u6700\u521d\u7684\u5f00\u53d1\u8fc7\u7a0b\u3002\u5728\u76ee\u6807 C \u4e2d\uff0c\u7a0b\u5e8f\u5458\u5728\u76ee\u6807 C \u5185\u8fd0\u884c\u65f6\uff0c\u53ef\u4ee5\u83b7\u5f97 C \u7684\u5168\u90e8\u4f18\u52bf\u3002\u7a0b\u5e8f\u5458\u53ef\u4ee5\u9009\u62e9\u91c7\u7528\u9762\u5411\u5bf9\u8c61\u7684\u65b9\u6cd5\u6765\u6267\u884c\u4e00\u4e9b\u64cd\u4f5c\uff0c\u4f8b\u5982\u5b9a\u4e49\u4e00\u4e2a\u65b0\u7684\u7c7b\uff1b\u6216\u8005\uff0c\u53ef\u4ee5\u7ee7\u7eed\u4f7f\u7528\u7a0b\u5e8f\u5316\u7f16\u7a0b\u65b9\u5f0f\u3002\u76ee\u6807 C \u88ab\u666e\u904d\u8ba4\u4e3a\u662f\u4e00\u79cd C \u548c Smalltalk \u4e4b\u95f4\u7684\u6df7\u5408\u5f62\u5f0f\u3002\u5b66\u4e60\u66f2\u7ebf\u7684\u4e00\u4e2a\u7f3a\u70b9\u53ef\u80fd\u662f\uff0c\u5728\u8fdb\u5165\u76ee\u6807 C \u9886\u57df\u4e4b\u524d\uff0c\u9700\u8981\u5148\u638c\u63e1 C \u7684\u7f16\u7a0b\u57fa\u7840\u77e5\u8bc6\uff1bC \u4e0e\u8bed\u6cd5\u548c\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u4e00\u6837\uff0c\u901a\u5e38\u90fd\u4f1a\u7ed9\u65b0\u624b\u7a0b\u5e8f\u5458\u5e26\u6765\u66f4\u957f\u4e14\u66f4\u5177\u6311\u6218\u6027\u7684\u5b66\u4e60\u66f2\u7ebf\uff0c\u800c\u76ee\u6807 C \u4e5f\u65e0\u4e00\u4f8b\u5916\u3002<\/p>\n<p>Go \u4e5f\u662f C \u8bed\u8a00\u5bb6\u65cf\u7684\u4e00\u5458\uff0c\u4f46\u6211\u611f\u89c9 Go \u80fd\u591f\u6253\u7834\u8fd9\u79cd\u7f16\u7801\u6a21\u5f0f\uff0c\u5e76\u4ee5\u67d0\u79cd\u65b9\u5f0f\u4f7f\u5176\u53d8\u5f97\u5b8c\u5168\u4e0d\u540c\u3002\u4e0e Go C \u8bed\u8a00\u76f8\u6bd4\uff0c\u58f0\u660e\u7684\u987a\u5e8f\u662f\u5012\u8fc7\u6765\u7684\u3002\u5728 C \u8bed\u8a00\u4e2d\uff0c\u53d8\u91cf\u7684\u6982\u5ff5\u88ab\u5f53\u4f5c\u8868\u8fbe\u5f0f\u6765\u58f0\u660e\uff0c\u8868\u793a\u5176\u7c7b\u578b\uff0c\u5c31\u50cf Primary \u8bed\u8a00\u90a3\u6837\uff0c\u8fd9\u5bf9\u6211\u6765\u8bf4\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u60f3\u6cd5\u3002<\/p>\n<p>Go\u4e2d\uff1aa\u3001b *int;<\/p>\n<p>\u6211\u53d1\u73b0 Go \u662f\u4e00\u79cd\u66f4\u63a5\u8fd1\u4eba\u7c7b\u7eaf\u6587\u672c\u7684\u8bed\u8a00\uff0c\u4f8b\u5982\u8fd9\u4e2a\u8bed\u53e5\uff1a\u201c\u53d8\u91cf a \u662f\u6574\u6570\u201d\u53ef\u4ee5\u88ab\u8bc1\u660e\u4e3a\uff1a<\/p>\n<p>\u53d8\u91cf a \u662f int \u7c7b\u578b\u3002<\/p>\n<p>\u8fd9\u66f4\u6e05\u6670\u3001\u66f4\u806a\u660e\uff0c\u800c\u4e14\u66f4\u5e38\u89c1\u3002<\/p>\n<p>Go \u8fd8\u652f\u6301\u591a\u4e2a\u4efb\u52a1\uff0c\u8fd9\u4e9b\u4efb\u52a1\u53ef\u4ee5\u5e76\u884c\u6267\u884c\u3002<\/p>\n<p>i, j = j, i \/\/ \u4ea4\u6362 i \u548c j\u3002<\/p>\n<p>Go \u4e2d\u7684\u7ba1\u7406\u8bed\u53e5\u4e0d\u5c40\u9650\u4e8e\u62ec\u53f7\u3002\u800c\u6700\u5e38\u89c1\u7684\u7ba1\u7406\u8bed\u53e5\uff08if\uff09\u5219\u4f1a\u5728 Go C \u4e2d\u91c7\u7528\u201cif(self){\u201d \u7684\u5f62\u5f0f\uff0c\u800c\u5728\u8bb8\u591a\u5176\u4ed6OO\u8bed\u8a00\u4e2d\u5219\u91c7\u7528\u201cif(self){\u201d\u3002\u4f46\u5728 Go \u4e2d\uff0c\u5b83\u5c06\u91c7\u7528\u53e6\u4e00\u79cd\u5f62\u5f0f\uff1a<\/p>\n<p>\u5982\u679c self \u662f<\/p>\n<p>Go \u7684\u53e6\u4e00\u4e2a\u7279\u70b9\u662f\uff0c\u4f7f\u7528\u5206\u53f7\u901a\u5e38\u662f\u4e0d\u5408\u9002\u7684\u3002\u4e0d\u8fc7\uff0c\u60a8\u53ef\u4ee5\u914c\u60c5\u5728 Go \u7684\u4efb\u4f55\u8bed\u53e5\u4e2d\u4f7f\u7528\u5206\u53f7\u7ed3\u5c3e\u3002\u5b9e\u9645\u4e0a\uff0c\u5206\u53f7\u7528\u4e8e\u89e3\u6790\u5668\uff0c\u800c Google \u5e0c\u671b\u5c3d\u53ef\u80fd\u6d88\u9664\u5b83\u4eec\u3002\u4e8b\u5b9e\u4e0a\uff0c\u6ca1\u6709\u4efb\u4f55\u8bed\u53e5\u9700\u8981\u4f7f\u7528\u5206\u53f7\uff0c\u6211\u89c9\u5f97\u8fd9\u6837\u6bd4\u8f83\u65b9\u4fbf\u3002<\/p>\n<p>Go \u662f\u50cf C \u4e00\u6837\u7f16\u8bd1\u8bed\u8a00\u3002\u76ee\u524d\u6709\u4e24\u79cd Go \u7f16\u8bd1\u5668\u53ef\u4f9b\u4f7f\u7528\uff0c\u4e00\u79cd\u9488\u5bf9 x86 \u5e73\u53f0\uff0c\u53e6\u4e00\u79cd\u9488\u5bf9 AMD\u3002Go \u7684\u7f16\u8bd1\u901f\u5ea6\u975e\u5e38\u5feb\u3002\u6211\u7b2c\u4e00\u6b21\u5c1d\u8bd5\u5b83\uff08\u6ca1\u6709\u6307\u5b9a\u6216\u6b63\u786e\u7684\u6570\u636e\u91cf\uff09\uff0c\u5b83\u5b9e\u5728\u662f\u592a\u5feb\u4e86\uff01\u6211\u5bf9\u7f16\u7a0b\u8bed\u8a00\u7684\u7ecf\u9a8c\u6709\u9650\uff0c\u800c\u4e14\u4e3b\u8981\u4fa7\u91cd\u4e8e\u9762\u5411\u5bf9\u8c61\u8bed\u8a00\uff08\u5982 Java\uff09\uff0c\u6240\u4ee5\u6211\u4ece\u672a\u89c1\u8fc7\u5982\u6b64\u5feb\u7684\u901f\u5ea6\uff01Go \u7684\u4e00\u4e2a\u4e3b\u8981\u627f\u8bfa\u76ee\u6807\u662f\u80fd\u591f\u975e\u5e38\u5feb\u901f\u5730\u7f16\u8bd1\u7a0b\u5e8f\u3002\u6839\u636e\u5b98\u65b9 Go \u6f14\u793a\u6587\u7a3f\u7684\u8bf4\u6cd5\uff0c <a target=\"_new\" rel=\"nofollow noopener\" href=\"http:\/\/www.youtube.com\/watch?v=rKnDgT73v8s\">\u89c6\u9891<\/a>, Go \u7684\u6548\u7387\u5728 10%-20% \u5de6\u53f3\uff0c\u4f46\u6211\u8ba4\u4e3a\u9664\u975e\u5728\u4e0d\u4e45\u7684\u5c06\u6765\u80fd\u83b7\u5f97\u4e00\u4e9b\u6548\u7387\u57fa\u51c6\uff0c\u5426\u5219\u8fd9\u5e76\u4e0d\u503c\u5f97\u4fe1\u8d56\u3002<\/p>\n<p><strong>\u4e09.\u4e09.\u4f8b\u5916\u4e0e\u6cdb\u578b<\/strong><\/p>\n<p>\u76ee\u6807 C \u53ea\u6709\u5728\u7a0b\u5e8f\u5458\u51b3\u5b9a\u5728\u5176\u81ea\u5b9a\u4e49\u7684\u6570\u7ec4\u7c7b\u4e2d\u4f7f\u7528 C++ \u6a21\u677f\u7684\u60c5\u51b5\u4e0b\uff0c\u624d\u5177\u5907\u901a\u7528\u6392\u5e8f\u529f\u80fd\u3002\u76ee\u6807 C \u4f7f\u7528\u52a8\u6001\u7c7b\u578b\uff0c\u8fd9\u610f\u5473\u7740\u8fd0\u884c\u65f6\u4e0d\u4f1a\u5173\u5fc3\u5bf9\u8c61\u7684\u7c7b\u578b\uff0c\u56e0\u4e3a\u6240\u6709\u5bf9\u8c61\u90fd\u53ef\u4ee5\u63a5\u6536\u6d88\u606f\u3002\u5f53\u7a0b\u5e8f\u5458\u5c06\u5bf9\u8c61\u8d4b\u7ed9\u5185\u7f6e\u6570\u7ec4\u65f6\uff0c\u5b83\u4eec\u5c31\u88ab\u7b80\u5355\u5730\u5904\u7406\u4e3a\u5177\u6709\u76f8\u540c\u7c7b\u578b\u7684\u6570\u636e\u3002\u4e0e C++ \u4e00\u6837\uff0c\u76ee\u6807 C \u8bed\u8a00\u4e5f\u6709\u5f02\u5e38\u5904\u7406\u8bed\u6cd5\u3002<\/p>\n<p>Go \u7684\u7b80\u6d01\u7cfb\u7edf\u4e0d\u652f\u6301\u901a\u7528\u7c7b\u578b\u3002\u81f3\u5c11\u76ee\u524d\u4e3a\u6b62\uff0c\u5b83\u4eec\u5e76\u4e0d\u8ba4\u4e3a\u8fd9\u4e9b\u7c7b\u578b\u662f\u5f3a\u5236\u6027\u7684\u3002\u901a\u7528\u7c7b\u578b\u786e\u5b9e\u65b9\u4fbf\uff0c\u4f46\u5b83\u4eec\u5728\u7c7b\u578b\u7cfb\u7edf\u548c\u8fd0\u884c\u65f6\u4f1a\u4ea7\u751f\u9ad8\u6602\u7684\u5f00\u9500\uff0c\u800c Go \u53ef\u4e0d\u63a5\u53d7\u8fd9\u79cd\u505a\u6cd5\uff01\u4e0e\u901a\u7528\u7c7b\u578b\u4e00\u6837\uff0c\u5f02\u5e38\u4e5f\u662f\u4e00\u4e2a\u5f00\u653e\u7684\u95ee\u9898\u3002Go \u7684\u5f02\u5e38\u5904\u7406\u65b9\u5f0f\u867d\u7136\u9769\u547d\u6027\u548c\u5b9e\u7528\u6027\u90fd\u5f88\u5f3a\uff0c\u4f46\u5bf9\u8bb8\u591a\u7a0b\u5e8f\u5458\u6765\u8bf4\u5374\u51e0\u4e4e\u662f\u96be\u4ee5\u63a5\u53d7\u7684\u3002\u8c37\u6b4c\u7684\u4ee3\u7801\u5e93\u5e76\u4e0d\u652f\u6301\u5f02\u5e38\uff0c\u56e0\u6b64\u5f02\u5e38\u4e5f\u662f\u4e00\u4e2a\u7c7b\u4f3c\u7684\u6545\u4e8b\uff0c\u800c\u4e14\u4ece\u8bed\u8a00\u672c\u8eab\u6765\u770b\uff0c\u5b83\u4eec\u4e00\u76f4\u88ab\u5ffd\u89c6\u4e86\u3002\u76f8\u53cd\uff0c\u7a0b\u5e8f\u5458\u73b0\u5728\u53ef\u4ee5\u4f7f\u7528\u540d\u79f0\u4e2d\u7684\u591a\u4e2a\u8fd4\u56de\u503c\u6765\u5904\u7406\u9519\u8bef\u3002\u7531\u4e8e Go \u662f\u5783\u573e\u56de\u6536\u7684\uff0c\u56e0\u6b64\u4e0e C++ \u76f8\u6bd4\uff0c\u4e0d\u5b58\u5728\u5f02\u5e38\u7684\u9ebb\u70e6\uff0c\u4f46\u4ecd\u7136\u5b58\u5728\u4e00\u4e9b\u9700\u8981\u6e05\u7406\u7684\u6587\u4ef6\u5904\u7406\u6216\u5916\u90e8\u8d44\u6e90\u7684\u5904\u7406\u7b49\u60c5\u51b5\u3002\u8bb8\u591a\u7a0b\u5e8f\u5458\u8ba4\u4e3a\uff0c\u5728\u73b0\u4ee3\u7f16\u7a0b\u8bed\u8a00\u4e2d\uff0c\u5f02\u5e38\u662f\u5b8c\u5168\u5f3a\u5236\u6027\u7684\u3002\u4e0d\u8fc7\uff0c\u6211\u8fd8\u662f\u559c\u6b22\u8fd9\u79cd\u6ca1\u6709\u4f8b\u5916\u7684\u60c5\u51b5\uff0c\u56e0\u4e3a\u6211\u89c9\u5f97\u5728\u5927\u591a\u6570\u8bed\u8a00\u4e2d\u5904\u7406\u5f02\u5e38\u7684\u5904\u7406\u65b9\u5f0f\u90fd\u5f88\u7cdf\u7cd5\u3002\u6bd4\u5982\u5728 Go \u8fd9\u6837\u7684\u8bed\u8a00\u4e2d\uff0c\u5982\u679c\u51fd\u6570\u53ef\u4ee5\u8fd4\u56de\u591a\u4e2a\u503c\uff0c\u7a0b\u5e8f\u5458\u5c31\u53ef\u4ee5\u50cf\u8fd4\u56de\u7ed3\u679c\u548c\u72b6\u6001\u4ee3\u7801\u4e00\u6837\uff0c\u5904\u7406\u9519\u8bef\uff0c\u5e76\u901a\u8fc7\u72b6\u6001\u4ee3\u7801\u6765\u5904\u7406\u9519\u8bef\u3002<\/p>\n<p><strong>\u7b2c\u4e09\u3001\u7b2c\u56db\u7c7b\uff1a\u6709\u76ca\u7684\u7a0b\u5e8f<\/strong><\/p>\n<p>\u4e0e\u57fa\u4e8e C \u7684\u5176\u4ed6\u9762\u5411\u5bf9\u8c61\u8bed\u8a00\u76f8\u6bd4\uff0cGoal C \u5177\u6709\u66f4\u9ad8\u7684\u52a8\u6001\u6027\u3002\u5982\u4eca\uff0c\u7a0b\u5e8f\u5458\u503e\u5411\u4e8e\u9009\u62e9\u76ee\u6807 C \u7b49\u52a8\u6001\u7c7b\u578b\u8bed\u8a00\u3002\u7f3a\u70b9\u5728\u4e8e\u7f16\u8bd1\u65f6\u7684\u6570\u636e\u91cf\u8f83\u5c11\u3002\u8fd9\u79cd\u52a8\u6001\u6027\u610f\u5473\u7740\u6211\u4eec\u53ef\u4ee5\u5411\u672a\u5728\u63a5\u53e3\u4e2d\u5b9a\u4e49\u7684\u5bf9\u8c61\u53d1\u9001\u6d88\u606f\u3002\u7f16\u8bd1\u5668\u4f1a\u5728\u8fd0\u884c\u65f6\u4f7f\u7528\u5bf9\u8c61\u81ea\u8eab\u7684\u8be6\u7ec6\u4fe1\u606f\u8fdb\u884c\u5904\u7406\u3002\u5728\u7f16\u8bd1\u65f6\u53ef\u80fd\u9700\u8981\u505a\u51fa\u7684\u9009\u62e9\uff0c\u4f1a\u5728\u8fd0\u884c\u65f6\u8fdb\u884c\u5ef6\u8fdf\u3002\u8fd9\u4f7f\u5f97 Goal C \u5e94\u7528\u5177\u6709\u66f4\u9ad8\u7684\u7075\u6d3b\u6027\u548c\u6027\u80fd\u3002<\/p>\n<p>\u52a8\u6001\u7c7b\u578b\u8bed\u8a00\u5b58\u5728\u4e00\u4e2a\u6f5c\u5728\u7684\u7f3a\u70b9\uff1a\u8fd0\u884c\u65f6\u4f1a\u51fa\u73b0\u65e0\u7a77\u65e0\u5c3d\u7684\u9519\u8bef\uff0c\u8fd9\u53ef\u80fd\u4f1a\u8ba9\u4eba\u611f\u5230\u4e0d\u8212\u670d\u4e14\u590d\u6742\u3002\u7136\u800c\uff0cGoal-C\u5141\u8bb8\u7a0b\u5e8f\u5458\u5728\u8fd0\u884c\u65f6\u9009\u62e9\u6307\u5b9a\u5bf9\u8c61\u7c7b\u522b\uff0c\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\u7f16\u8bd1\u5668\u4f1a\u91c7\u7528\u5f3a\u7c7b\u578b\u65b9\u6cd5\u3002Goal-C\u4f1a\u5728\u8fd0\u884c\u65f6\u505a\u51fa\u5f88\u591a\u9009\u62e9\u3002\u5bf9\u4e8e\u8bf8\u5982\u96c6\u5408\u7c7b\u7684\u5e94\u7528\u800c\u8a00\uff0c\u5f31\u7c7b\u578b\u6307\u9488\u7684\u4f7f\u7528\u66f4\u4e3a\u5e38\u89c1\uff0c\u56e0\u4e3a\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\u7fa4\u4f53\u7684\u5bf9\u8c61\u7684\u786e\u5207\u7c7b\u578b\u5c1a\u4e0d\u6e05\u695a\u3002\u5bf9\u4e8e\u4e60\u60ef\u4e8e\u5f3a\u7c7b\u578b\u8bed\u8a00\u7684\u7a0b\u5e8f\u5458\u6765\u8bf4\uff0c\u4f7f\u7528\u5f31\u7c7b\u578b\u4f1a\u5bfc\u81f4\u95ee\u9898\uff0c\u56e0\u6b64\u6709\u4e9b\u4eba\u53ef\u80fd\u4f1a\u653e\u5f03\u5176\u7075\u6d3b\u6027\u548c\u52a8\u6001\u6027\u3002\u4e0e\u6b64\u540c\u65f6\uff0c\u7531\u4e8eGoal-C\u7684\u52a8\u6001\u8c03\u5ea6\u4f7f\u5176\u8fd0\u884c\u901f\u5ea6\u6bd4\u9759\u6001\u8bed\u8a00\u6162\u5f97\u591a\uff0c\u8bb8\u591a\u5f00\u53d1\u4eba\u5458\u8ba4\u4e3a\u8fd9\u79cd\u989d\u5916\u7684\u7075\u6d3b\u6027\u786e\u5b9e\u662f\u503c\u5f97\u7684\uff0c\u800c\u4e14\u4ed6\u4eec\u8ba4\u4e3a\u5927\u591a\u6570\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\u5f88\u5c11\u4f1a\u4f7f\u7528\u8d85\u8fc7\u73b0\u4ee3 CPU 10% \u7684\u8d44\u6e90\u3002\u6211\u4e0d\u8ba4\u540c\u4e0a\u8ff0\u5173\u4e8e\u6211\u4eec\u4ec5\u4f7f\u7528 10% CPU \u7684\u8bf4\u6cd5\u3002\u6240\u4ee5\uff1f\uff01\u8fd9\u4e0d\u662f\u4ef6\u597d\u4e8b\uff0c\u56e0\u4e3a\u65e8\u5728\u63d0\u9ad8\u6548\u7387\u548c\u6027\u80fd\u7684\u7b80\u7ea6\u4e3b\u4e49\u65b9\u6cd5\u6b63\u88ab\u90a3\u4e9b\u8fc7\u5ea6\u4f9d\u8d56 CPU \u80fd\u529b\u7684\u6d6a\u8d39\u5e94\u7528\u6240\u53d6\u4ee3\uff0c\u800c\u6211\u4e2a\u4eba\u66f4\u503e\u5411\u4e8e\u4f7f\u7528\u66f4\u9759\u6001\u7684\u68c0\u67e5\u65b9\u5f0f\u3002<\/p>\n<p>Go \u8fdb\u4e00\u6b65\u5c1d\u8bd5\u5e94\u5bf9\u8fd9\u79cd\u65e5\u76ca\u589e\u957f\u7684\u52a8\u6001\u7c7b\u578b\u8bed\u8a00\u8d8b\u52bf\uff0c\u5e76\u63d0\u4f9b\u4e86\u4e00\u79cd\u9769\u547d\u6027\u7684\u7c7b\u578b\u7cfb\u7edf\u3002\u6700\u7ec8\uff0cGo \u4e3a\u7a0b\u5e8f\u5458\u63d0\u4f9b\u4e86\u4e0e Python \u98ce\u683c\u7c7b\u4f3c\u7684\u9e2d\u5f0f\u7c7b\u578b\u7cfb\u7edf\u3002Go \u7684\u7c7b\u578b\u7cfb\u7edf\u786e\u5b9e\u975e\u5e38\u72ec\u7279\uff1a\u5b83\u4e0d\u5305\u542b\u7ee7\u627f\uff0c\u4e5f\u4e0d\u9700\u8981\u4e3a\u7c7b\u578b\u4e4b\u95f4\u7684\u5173\u7cfb\u8fdb\u884c\u5b9a\u4e49\u3002\u76f8\u53cd\uff0c\u7a0b\u5e8f\u5458\u53ef\u4ee5\u5b9a\u4e49\u7ed3\u6784\u7c7b\u578b\uff0c\u7136\u540e\u4e3a\u5904\u7406\u8fd9\u4e9b\u7c7b\u578b\u521b\u5efa\u7b56\u7565\u3002\u4e0e Go C \u7c7b\u4f3c\uff0c\u7a0b\u5e8f\u5458\u8fd8\u53ef\u4ee5\u5b9a\u4e49\u63a5\u53e3\u3002Go \u662f\u4e25\u683c\u7c7b\u578b\u7684\uff0c\u4f46\u597d\u7684\u4e00\u70b9\u5728\u4e8e\uff0c\u5b83\u5e76\u4e0d\u90a3\u4e48\u4e25\u683c\uff01\u7a0b\u5e8f\u5458\u65e0\u9700\u660e\u786e\u58f0\u660e\u53d8\u91cf\u7684\u7c7b\u578b\u3002\u76f8\u53cd\uff0cGo \u5728\u9996\u6b21\u5c06\u503c\u8d4b\u7ed9\u53d8\u91cf\u65f6\uff0c\u4f1a\u81ea\u52a8\u5c06\u7c7b\u578b\u8d4b\u7ed9\u672a\u7c7b\u578b\u5316\u7684\u53d8\u91cf\u3002\u6b64\u5916\uff0c\u5728\u5e95\u5c42\u8fd8\u5b58\u5728\u52a8\u6001\u7c7b\u578b\u6570\u636e\uff0c\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u5229\u7528\u8fd9\u4e9b\u6570\u636e\u6267\u884c\u4e00\u4e9b\u6709\u8da3\u7684\u64cd\u4f5c\u3002<\/p>\n<p><strong>\u4e09.5. \u5783\u573e\u79cd\u7c7b\u7e41\u591a<\/strong><\/p>\n<p>\u5982\u4eca\uff0c\u62e5\u6709\u5783\u573e\u6536\u96c6\u7cfb\u7edf\u662f\u4fdd\u62a4\u6240\u6709\u4e1c\u897f\u4fdd\u6301\u6574\u6d01\u548c\u9ad8\u6548\u7684\u5fc5\u5907\u6761\u4ef6\u4e4b\u4e00\u3002\u4e3a\u6b64\uff0c\u6211\u4eec\u63a8\u51fa\u4e86\u76ee\u6807 C 2.0 \u7248\u672c\u3002\u5bf9\u4e8e\u90a3\u4e9b\u975e\u5e38\u719f\u6089 Java \u7684 iPhone \u548c Mac \u5f00\u53d1\u8005\u6765\u8bf4\uff0c\u8fd9\u662f\u4e00\u4e2a\u975e\u5e38\u597d\u7684\u6d88\u606f\u3002\u76ee\u6807 C 2.0 \u5783\u573e\u6536\u96c6\u7cfb\u7edf\u786e\u5b9e\u7b80\u5316\u4e86\u5de5\u4f5c\u6d41\u7a0b\uff0c\u4f46\u4ecd\u8981\u6c42\u7a0b\u5e8f\u5458\u5728\u5904\u7406\u5185\u5b58\u7ba1\u7406\u65f6\u8981\u683c\u5916\u5c0f\u5fc3\u3002\u76ee\u6807 C 2.0 \u5783\u573e\u6536\u96c6\u7cfb\u7edf\u662f\u4e00\u79cd\u4fdd\u5b88\u7684\u5783\u573e\u6536\u96c6\u7cfb\u7edf\uff0c\u8fd9\u610f\u5473\u7740\u4e0d\u4ec5 C \u8bed\u8a00\u7684\u5f3a\u5927\u529f\u80fd\u53ef\u4ee5\u88ab\u5f00\u53d1\u4eba\u5458\u5b8c\u5168\u5229\u7528\uff0c\u800c\u4e14 C++ \u4ee3\u7801\u548c\u5e93\u7684\u96c6\u6210\u80fd\u529b\u4e5f\u5f97\u4ee5\u4fdd\u7559\u3002\u7a0b\u5e8f\u5458\u53ef\u4ee5\u4f7f\u7528\u76ee\u6807 C \u6765\u6784\u5efa\u7edd\u5927\u591a\u6570\u5b9e\u7528\u7a0b\u5e8f\uff0c\u4ece\u800c\u8ba9\u5783\u573e\u6536\u96c6\u7cfb\u7edf\u80fd\u591f\u5904\u7406\u5185\u5b58\u548c\u6240\u9700\u4f4d\u7f6e\u7684\u4e8b\u52a1\uff0c\u8fd9\u6837\u6211\u4eec\u5c31\u53ef\u4ee5\u5145\u5206\u5229\u7528 C \u548c C++ \u7684\u5f3a\u5927\u529f\u80fd\u3002<\/p>\n<p>\u5728 Go \u4e2d\uff0c\u4f5c\u4e3a\u5e76\u53d1\u548c\u591a\u7ebf\u7a0b\u7f16\u7a0b\uff0c\u5185\u5b58\u7ba1\u7406\u53ef\u80fd\u975e\u5e38\u56f0\u96be\uff0c\u56e0\u4e3a\u5bf9\u8c61\u53ef\u4ee5\u8de8\u7ebf\u7a0b\u79fb\u52a8\uff0c\u800c\u4e14\u4e00\u65e6\u6211\u4eec\u9700\u8981\u6d88\u9664\u5b83\u4eec\uff0c\u5c31\u53d8\u5f97\u975e\u5e38\u56f0\u96be\u5730\u786e\u4fdd\u5b83\u4eec\u80fd\u591f\u5b89\u5168\u5730\u91ca\u653e\u3002\u81ea\u52a8\u5783\u573e\u6536\u96c6\u53ef\u4ee5\u7f13\u89e3\u5e76\u53d1\u7f16\u7a0b\u7684\u96be\u5ea6\u3002\u5bf9\u4e8e\u50cf\u6211\u8fd9\u6837\u5df2\u7ecf\u4e60\u60ef\u4e8e\u9ad8\u7ea7\u5b89\u5168\u5783\u573e\u6536\u96c6\u8bed\u8a00\u591a\u5e74\u7684\u4e2a\u4eba\u6765\u8bf4\uff0c\u8fd9\u53ea\u662f\u4e4f\u5473\u7684\u6559\u7a0b\u3002\u4f46\u5728\u4f4e\u7ea7\u7a0b\u5e8f\u7f16\u7a0b\u8bed\u8a00\u7684\u4e16\u754c\u4e2d\uff0c\u8fd9\u79cd\u6539\u53d8\u5374\u662f\u9769\u547d\u6027\u7684\uff0c\u5c24\u5176\u662f\u5728\u80fd\u591f\u5b9e\u73b0\u6307\u5b9a\u6027\u80fd\u7684\u60c5\u51b5\u4e0b\u3002 Go \u7684\u91cd\u70b9\u5728\u4e8e\u901f\u5ea6\uff0c\u800c\u5783\u573e\u6536\u96c6\u4fbf\u662f\u5b9e\u73b0\u8fd9\u4e00\u6027\u80fd\u7684\u6210\u672c\u3002\u7136\u800c\uff0c\u5783\u573e\u6536\u96c6\u6280\u672f\u7684\u8fdb\u6b65\u4f7f\u5f97\u5b83\u80fd\u591f\u5b9e\u73b0\u65e0\u663e\u8457\u5ef6\u8fdf\uff0c\u5e76\u4f7f Google \u5c06\u5176\u96c6\u6210\u5230 Go \u4e2d\u6210\u4e3a\u53ef\u80fd\u3002<\/p>\n<p><strong>\u56db. \u672a\u6765\u4e0e\u7ed3\u8bba<\/strong><\/p>\n<p>\u8fd9\u4e24\u95e8\u8bed\u8a00\u7684\u666e\u53ca\u4e4b\u6240\u4ee5\u4f1a\u4e0d\u65ad\u6269\u5927\uff0c\u4e00\u5b9a\u662f\u6709\u5176\u539f\u56e0\u7684\u3002\u6216\u8bb8\u5176\u80cc\u540e\u903b\u8f91\u662f\uff1a\u968f\u7740\u5fae\u8f6f\u7684\u5730\u4f4d\u9010\u6e10\u4e0b\u6ed1\uff0c\u82f9\u679c\u548c\u8c37\u6b4c\u6b63\u5728\u8fc5\u901f\u51ed\u501f\u5404\u81ea\u72ec\u7279\u7684\u751f\u6001\u7cfb\u7edf\u4e89\u593a\u5e02\u573a\u4efd\u989d\u3002Go \u662f Google \u63a8\u51fa\u7684\u8bed\u8a00\uff0c\u56e0\u6b64\u5728\u8ba4\u77e5\u5ea6\u3001\u58f0\u8a89\u548c\u6280\u672f\u4fdd\u62a4\u65b9\u9762\u62e5\u6709\u660e\u663e\u7684\u4f18\u52bf\uff1b\u800c Goal C \u5219\u7531 Steve Job \u7684\u5e1d\u56fd\u6240\u652f\u6491\u3002<\/p>\n<p>Goal C \u62e5\u6709 Mac OS \u81ea\u5e26\u7684 Cocoa \u5e93\u7684\u4f18\u52bf\u3002Mac OS X \u548c iPhone \u662f\u8be5\u8bed\u8a00\u6700\u91cd\u8981\u7684\u5b9e\u73b0\u8005\uff0c\u5b83\u4eec\u4e4b\u95f4\u7684\u5dee\u8ddd\u975e\u5e38\u660e\u663e\u3002\u4e0d\u4e45\u524d\uff0ciPhone \u4e0a\u7684\u51fd\u6570\u5e93\u6a21\u5f0f\u975e\u5e38\u5e9e\u5927\uff0c\u800c\u4e14\u901a\u8fc7\u7b80\u5355\u7684\u7f16\u7a0b\u9879\u76ee\u5c31\u80fd\u8f7b\u677e\u8d5a\u94b1\u7684\u6f5c\u529b\u4e5f\u76f8\u5f53\u9ad8\u3002\u6211\u8ba4\u4e3a\uff0c\u8fd9\u79cd\u975e\u5e38\u57fa\u672c\u7684\u4eba\u7c7b\u73b0\u5b9e\u5c06\u6781\u5927\u5730\u63a8\u52a8 Goal C \u7684\u672a\u6765\u53d1\u5c55\u3002\u56e0\u4e3a\u8d8a\u591a\u5f00\u53d1\u8005\u4f7f\u7528\u8be5\u8bed\u8a00\u5e76\u5728\u591a\u79cd\u6761\u4ef6\u4e0b\u8fdb\u884c\u6d4b\u8bd5\uff0c\u8be5\u8bed\u8a00\u7684\u8d28\u91cf\u548c\u529f\u80fd\u5c31\u8d8a\u4f18\u79c0\uff0c\u8d8a\u5f3a\u5927\u3002<\/p>\n<p>Go \u786e\u5b9e\u662f\u4e00\u4e2a\u5f15\u4eba\u6ce8\u76ee\u7684\u8bed\u8a00\u3002\u51ed\u501f\u8c37\u6b4c\u7684\u652f\u6301\u548c\u8d44\u6e90\uff0c\u7a0b\u5e8f\u5458\u4eec\u53ef\u4ee5\u653e\u5fc3\uff0c\u5373\u4f7fGo\u6ca1\u6709\u90a3\u4e48\u5149\u9c9c\u4eae\u4e3d\uff0c\u5b83\u4e5f\u4f1a\u62e5\u6709\u67d0\u79cd\u672a\u6765\u2014\u2014\u81f3\u5c11\u4e0d\u4f1a\u592a\u7cdf\u7cd5\uff01\u6211\u89c9\u5f97Go\u786e\u5b9e\u6709\u6f5c\u529b\uff0c\u4f46\u53ef\u80fd\u8fd8\u9700\u8981\u4e00\u6bb5\u65f6\u95f4\u2014\u2014\u800c\u4e0d\u662f\u5f88\u77ed\u7684\u65f6\u95f4\u2014\u2014\u624d\u80fd\u5438\u5f15\u5f00\u53d1\u8005\u653e\u5f03\u73b0\u6709\u7684\u5e73\u53f0\uff0c\u9009\u62e9Go\u3002\u5c3d\u7ba1Go\u8fd8\u662f\u4e2a\u5c0f\u578b\u8bed\u8a00\uff0c\u4f46\u5b83\u4ecd\u5904\u4e8e\u5b9e\u9a8c\u9636\u6bb5\uff0c\u4e0d\u9002\u5408\u7528\u4e8e\u751f\u4ea7\u73af\u5883\u3002\u76ee\u524d\u8fd8\u6ca1\u6709\u96c6\u6210IDE\uff0c\u800c\u4e14\u4ee3\u7801\u793a\u4f8b\u4e5f\u5f88\u5c11\u3002Go\u8fd8\u4e0d\u591f\u5b8c\u6574\uff0c\u4ed6\u4eec\u53ea\u53d1\u5e03\u4e86\u4ed6\u4eec\u6240\u638c\u63e1\u7684\u5185\u5bb9\uff0c\u5e76\u9f13\u52b1\u5f00\u53d1\u8005\u8d21\u732e\u3002\u4f5c\u4e3a\u7531\u8c37\u6b4c\u652f\u6301\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u6211\u89c9\u5f97Go\u5f88\u5feb\u5c31\u4f1a\u5f00\u53d1\u51faIDE\u548c\u751f\u6001\u7cfb\u7edf\uff0c\u56e0\u4e3a\u6b63\u5982\u4e4b\u524d\u5728TIOBE\u6307\u6570\u4e0a\u63d0\u5230\u7684\u90a3\u6837\uff0c\u5b83\u4f3c\u4e4e\u5df2\u7ecf\u83b7\u5f97\u4e86\u975e\u5e38\u597d\u7684\u8bc4\u4ef7\u3002\u4f46\u5f88\u96be\u9884\u6d4b\u751f\u6001\u7cfb\u7edf\u7684\u89c4\u6a21\u4f1a\u662f\u591a\u5c11\u3002\u5982\u679cGo\u80fd\u591f\u5efa\u7acb\u8d77\u4e00\u4e2a\u751f\u6001\u7cfb\u7edf\uff0c\u4e8b\u60c5\u5c31\u4f1a\u53d8\u5f97\u975e\u5e38\u987a\u5229\u3002\u6211\u89c9\u5f97\u5e94\u8be5\u4ee5\u540e\u4e3a Windows \u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u652f\u6301\uff0c\u5e76\u5c06\u5176\u4e0e Eclipse IDE \u96c6\u6210\uff0c\u4ee5\u4fbf\u8fdb\u4e00\u6b65\u63d0\u5347\u5176\u5728\u7a0b\u5e8f\u5458\u4e2d\u7684\u666e\u53ca\u5ea6\u3002<\/p>\n<p>Apple \u548c Goal C \u5f3a\u8c03\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\uff0c\u800c\u8be5\u8bed\u8a00\u7684\u6574\u4e2a\u6587\u6863\u90fd\u662f\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u7684\u3002\u56e0\u6b64\uff0c\u4ece\u8fd9\u4e2a\u610f\u4e49\u4e0a\u8bb2\uff0cGoal C \u548c Go \u6709\u5f88\u5927\u7684\u533a\u522b\u3002\u7136\u800c\uff0c\u4e0e\u5176\u4ed6\u4e00\u4e9b\u4eba\u7c7b\u8bed\u8a00\u6216\u673a\u5668\u8bed\u8a00\u4e00\u6837\uff0cGoal C \u548c Go \u786e\u5b9e\u5177\u6709\u4e00\u5b9a\u7684\u76f8\u4f3c\u4e4b\u5904\uff0c\u6211\u8bd5\u56fe\u6839\u636e\u4e00\u5b9a\u7684\u6807\u51c6\u5bf9\u4e24\u8005\u8fdb\u884c\u6bd4\u8f83\u3002\u4e0d\u8fc7\uff0c\u8981\u771f\u6b63\u5c06\u8fd9\u4e24\u8005\u8fdb\u884c\u6bd4\u8f83\uff0c\u9700\u8981\u82b1\u8d39\u5f88\u957f\u7684\u65f6\u95f4\u3002 Go \u66f4\u5e74\u8f7b\uff0c\u5145\u6ee1\u4e0d\u786e\u5b9a\u6027\u3002\u8fd9\u4f7f\u5f97\u8fd9\u4e24\u8005\u4e4b\u95f4\u7684\u6bd4\u8f83\u53d8\u5f97\u6709\u4e9b\u56f0\u96be\uff0c\u6216\u8005\u6b63\u5982\u6211\u7684\u7a0b\u5e8f\u5458\u670b\u53cb\u6240\u8bf4\uff1a\u201c\u96be\u4ee5\u60f3\u8c61\u201d\u3002 Go \u9700\u8981\u5f97\u5230\u72ec\u7acb\u8bc4\u5ba1\u5458\u7684\u6b63\u786e\u5206\u6790\uff0c\u624d\u80fd\u53d8\u5f97\u66f4\u5177\u53ef\u6bd4\u6027\uff0c\u4f46\u6211\u76f8\u4fe1\u6211\u4eec\u4e0d\u4e45\u5c31\u4f1a\u66f4\u591a\u5730\u4e86\u89e3\u8fd9\u4e24\u8005\u3002<\/p>\n<div class=\"source\"><a href=\"http:\/\/ezinearticles.com\/?Google-Go-Vs-Objective-C&#038;id=5718235\">\u6765\u6e90<\/a> \u7531 <a href=\"http:\/\/ezinearticles.com\/expert\/Esfandiar_Amirrahimi\/877367\">\u57c3\u65af\u51e1\u8fea\u4e9a\u5c14\u00b7\u963f\u7c73\u5c14\u54c8\u7c73\u91cc<\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>1. Introduction &#8220;The importance of language for the evolution of tradition lies on this, that mankind arrange in language a separate world beside the opposite world, a spot it took to be so firmly set that, standing upon it, it might raise the remainder of the world off its hinges and make itself grasp of [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"categories":[18],"tags":[598],"builders":[],"industry":[],"platform":[],"class_list":["post-7025","post","type-post","status-publish","format-standard","hentry","category-drupal","tag-drupal"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Google Go Vs Objective C - WordHerd WordPress Migration<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wordherd.io\/zh\/\u535a\u5ba2\/\u8c37\u6b4cgo-vs-objective-c\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Google Go Vs Objective C - WordHerd WordPress Migration\" \/>\n<meta property=\"og:description\" content=\"1. Introduction &#8220;The importance of language for the evolution of tradition lies on this, that mankind arrange in language a separate world beside the opposite world, a spot it took to be so firmly set that, standing upon it, it might raise the remainder of the world off its hinges and make itself grasp of [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wordherd.io\/zh\/\u535a\u5ba2\/\u8c37\u6b4cgo-vs-objective-c\/\" \/>\n<meta property=\"og:site_name\" content=\"WordHerd WordPress Migration\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/wordherdio\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-01-16T00:09:00+00:00\" \/>\n<meta name=\"author\" content=\"WordHerd\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@wordherdio\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"WordHerd\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"17 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/wordherd.io\\\/blog\\\/google-go-vs-objective-c\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wordherd.io\\\/blog\\\/google-go-vs-objective-c\\\/\"},\"author\":{\"name\":\"WordHerd\",\"@id\":\"https:\\\/\\\/wordherd.io\\\/#\\\/schema\\\/person\\\/373419b97c0fbc45a3a16462bdba0fac\"},\"headline\":\"Google Go Vs Objective C\",\"datePublished\":\"2018-01-16T00:09:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wordherd.io\\\/blog\\\/google-go-vs-objective-c\\\/\"},\"wordCount\":3495,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/wordherd.io\\\/#organization\"},\"keywords\":[\"drupal\"],\"articleSection\":[\"Drupal\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/wordherd.io\\\/blog\\\/google-go-vs-objective-c\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wordherd.io\\\/blog\\\/google-go-vs-objective-c\\\/\",\"url\":\"https:\\\/\\\/wordherd.io\\\/blog\\\/google-go-vs-objective-c\\\/\",\"name\":\"Google Go Vs Objective C - WordHerd WordPress Migration\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wordherd.io\\\/#website\"},\"datePublished\":\"2018-01-16T00:09:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wordherd.io\\\/blog\\\/google-go-vs-objective-c\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wordherd.io\\\/blog\\\/google-go-vs-objective-c\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wordherd.io\\\/blog\\\/google-go-vs-objective-c\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wordherd.io\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Google Go Vs Objective C\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wordherd.io\\\/#website\",\"url\":\"https:\\\/\\\/wordherd.io\\\/\",\"name\":\"WordHerd WordPress Migration\",\"description\":\"Website Migration Services\",\"publisher\":{\"@id\":\"https:\\\/\\\/wordherd.io\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wordherd.io\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wordherd.io\\\/#organization\",\"name\":\"WordHerd WordPress Migration\",\"url\":\"https:\\\/\\\/wordherd.io\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/wordherd.io\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/wordherd.io\\\/wp-content\\\/uploads\\\/wordherd-trademark.png\",\"contentUrl\":\"https:\\\/\\\/wordherd.io\\\/wp-content\\\/uploads\\\/wordherd-trademark.png\",\"width\":1000,\"height\":315,\"caption\":\"WordHerd WordPress Migration\"},\"image\":{\"@id\":\"https:\\\/\\\/wordherd.io\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/wordherd.io\\\/#\\\/schema\\\/person\\\/373419b97c0fbc45a3a16462bdba0fac\",\"name\":\"WordHerd\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bf8c7166601a64c6c57b67ffbeab8f8c6a378cca786da9a326c1a34a2ec6f860?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bf8c7166601a64c6c57b67ffbeab8f8c6a378cca786da9a326c1a34a2ec6f860?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bf8c7166601a64c6c57b67ffbeab8f8c6a378cca786da9a326c1a34a2ec6f860?s=96&d=mm&r=g\",\"caption\":\"WordHerd\"},\"sameAs\":[\"https:\\\/\\\/wordherd.io\",\"https:\\\/\\\/www.facebook.com\\\/wordherdio\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/wordherd\",\"https:\\\/\\\/x.com\\\/wordherdio\"],\"url\":\"https:\\\/\\\/wordherd.io\\\/zh\\\/blog\\\/author\\\/wordherd\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Google Go vs Objective C - WordHerd WordPress \u79fb\u8f6c","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wordherd.io\/zh\/\u535a\u5ba2\/\u8c37\u6b4cgo-vs-objective-c\/","og_locale":"zh_CN","og_type":"article","og_title":"Google Go Vs Objective C - WordHerd WordPress Migration","og_description":"1. Introduction &#8220;The importance of language for the evolution of tradition lies on this, that mankind arrange in language a separate world beside the opposite world, a spot it took to be so firmly set that, standing upon it, it might raise the remainder of the world off its hinges and make itself grasp of [&hellip;]","og_url":"https:\/\/wordherd.io\/zh\/\u535a\u5ba2\/\u8c37\u6b4cgo-vs-objective-c\/","og_site_name":"WordHerd WordPress Migration","article_author":"https:\/\/www.facebook.com\/wordherdio\/","article_published_time":"2018-01-16T00:09:00+00:00","author":"WordHerd","twitter_card":"summary_large_image","twitter_creator":"@wordherdio","twitter_misc":{"\u4f5c\u8005":"WordHerd","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"17 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wordherd.io\/blog\/google-go-vs-objective-c\/#article","isPartOf":{"@id":"https:\/\/wordherd.io\/blog\/google-go-vs-objective-c\/"},"author":{"name":"WordHerd","@id":"https:\/\/wordherd.io\/#\/schema\/person\/373419b97c0fbc45a3a16462bdba0fac"},"headline":"Google Go Vs Objective C","datePublished":"2018-01-16T00:09:00+00:00","mainEntityOfPage":{"@id":"https:\/\/wordherd.io\/blog\/google-go-vs-objective-c\/"},"wordCount":3495,"commentCount":0,"publisher":{"@id":"https:\/\/wordherd.io\/#organization"},"keywords":["drupal"],"articleSection":["Drupal"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wordherd.io\/blog\/google-go-vs-objective-c\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wordherd.io\/blog\/google-go-vs-objective-c\/","url":"https:\/\/wordherd.io\/blog\/google-go-vs-objective-c\/","name":"Google Go vs Objective C - WordHerd WordPress \u79fb\u8f6c","isPartOf":{"@id":"https:\/\/wordherd.io\/#website"},"datePublished":"2018-01-16T00:09:00+00:00","breadcrumb":{"@id":"https:\/\/wordherd.io\/blog\/google-go-vs-objective-c\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wordherd.io\/blog\/google-go-vs-objective-c\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wordherd.io\/blog\/google-go-vs-objective-c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wordherd.io\/"},{"@type":"ListItem","position":2,"name":"Google Go Vs Objective C"}]},{"@type":"WebSite","@id":"https:\/\/wordherd.io\/#website","url":"https:\/\/wordherd.io\/","name":"WordHerd WordPress \u79fb\u8f6c","description":"\u7f51\u7ad9\u8fc1\u79fb\u670d\u52a1","publisher":{"@id":"https:\/\/wordherd.io\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wordherd.io\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/wordherd.io\/#organization","name":"WordHerd WordPress \u79fb\u8f6c","url":"https:\/\/wordherd.io\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/wordherd.io\/#\/schema\/logo\/image\/","url":"https:\/\/wordherd.io\/wp-content\/uploads\/wordherd-trademark.png","contentUrl":"https:\/\/wordherd.io\/wp-content\/uploads\/wordherd-trademark.png","width":1000,"height":315,"caption":"WordHerd WordPress Migration"},"image":{"@id":"https:\/\/wordherd.io\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/wordherd.io\/#\/schema\/person\/373419b97c0fbc45a3a16462bdba0fac","name":"WordHerd","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/secure.gravatar.com\/avatar\/bf8c7166601a64c6c57b67ffbeab8f8c6a378cca786da9a326c1a34a2ec6f860?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/bf8c7166601a64c6c57b67ffbeab8f8c6a378cca786da9a326c1a34a2ec6f860?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bf8c7166601a64c6c57b67ffbeab8f8c6a378cca786da9a326c1a34a2ec6f860?s=96&d=mm&r=g","caption":"WordHerd"},"sameAs":["https:\/\/wordherd.io","https:\/\/www.facebook.com\/wordherdio\/","https:\/\/www.linkedin.com\/company\/wordherd","https:\/\/x.com\/wordherdio"],"url":"https:\/\/wordherd.io\/zh\/blog\/author\/wordherd\/"}]}},"_links":{"self":[{"href":"https:\/\/wordherd.io\/zh\/wp-json\/wp\/v2\/posts\/7025","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordherd.io\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordherd.io\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordherd.io\/zh\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/wordherd.io\/zh\/wp-json\/wp\/v2\/comments?post=7025"}],"version-history":[{"count":0,"href":"https:\/\/wordherd.io\/zh\/wp-json\/wp\/v2\/posts\/7025\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordherd.io\/zh\/wp-json\/wp\/v2\/media?parent=7025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordherd.io\/zh\/wp-json\/wp\/v2\/categories?post=7025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordherd.io\/zh\/wp-json\/wp\/v2\/tags?post=7025"},{"taxonomy":"builders","embeddable":true,"href":"https:\/\/wordherd.io\/zh\/wp-json\/wp\/v2\/builders?post=7025"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/wordherd.io\/zh\/wp-json\/wp\/v2\/industry?post=7025"},{"taxonomy":"platform","embeddable":true,"href":"https:\/\/wordherd.io\/zh\/wp-json\/wp\/v2\/platform?post=7025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}