360楂樼骇鍓嶇鏋舵瀯甯圚ax(璐哄笀淇?锛氬墠绔紑鍙戠紪绋嬭瑷€鐨勮繃鍘汇€佺幇鍦ㄥ拰鏈潵
Posted 鍓嶇涔嬪穮
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了360楂樼骇鍓嶇鏋舵瀯甯圚ax(璐哄笀淇?锛氬墠绔紑鍙戠紪绋嬭瑷€鐨勮繃鍘汇€佺幇鍦ㄥ拰鏈潵相关的知识,希望对你有一定的参考价值。
鍏充簬缂栫▼璇█鎴戦鍏堟兂璁蹭竴涓簨鎯咃紝灏辨槸璁ㄨ缂栫▼璇█鏃讹紝鎴戜滑缁忓父浼氱湅鍒颁袱绉嶉潪甯告瀬绔殑鎬佸害锛?/p>
涓€绉嶅氨鏄€淴XX 璇█鏈€濂斤紒鈥漍XX 鍙互鏄换浣曚竴涓瑷€锛屾瘮濡?PHP馃お銆傚鏋滆璁虹殑鏃跺€欎綘涓嶉檮鍜屼粬鐨勮鐐癸紝灏卞彲鑳界粰浣犱竴涓剻瑙嗚劯銆?/p>
鍙﹀涓€绉嶏紝灏辨槸鈥滄墍鏈夎瑷€閮戒竴鏍凤紒鈥濆綋鎴戜滑璁ㄨ涓嶅悓璇█鐨勭壒鎬т紭鍔o紝浠栦篃浼氱粰浣犻剻瑙嗚劯銆?/p>
铏界劧杩欎袱绉嶆€佸害鐪嬩技鎴劧鐩稿弽锛屼絾杩欎袱绉嶆€佸害鐨勭粨鏋滄槸涓€鏍风殑锛屽氨鏄璁虹户缁笉涓嬪幓浜嗭紝鎵€浠ヤ綘鐪嬪悇绉嶆妧鏈兢閲屾秹鍙婄紪绋嬭瑷€鐨勮璁哄線寰€瑕佷箞鏇查珮鍜屽锛岃涔堣繀閫熶互鈥淧HP 鏄渶濂界殑璇█鈥濇垨鑰呪€滆瑷€閮戒竴鏍封€濊繖鏍锋鏃犳剰涔夌殑搴熻瘽锛堟寜鐓у璇绘満闃熷舰锛夋敹鍦恒€傛帓闄よ皟渚冨拰鐏屾按鐨勬垚鍒嗭紝鏈川涓婏紝杩欎袱绉嶆瀬绔€佸害鑳屽悗鐨勫師鍥犳槸绫讳技鐨勨€斺€斾汉浠€绘槸楂樹及鐭湡锛屼綆浼伴暱鏈熴€?/p>
缂栫▼璇█锛屼互鎴戠殑鐪嬫硶锛屼笉澶彲鑳芥槸椤圭洰鎴愯触鐨勫喅瀹氭€х殑鍥犵礌銆備絾鏄暱鏈熸潵鐪嬶紝缂栫▼璇█锛屼綔涓虹▼搴忓憳鍒涢€犺蒋浠剁殑鏍稿績宸ュ叿锛屼細褰卞搷鍥㈤槦闀挎湡鐨勭敓浜у姏銆傝繖鏄垜浠负浠€涔堝簲璇ユ憭寮冮偅浜涙瀬绔€佸害锛屾姇鍏ヤ竴瀹氱殑绮惧姏鍘荤爺绌跺拰鍙戝睍缂栫▼璇█銆?/p>
GMTC 鏄ぇ鍓嶇鎶€鏈ぇ浼氾紝鎵€浠ユ垜浠繖娆¤璁哄墠绔拰绉诲姩绔紑鍙戜腑鐨勭紪绋嬭瑷€銆備互涓嬬畝绉板墠绔瑷€銆?/p>
鍓嶇璇█鏈夎嚜宸辩殑鐗圭偣锛屼篃灏辨槸鍜屼竴鑸潪鍓嶇棰嗗煙鐨勭紪绋嬭瑷€鏈夊尯鍒€傚鏋滄垜浠瀵熷墠绔瑷€锛屼細鍙戠幇鏈変袱涓壒鐐癸細
浠€涔堝彨骞冲彴楂樺害鐩稿叧鍛紵姣斿璇翠粖澶╂垜浠鍦?iOS 骞冲彴涓婂紑鍙戞柊搴旂敤锛岄偅鍩烘湰涓婂氨寰楃敤 Swift 璇█銆傚弽杩囨潵璇达紝浣犺鍦ㄥ叾浠栧钩鍙颁笂寮€鍙戞柊搴旂敤锛屽氨涓嶅お鍙兘閫夋嫨 Swift銆?/p>
鐩告瘮杈冭€岃█锛屽悗绔紑鍙戝氨娌℃湁杩欎箞寮虹殑绾︽潫锛屽洜涓哄悗绔湇鍔″苟涓嶆槸璇撮潪鐢ㄥ摢涓钩鍙帮紝姣斿 Java銆?NET 涓嶅彲锛屽畬鍏ㄥ彲浠ョ敤 PHP銆丟o銆丳ython銆丷uby 绛夊悇绉嶈瑷€鍐欙紝鐧捐姳榻愭斁銆傚氨绠楃敤 Java 鎴?NET 骞冲彴锛屼篃鏈夊绉嶈瑷€鍙€夈€傝€屽墠绔紑鍙戜腑锛岃瑷€鍜屽钩鍙板叿鏈夊己鐩稿叧鎬э紝鏁翠釜鎶€鏈爤鐨勯€夊瀷涓紝閫夊钩鍙板拰閫夎瑷€鏄竴鑰屼簩浜岃€屼竴涔嬩簨銆?/p>
杩欎細閫犳垚涓€浜涘洶鎵般€傛瘮濡傝鍥犱负浣犵湅鍒颁簡 Flutter 杩欎釜骞冲彴闈炲父濂斤紝鎵€浠ヤ綘灏辩敤瀹冿紝鍙綘涔熶竴骞堕€夋嫨浜?Dart 璇█锛屼絾鏄緢鏈夊彲鑳戒綘鍏跺疄涓嶆槸鐗瑰埆鍠滄 Dart 璇█鈥斺€斿挨鍏跺鏋滄垜浠凡缁忓緢渚濊禆 Kotlin/Swift 璇█鎵€鎻愪緵鐨勬煇浜涢珮绾ц瑷€鐗规€ф椂銆?/p>
涔熸湁鍙﹀涓€绉嶆儏鍐碉紝姣斿锛屽亣璁句綘鐨勫洟闃熶竴鐩翠娇鐢?JavaScript/TypeScript锛屽苟瀵规暣涓?JS/TS 鐢熸€侀噷宸茬粡鏈夊緢澶х殑鎶曡祫锛堝绉疮浜嗗ぇ閲忓簱锛岃嚜琛岀爺鍙戜簡璁稿宸ュ叿绛夛級锛屾墍浠ヤ笉鎯虫斁寮冭繖鏍蜂竴涓妧鏈爤锛岄偅鍦ㄨ繖鏍风殑鎯呭喌涓嬶紝寰堥仐鎲句綘鐜板湪灏辨病鏈夊姙娉曢€夋嫨 Flutter 骞冲彴銆傛墍浠ユ垜浠細鍙戠幇锛屽湪鍓嶇寮€鍙戣繃绋嬪綋涓氨鏈夎繖涓妧鏈爤閫夊瀷涓婄殑绾︽潫锛氱紪绋嬭瑷€璺熷钩鍙伴珮搴︾浉鍏炽€?/p>
濡傛灉鎴戜滑璁插墠绔瑷€锛屼笉绠″摢涓€涓瑷€锛屽畠鍏跺疄閮芥槸浠ュ墠绔簲鐢ㄦ煇鐗瑰畾棰嗗煙涓洪瑕佺洰鏍囷紝鎵€浠ラ棶棰橀鍩熸槸楂樺害閲嶅悎鐨勶紝闈复鐨勬寫鎴樹篃鏄叡閫氱殑銆?/p>
姣斿閮借澶勭悊鐣岄潰鍜屼氦浜掋€傝澶氬叾浠栫紪绋嬭瑷€灏变笉涓€鏍凤紝瀹冧滑鍚勮嚜鏈変竴浜涚嫭鐗圭殑鐗圭偣锛屾搮闀夸笉鍚岀殑棰嗗煙銆傛瘮濡傝 Erlang 灏卞緢閫傚悎鐢ㄦ潵寮€鍙戝垎甯冨紡绯荤粺锛屽畠鏈潵鐨勮璁$洰鏍囧氨鏄拡瀵硅繖绉嶅満鏅紝骞朵笖鏈夐拡瀵规€х殑銆佺嫭鐗圭殑骞跺彂妯″瀷鍜屽閿欐満鍒剁瓑銆?/p>
鍐嶆瘮濡傝鍍忓ぇ鏁版嵁銆佷汉宸ユ櫤鑳介鍩熷氨棣栭€?Python銆傝€?Go 灏卞父瑙佷簬缃戠粶鏈嶅姟灞傘€佷簯璁炬柦銆傜敋鑷冲儚 Coq 杩欐牱鍋忓鏈殑璇█锛屽洜涓哄叾鍏锋湁褰㈠紡璇佹槑鑳藉姏锛岃杩愮敤浜庨噾铻嶃€佸尯鍧楅摼绛夐鍩熴€傛墍浠ヨ櫧鐒堕兘鏄€氱敤缂栫▼璇█锛屼絾涓嶅悓璇█鍙兘鏈夐潪甯搁矞鏄庣殑鐗圭偣锛屼富鏀婚鍩熸湁寰堝ぇ涓嶅悓銆傝€屽墠绔瑷€锛岃櫧鐒跺悇骞冲彴鏈夊悇鑷殑璇█锛屼絾鍏朵富鏀婚鍩熷叾瀹炴槸楂樺害閲嶅悎鐨勩€?/p>
浠庤繖涓や釜鐗圭偣浼稿彂寮€鍘伙紝鎴戜滑鏉ョ湅鐪嬪墠绔瑷€鐨勮繃鍘汇€佺幇鍦ㄥ拰鏈潵銆傚叾瀹炶繖涓爣棰樻湁鐐瑰ぇ锛岃繖閲屽彧鑳芥妸涓汉鍦ㄨ繖鏂归潰鐨勮瀵熷拰鎬濊€冭窡澶у鍒嗕韩涓€涓嬶紝甯屾湜鑳藉紩鍙戝ぇ瀹剁殑鎬濊€冦€?/p>
鍏堢湅涓€涓嬭繃鍘汇€傝繖閲岃鐨勨€滆繃鍘烩€濓紝鏄瘮杈冭繎鐨勮繃鍘伙紝鏇存棭鐨勫氨涓嶈浜嗭紝姣斿鏈€鏃╃Щ鍔ㄥ紑鍙戞槸鐢?J2ME锛岃繖涓氨澶彜鏃╀簡銆傝繖閲屾垜浠繕鏄互鏅鸿兘鎵嬫満涓鸿捣鐐癸紝涔熷氨鏄?Android銆乮OS 鏃朵唬銆?/p>
杩囧幓涓変釜涓昏骞冲彴鐨勮瑷€锛屽湪 Web 灏辨槸 JavaScript锛堜笅绠€绉?JS锛夛紝Android 灏辨槸 Java锛宨OS 灏辨槸 Objective-C锛堜笅绠€绉?OC锛夈€?/p>
閭d箞鏄笉鏄彲浠ョ敤鍏朵粬缂栫▼璇█鍛紵
鍦?Web 骞冲彴纭疄杩樻湁涓嶅皯鍏朵粬璇█锛屽悇绉?altJS锛堝彲缂栬瘧鍒?JS 鐨勫叾浠栨浛浠f€ц瑷€锛夛紝浠ュ墠涓€搴?CoffeeScript 涔熸尯娴佽銆備絾鏄粠鏁翠釜鍙戝睍鏉ョ湅锛岃櫧鐒舵垜浠€绘槸鍙互鐢ㄥ叾浠栬瑷€缂栬瘧鍒?JS锛岀劧鑰岄殢鐫€ ES6 鐨勫叴璧凤紝鎬讳綋瓒嬪娍杩樻槸閲嶆柊鍥炲綊浜?JavaScript銆?/p>
Android 鐢?Java锛岀悊璁轰笂 Java 骞冲彴涓婄殑鍏朵粬璇█涔熷彲浠ョ敤锛屾瘮濡?Groovy銆丼cala銆丆lojure 绛夛紝浣嗘槸杩欐牱涓€绉嶅疄璺碉紝涔熶笉鏄壒鍒祦琛屻€?/p>
涓轰粈涔堝憿锛熷師鍥犲彲鑳藉悇绉嶅悇鏍枫€傛瘮鏂硅宸ュ叿閾句笉鍖归厤銆傚儚鏋勫缓锛孲cala 鐢?sbt 鑰?Android 鐢?Gradle銆備笉鏄涓嶈兘瑙e喅锛屼絾闇€瑕佽姳璐瑰紑鍙戣€呴澶栫殑绮惧姏銆傝繕鏈変簺闂鍙兘灏辨槸鏃犺В鐨勩€傛瘮濡傦紝褰撲綘鐢ㄥ彟澶栦竴涓瑷€锛屽畠閫氬父鏈夎嚜宸辩殑鏍囧噯搴撱€傚浜庡墠绔拰绉诲姩绔潵璁诧紝浣犲彂甯冪殑搴旂敤锛岀敤鎴疯閫氳繃缃戠粶涓嬭浇锛屽氨鏈変竴涓ぇ灏忕殑闂銆傚鏋滀綘浣跨敤鍏朵粬璇█锛岃櫧鐒跺彲浠ョ紪璇戣繃鍘伙紝浣嗘槸杩樿甯︿笂浠栫殑搴擄紝灏变娇鏁翠釜鍖呭彉澶с€傞澶栫殑 runtime 搴撻€犳垚鍙戝竷鍖呭彉澶э紝瀵瑰悗绔潵璇村€掓槸鏃犳墍璋擄紝鍓嶇灏卞緢鏁忔劅銆傚挨鍏舵槸涓€浜涘ぇ鍏徃鐨?app 闈炲父澶嶆潅锛岀敱澶氫釜鍥㈤槦鍏卞悓寮€鍙戯紝鍏跺寘鐨勫ぇ灏忛檺棰濅篃鏄鍦ㄥ涓洟闃熼噷鍒嗛厤鐨勶紝鍗充娇鍏朵腑涓€涓洟闃熻涓哄紩鍏ユ柊璇█鏈夋瀬澶х殑濂藉锛屼絾浣犳€庝箞鑳借鏈嶆墍鏈夊洟闃熶负涓氬姟浠g爜浠ュ鐨勪唬浠蜂拱鍗曪紵闈炲父鍥伴毦銆?/p>
涓轰粈涔?CoffeeScript 鑳戒竴搴︽祦琛岋紝寰堝ぇ鍘熷洜鏄畠閫夋嫨浜嗚仛鐒︿簬璇硶鏀硅繘锛屼笉闇€瑕佷换浣曢澶?runtime 搴撶殑璺嚎銆傜劧鑰岃繖涔熼檺鍒朵簡瀹冪殑鍙戝睍锛屽綋 ES6 涔熷緢澶у湴鎻愬崌浜嗚娉曚究鍒╂€т箣鍚庯紝CoffeeScript 鐨勪环鍊煎氨澶уぇ涓嬮檷锛岃蛋鍚戣“钀姐€?/p>
瀹為檯涓?Swift 涔熸湁闇€瑕佹墦鍏?runtime 搴撳鑷村簲鐢ㄥ彉澶х殑闂锛屼絾鏄畠鏄?Apple 鐨勪翰鍎垮瓙锛屾墍浠ュぇ瀹剁‘淇¤繖鍙槸鏆傛椂鐨勯棶棰橈紝鎴戜滑鐪嬪埌鏈€鏂扮殑 Swift 5 灏辫В鍐充簡杩欎釜闂锛屾柊鐗堢殑 ios 鎿嶄綔绯荤粺宸茬粡鍐呯疆浜嗗簱銆備絾鏄兂璞′竴涓嬶紝濡傛灉鏄叾浠栬瑷€鍛紵
鎵€浠ユ€讳綋鏉ヨ锛岃櫧鐒跺瓨鍦ㄤ娇鐢ㄥ叾浠栫紪绋嬭瑷€鐨勮繖涓彲鑳斤紝浣嗘槸鍦ㄥ疄璺典笂锛屾棤璁?Web銆丄ndroid 杩樻槸 iOS 骞冲彴锛屾暣涓墠绔潵璇达紝鎴戜滑鍦ㄧ湡姝?production 閲岃繕鏄瘮杈冨皯閲囩敤鍏朵粬鐨勮瑷€銆備絾鏄憿锛岃繖浜涗笂涓€浠g殑鍓嶇璇█纭疄鏄瓨鍦ㄤ竴浜涢棶棰樼殑銆?/p>
鎴戜滑鍏堣 JS 鐨勯棶棰樸€備富瑕佸氨鏄細涓嶉€傚悎 PITL銆?/p>
PITL 灏辨槸 programming in the large锛屽ぇ鍨嬬紪绋嬨€傛墍璋撳ぇ鍨嬬紪绋嬶紝鏃堕棿鍜岀粍缁囦袱涓淮搴︼紝涓€涓槸杩欎釜杞欢鎴栨湇鍔℃湁姣旇緝闀跨殑鐢熷懡鍛ㄦ湡锛屽彟涓€涓氨鏄繖涓骇鍝佹垨椤圭洰鏈夋瘮杈冨ぇ鐨勫洟闃熼渶瑕佸浜哄崗浣滐紝婊¤冻浠讳綍涓€鏉★紝灏卞彲浠ョ畻澶у瀷缂栫▼銆?/p>
JS 杩欎釜璇█褰撳勾璁捐鐨勬椂鍊欙紝涓嶆槸涓哄ぇ鍨嬬紪绋嬭繖涓洰鏍囪璁$殑锛屽畠鐨勫垵琛凤紝灏辨槸涓烘弧瓒冲湪椤甸潰涓婂仛涓€鐐瑰姩鎬佹晥鏋滅殑闇€姹傦紝鎵€浠?JavaScript 鍚嶅壇鍏跺疄鏄竴涓?script锛堣剼鏈級璇█銆傛墍璋撹剼鏈紝寰堝鏃跺€欏氨鏄竴娆℃€т功鍐欑敋鑷充竴娆℃€ц繍琛岋紝鐢ㄥ悗鍗虫姏銆備紶缁熶笂锛岃剼鏈瑷€鐨勮璁$洰鏍囧氨鏄柟渚夸娇鐢紝鎬庝箞鏄撶敤鎬庝箞鏉ワ紝鎵€浠ュ湪寰堝鏂归潰骞朵笉閫傚悎澶у瀷缂栫▼锛岀敋鑷宠儗閬撹€岄┌銆傛瘮濡傝澶у閮界煡閬?JS 鐨勫急绫诲瀷闅愬紡杞崲闂锛屽儚鑷悕鏄憲鐨勨€滀笁浣嶄竴浣撯€濓紝铏借鏄悙妲斤紝浣嗗疄璺典笂涔熺‘瀹炰細閫犳垚闅愭偅锛屾墍浠ュ綋鍥㈤槦瑕佽繘琛屸€滃ぇ鍨嬬紪绋嬧€濓紝灏卞繀椤荤敤 linter 绛夊伐鍏峰幓缁欒瑷€鐨勮璁$己闄锋摝灞佽偂銆?/p>
Java 鍙堟槸浠€涔堥棶棰樺憿锛熷叾瀹?Java 鏈韩鏄潪甯稿ソ鐨勮瑷€锛屽埌鐩墠涓烘浠嶇劧鏄垜浠暣涓涓氭渶閲嶈鐨勭紪绋嬭瑷€銆?/p>
Java 鐨勯棶棰樺氨鏄?Oracle銆侽racle 鐨勫悇绉嶆Ы鐐瑰氨涓嶈浜嗭紝鍦?Android 骞冲彴鏉ヨ锛屾渶涓昏鐨勫氨鏄拰 Google 鐨勫畼鍙搞€傝繖涓槸闈炴妧鏈殑鍥犵礌銆?/p>
鎶€鏈殑鍥犵礌涔熸湁銆侸ava 铏藉ソ锛屼絾鏈変竴涓棶棰橈細灏界 Java 鏈€鍒濅篃鏄€滃墠绔瑷€鈥濓紙鏃╂湡璁捐鐩爣鏄敤浜庡祵鍏ュ紡璁惧鍜?Web锛夛紝浣?Java 鏈€鎴愬姛鐨勯鍩熸槸鍦ㄦ湇鍔″櫒绔€傞偅涔堣繖涓瑷€鐨勬紨鍖栧氨瑕佽€冭檻鏈嶅姟鍣ㄧ锛屼笉鑳戒粎浠呭洜涓哄墠绔拰绉诲姩绔湁涓€浜涙柊鐨勯渶姹傦紝灏辨妸涓€涓瑷€鐗规€у姞杩涘幓锛岃€屾槸瑕佽€冭檻鏇村箍娉涚殑鍦烘櫙鏉ヨ 閲忚繖鏍蜂竴涓壒鎬ф槸涓嶆槸鍊煎緱鍔犺繘鍘汇€?/p>
鑰屾垜浠煡閬擄紝鏈嶅姟鍣ㄧ璺熷墠绔€佺Щ鍔ㄧ杩樻槸鏈変竴浜涘樊鍒紝姣斿璇村钩鍙版洿鏂拌凯浠g殑閫熺巼鍜屾櫘閬嶆€э紝瀵?backward compatibility 鐨勮姹傦紝瀵规€ц兘濡傚唴瀛樺崰鐢ㄣ€佸惎鍔ㄦ椂闂寸殑闇€姹傦紝绛夌瓑銆傝繖绉嶄笉鍚屼細涓嶄細瀵圭ぞ鍖哄績鎬佷骇鐢熶笉鍚岀殑褰卞搷浠庤€屽璇█鐨勬紨鍖栦篃浜х敓褰卞搷锛熻繖鎴栬鏄竴涓彲浠ユ€濊€冪殑闂銆?/p>
Objective-C 鏄潪甯哥嫭鐗瑰拰鏈夎叮鐨勮瑷€锛屽畠鏈変竴涓棶棰樻槸鍜屽叾浠栦富娴佸伐涓氳瑷€瀛樺湪涓€瀹氱殑 gap銆傛渶绠€鍗曠殑渚嬪瓙锛屾垜浠湅 OC 浠g爜鐨勫懡鍚嶉鏍硷紝閮芥槸闈炲父鐨勯暱锛屾瘮鍏朵粬璇█闀垮緱澶氥€備负浠€涔堥偅涔堥暱鍛紵涓€涓師鍥犳槸鍏朵唬鐮侀鏍煎氨榧撳姳鑷鏄庣殑銆佹帴杩戣嫳鏂囪嚜鐒惰瑷€琛ㄨ揪鐨勩€佸畬鏁村埌鏈夋椂瑙夊緱鍐楅暱鐨勫悕瀛椼€傚彟澶栦竴涓槸锛孫C 涓紝鍙傛暟鍚嶄篃鏄懡鍚嶇殑涓€閮ㄥ垎锛屾柟娉曞悕瀛楀拰鍚庣画鍙傛暟鍚嶅悎鍦ㄤ竴璧锋瀯鎴愭暣涓殑鍛藉悕銆傛渶缁堟晥鏋滃氨鏄湪鍏朵粬璇█涓瓧绗︿覆鏇挎崲鏂规硶鍚嶅氨鏄竴涓畝鍗曠殑鈥渞eplace鈥濓紝鑰屽湪 OC 涓垯鏄€渟tringByReplacingOccurrencesOfString:withString:鈥濄€傚姞涔?OC 鐨勮瘝娉曟瘮濡傛嫭鍙疯繍鐢ㄤ篃鍜屽叾浠栬瑷€涓嶅お涓€鏍凤紝瀹屾暣涓€涓鍙ュぇ姒傞暱杩欐牱锛?/p>
newString = [oldstring stringByReplacingOccurrencesOfString:@"oc" withString:@"swift"];
铏界劧璇达紝鍧婇棿娴佽鈥淛ava 鍜?JavaScript 鐨勫叧绯绘槸闆烽攱鍜岄浄宄板鐨勫叧绯烩€濓紝浣?Java 鍜?JS 鐨勫垏鎹㈠叾瀹炲苟娌℃湁閭d箞闅撅紝鑷冲皯璇硶鏄緢鎺ヨ繎鐨勩€備絾鏄粠 Java銆丣S 杩欐牱鐨勪富娴佸伐涓氳瑷€鍒囨崲鍒?Objective-C 灏遍殰纰嶆瘮杈冨ぇ锛屽厜璇硶鍜屽懡鍚嶈繖浜涙瘮杈冭〃闈㈡€х殑涓滆タ灏卞凡缁忔病閭d箞瀹规槗閫傚簲浜嗐€?/p>
褰撶劧 OC 杩樻湁鍏朵粬鐨勯棶棰橈紝鍍忔€ц兘銆佸唴瀛樺畨鍏ㄦ€х瓑銆備絾鎴戜釜浜鸿涓?OC 鍜屽叾浠栦富娴佽瑷€鐨勮繃澶у樊寮傛垨璁告槸鏈€澶х殑闂銆?/p>
鎴戜滑鐪嬩竴涓嬬幇鍦ㄥ墠绔紪绋嬭瑷€鐨勭姸鍐碉紝鍙互鐪嬪埌寰堟槑鏄剧殑鍙橀潻銆傚湪 Web 骞冲彴锛屽ぇ閲忔柊鐨勫簲鐢ㄥ叏绾胯浆鐢?TypeScript锛岃繕鍦ㄧ淮鎶ょ殑鑰侀」鐩縼绉诲埌 TypeScript 鐨勬渚嬩篃涓嶅湪灏戞暟锛屽挨鍏舵槸鍦ㄥぇ鍘傦紝杩欎釜瓒嬪娍鏇村姞鏄庢樉銆傚湪 Android 骞冲彴锛屽垯鏄?Kotlin锛屾渶杩戠殑缁熻鏄秴杩?50% 鐨?Android 绋嬪簭鍛樺凡缁忓垏鎹㈠埌浜?Kotlin銆傝€屽湪 iOS锛屽綋鐒跺氨鏄?Swift銆傞櫎姝や箣澶栵紝鎴戜滑杩樻湁浜嗕竴涓柊鐨勫钩鍙帮紝灏辨槸 Flutter锛屽畠寮曞叆浜嗕竴涓€滄柊鈥濊瑷€锛欴art銆?/p>
鎴戜滑鍙戠幇锛屾墍鏈夌殑绔紝杩欎簺骞冲彴锛岄兘鍦ㄦ瘮杈冪煭鐨勪竴娈垫椂闂村唴锛屼粠鑰佺殑璇█杩涘寲鍒版柊涓€浠g殑璇█銆傝繖涓嶇煡閬撴槸涓嶆槸宸у悎锛堝疄闄呬笂宸у悎鑳屽悗寰€寰€鏄湁鍘熷洜鐨勶級銆?/p>
杩欎簺鏂拌瑷€锛屼笌涓€鑸殑缂栫▼璇█鏈変粈涔堢壒鍒殑涓嶅悓鍛紵棣栧厛锛屾垜浠箣鍓嶅凡缁忔彁鍒拌繃骞冲彴鍜岃瑷€鐨勫叧绯汇€備綘浼氭劅瑙夊埌鍓嶇鐨勭紪绋嬭瑷€浼间箮閮借骞冲彴鎵€鈥滈挦瀹氣€濄€?/p>
姣斿 Kotlin 灏辨槸 Google 瀹e竷浣滀负棣栬鏀寔鐨勮瑷€銆係wift 鏄?Apple 涓绘帹鐨勩€俆ypeScript 铏界劧璇村井杞病娉曗€滈挦瀹氣€濆畠锛屼絾 TypeScript 鏈韩鏄?JS 鍜岀被鍨嬬郴缁熺殑缁撳悎锛岃€?JS 鏄?Web 骞冲彴鍞竴璇█锛岃 TypeScript 涔熼檮甯﹁幏寰椾簡鈥滈挦瀹氣€濄€俆ypeScript 鍦ㄤ韩鍙?JS 鐨勭孩鍒╃殑鍚屾椂锛屼篃閫氳繃鏇村ソ鐨勫伐鍏锋敮鎸佸弽鍝?JS 鐢熸€併€傛暣涓?JS 鐢熸€佹閫愭杩涘寲涓衡€淛S/TS鈥濈敓鎬併€?/p>
鏈€鍚庤繕鏈?Dart锛岃繖涓瑷€鍏跺疄宸茬粡璇炵敓濂藉嚑骞翠簡锛屽湪 Web 鍜?Android 骞冲彴涓婂姹傚彂灞曟帴杩炲彈鎸箣鍚庯紝缁堜簬鑾峰緱浜?Flutter 骞冲彴鈥滈挦瀹氣€濅粠鑰岃捣姝诲洖鐢熴€傛€讳箣锛屽墠绔悇骞冲彴涓婃墍鏈夎繖浜涙柊璇█鍜屼笂涓€浠h瑷€涓€鏍凤紝鎴戜滑鎰熻閮芥槸鈥滈挦瀹氣€濄€?/p>
铏界劧鏄钩鍙扳€滈挦瀹氣€濓紝浣嗘槸鎴戜滑鍙互鍙戠幇锛屾墍鏈夎繖浜涜瑷€浠栦滑閮戒笉婊¤冻浜庤鈥滈挦瀹氣€濈殑閭d竴浜╀笁鍒嗗湴锛屽畠浠兘鍦ㄨ蛋鍚戣法绔拰鍏ㄦ爤锛岀獊鐮村崟涓€骞冲彴銆?/p>
鍍?JS/TS锛孨ode.js 鍦ㄥ叏鏍堝紑鍙戜笂宸茬粡寰堝骞达紝寰堟垚鐔熶簡銆傝法绔柟闈紝鍒欐湁 Cordova銆丷eact Native銆乄eex銆丯ativeScript 绛夊悇绉嶈法绔柟妗堛€傚啀璇?Dart锛屽叾瀹?Flutter鈥滈挦瀹氣€濅簡瀹冨繀椤昏兘璺ㄧ銆侱art 鏃㈡湁 standalone VM锛屽張鍙紪璇戝埌 JS 鍜?Native銆傚熀浜?native锛屽彲浠ヨ窇鍦?Android 鍜?iOS 涓婏紝鍩轰簬 dart2js 鍒欐湁 Flutter for Web锛宻tandalone VM 鍒欑粰浜堝叾鍏ㄦ爤鐨勬綔鍔涖€?/p>
Kotlin 璇█鍦ㄨ瑷€璁捐涔嬪垵涔熻瀹氫簡澶?target 鐨勭洰鏍囷紝鍙互缂栬瘧鍒?JVM銆丣S 鍜?Native锛屾墍浠ユ棤璁鸿法绔繕鏄叏鏍堜篃閮芥病鏈夐棶棰樸€傜浉瀵规潵璁诧紝Swift 鍦ㄨ法绔柟闈㈣緝寮憋紝灏界鎶€鏈笂璇?Swift 缁忚繃 LLVM 缂栬瘧鍒?native锛屼綘褰撶劧涔熸槸鍙互鐢?Swift 鍐?Android 搴旂敤鐨勶紝绀惧尯涔熸湁杩欐牱鐨勫皾璇曪紝浣?Apple 瀵规缂轰箯鍔ㄥ姏锛屼笉澶彲鑳藉儚 Dart 鍜?Kotlin 閭f牱鏈夊畼鏂规敮鎸併€備絾鏄叏鏍堥亾璺槸娌℃湁闅滅鐨勶紝Apple 杩樺缓绔嬩簡 SSWG锛圫wift Server Work Group锛夋潵鎺ㄨ繘銆傛澶?Swift 涔熷彲鑳戒細瀹樻柟鏀寔缂栬瘧鍒?WASM 鏉ユ敮鎸?Web 骞冲彴銆傛€讳箣锛屽悇璇█閮藉湪涓嶆柇鍙戝睍鍏惰法绔拰鍏ㄦ爤鐨勮兘鍔涖€?/p>
杩欎簺璇█褰撲腑锛屾€讳綋鏉ョ湅锛孞S/TS 浠嶇劧鏄法绔拰鍏ㄦ爤鑳藉姏鏈€寮虹殑璇█銆俉eb 鑷笉蹇呰锛孉ndroid銆乮OS 绯荤粺涔熼兘鏄甫鏈夊畬鏁寸殑 JS 寮曟搸鐨勶紝鑷冲皯璇█鏈韩鐨勬爣鍑嗗簱鏄棤闇€棰濆鎴愭湰鐨勩€備篃鍥犳 JS 鏈韩灏辨槸涓€涓紪璇?target銆傚熀鏈笂鐜板湪鎵€鏈夌殑鏂拌瑷€閮芥妸鑳藉缂栬瘧鍒?JS 浣滀负蹇呴』杈炬垚鐨勭洰鏍囥€?/p>
濡傛灉涓€瀹氳璇?JS 鐨勫急鐐圭殑璇濓紝鍙兘鏄己涔忕紪璇戝埌 Native 鐨勮兘鍔涖€傝櫧鐒?JS 寮曟搸楂樺害浼樺寲锛屼絾鍦ㄦ瀬鑷存€ц兘涓婁粛鐒舵病娉曡窡 Native 姣斻€備絾鎴戜滑鐜板湪鏈?WebAssembly锛丣S 寮曟搸鍚屾椂涔熸槸 WASM 寮曟搸銆傚綋鎴戜滑鍙戠幇鏈夋€ц兘鐡堕锛屽氨鍙互浣跨敤鍏朵粬璇█濡?C銆丆++銆丷ust 绛夌紪璇戝埌 WebAssembly 浠庤€岃幏寰楀熀鏈帴杩?Native 鐨勬€ц兘銆傝繖鏍峰湪鍩轰簬 JS 鐨勮В鍐虫柟妗堜笂灏辫ˉ涓婁簡杩欎竴鐜€?/p>
璋堝埌璺ㄧ鍜屽叏鏍堬紝鍓嶉潰璁茬殑閮芥槸鍑鸿韩鍓嶇鎴栫Щ鍔ㄧ鐨勭紪绋嬭瑷€銆傚綋鐒舵垜浠篃鏈夊叾浠栫殑鏂扮殑鑰佺殑璇█銆傞偅浜涜瑷€涓嶆槸璇翠笉鎯冲仛鍓嶇锛屾垜浠彂鐜板緢澶氬叾浠栬瑷€閮藉皾璇曡繃寰€鍓嶇鍙戝睍锛屼絾鏄兘涓嶆槸寰堟垚鍔熴€?/p>
鎴戜滑鍙互鐪嬪埌涓€闂ㄧ紪绋嬭瑷€瑕佹墿寮犻鍩燂紝浠庡墠鍒板悗姣旇緝瀹规槗锛屼粠鍚庡埌鍓嶅氨姣旇緝闅俱€傝繖涓彲鑳芥湁寰堝鍘熷洜浜嗭紝鍍忎箣鍓嶈鍒扮殑闈炲钩鍙伴挦瀹氳瑷€鍙兘闇€瑕侀澶栫殑 runtime 搴撳氨鏄竴涓棶棰樸€傝繕鏈夋瘮鏂硅鏋舵瀯鎬濇兂鐨勫樊寮傘€傝瑷€鐨勫彂灞曡繕鏄鍏堟潵鑷簬寮€鍙戣€呯殑闇€姹傘€?/p>
鈥滀粠鍓嶅埌鍚庘€濈殑寮€鍙戣€咃紝閫氬父鍊惧悜浜庢妸鍓嶇鍜屽悗绔浣滃绛夛紝鍥犺€岄噰鐢ㄥ墠鍚庣鍒嗙鐨勬灦鏋勩€傝€屽浜庘€滀粠鍚庡埌鍓嶁€濈殑寮€鍙戣€呮潵璇达紝鍑哄彂鐐瑰彲鑳藉弽鑰屾槸甯屾湜娑堥櫎鍓嶅悗绔垎绔嬶紝鎶婂墠绔綔涓轰竴涓綅浜庢暣涓郴缁熻竟缂樼殑琛ㄧ幇灞傛潵瑙e喅銆?/p>
浠庡巻鍙蹭笂鐪嬶紝杩欑鏋舵瀯瀹炴柦璧锋潵闅惧害杈冨ぇ锛屽緢闅惧钩琛$敤鎴蜂綋楠岄渶姹傚拰鎶借薄澶嶆潅搴︺€傝櫧鐒惰繖鍏跺疄骞朵笉鏄瑷€鐨勯攨锛屼絾浼氬奖鍝嶅ぇ瀹跺璇█閫傜敤棰嗗煙鐨勭湅娉曘€傚綋鐒跺彲鑳借繕鏈夊緢澶氬叾浠栧師鍥狅紝鎴戣繖閲屼笉鍏蜂綋灞曞紑浜嗭紝澶у鍙互鑰冭檻鍚庨潰鏈変竴浜涗粈涔堟牱鐨勫洜绱犮€?/p>
鎴戜滑鍓嶉潰鐪嬪埌浜嗕笉鍚岀殑鏂扮殑鍓嶇鍜岀Щ鍔ㄧ鐨勭紪绋嬭瑷€锛屽綋鐒跺畠浠儚瀹冧滑鐨勫墠杈堜竴鏍凤紝浠嶇劧浼氭湁璁稿涓嶅悓锛屽洜涓哄湪鏁翠釜鍙戝睍杩囩▼褰撲腑锛屼竴瀹氳鑰冭檻涔嬪墠鐨勩€佸缓绔嬪湪涓婁竴浠g紪绋嬭瑷€涓婄殑鎶€鏈祫浜с€備絾鏄€讳綋鏉ヨ锛屾垜浠彲浠ュ彂鐜帮紝杩欎簺鏂颁竴浠e墠绔瑷€鏄秼鍚岀殑銆?/p>
鎴戜滑鍙戠幇锛屾柊涓€浠e墠绔瑷€鐨勮娉曟瘮鍘熸潵鏇村姞鎺ヨ繎銆傚緢澶氳緝鏂扮殑鐗规€у嚑涓瑷€閮芥湁锛岃€屼笖璇硶鏄熀鏈竴鏍风殑銆?/p>
姣斿璇粹€?.鈥濊繍绠楃锛屾彁渚涗簡鏇寸畝娲佺殑 null-safe 鐨勫睘鎬ц闂娉曪紝Kotlin銆丼wift 鍜?Dart 閮芥敮鎸併€侸avaScript 涔熸棭灏辨湁鎻愭锛屼絾鏄娉曚笂鏈変竴鐐逛簤璁紝鎵€浠ヤ竴鐩存病鏈夎繘灞曪紝杩欎篃瀵艰嚧 TypeScript 鍥㈤槦鎷掔粷瀹炵幇璇ョ壒鎬с€備笉杩囨湰鏈堬紙2019 骞?6 鏈堬級鏈堝垵鏃剁粓浜庤揪鎴愪竴鑷存剰瑙侊紝缁存寔浜嗗拰鍏朵粬璇█涓€鏍风殑鈥?.鈥濈鍙凤紝鎻愭涔熻繘鍏ュ埌浜?Stage 2銆傛垜浠篃鍙互鏈熷緟灏藉揩鑳藉湪 TypeScript 涓娇鐢ㄨ鐗规€с€?/p>
璇硶鐨勮秼鍚屼笂锛屾渶鏄庢樉鐨勫綋鐒舵槸 OC 鍒?Swift 鐨勮浆鍙樸€係wift 鐜板湪璺熷叾浠栬瑷€鏄潪甯稿儚鐨勩€傚寘鎷懡鍚嶉鏍硷紝姣斿鍓嶉潰鎻愬埌鐨勯偅涓?OC 鐨勨€渟tringByReplacingOccurrencesOfString:withString:鈥濓紝鍦?Swift 閲屽氨绠€鍖栦簡锛岀幇鍦ㄦ槸鈥渞eplacingOccurrences(of: 鈥? with: 鈥?鈥濓紝骞朵笖鍊熷姪 extensions 鐗规€э紝 绋嬪簭鍛樺彲浠ヨ嚜琛屽姞鍏ュ拰鍏朵粬璇█瀹屽叏涓€鑷寸殑鈥渞eplace()鈥濓紝杩欐牱鍐欏嚭鏉ョ殑浠g爜鍜屽叾浠栬瑷€灏卞嚑涔庡畬鍏ㄤ竴鏍蜂簡銆?/p>
鍙﹀鎵€鏈夋柊鐨勮瑷€閮借繘涓€姝ュ姞寮虹被鍨嬪畨鍏ㄣ€?/p>
棣栧厛灏辨槸闈欐€佺被鍨嬫敮鎸侊紝鍍?TS 灏辩粰 JS 鎶婇潤鎬佺被鍨嬪姞涓婁簡銆侽C 鏈潵鏈夊緢澶氬湴鏂逛篃鏄姩鎬佺被鍨嬬殑锛岀幇鍦?Swift 鍒欐槸瀹屽叏鐨勯潤鎬佺被鍨嬨€傞潤鎬佺被鍨嬬殑寮曞叆锛屽澶у瀷缂栫▼鏄潪甯告湁甯姪鐨勶紝姣旀柟璇磋 IDE 鑳藉叿鏈夊噯纭殑浠g爜鎻愮ず鍜岃嚜鍔ㄥ畬鎴愮殑鑳藉姏銆?/p>
灏界鏄潤鎬佺被鍨嬶紝浣嗘垜浠苟涓嶉渶瑕佸湪姣忎釜鍦版柟閮芥樉寮忓0鏄庣被鍨嬶紝鍥犱负杩欎簺鏂拌瑷€閮藉ぇ閲忎娇鐢ㄨ嚜鍔ㄧ被鍨嬫帹瀵硷紝鏃㈣幏寰椾簡闈欐€佺被鍨嬬殑濂藉锛屼篃娌℃湁鍔e寲寮€鍙戣€呬綋楠屻€傚緢澶氭椂鍊欐垜浠敋鑷宠寰楋紝濡傛灉浣犵殑浠g爜澶ч儴鍒嗘槸鑳舵按浠g爜鎴栧簲鐢ㄩ€昏緫锛屽挨鍏舵槸缂栧啓 UI 鐨勬椂鍊欙紝濂藉儚鍜岀敤鍔ㄦ€佺被鍨嬬殑璇█鍐欏嚭鏉ョ殑浠g爜娌℃湁浠€涔堝尯鍒€?/p>
杩欎簺鏂颁竴浠h瑷€涔熼兘鏀寔娉涘瀷銆備笉鏄墍鏈夐潤鎬佺被鍨嬬殑璇█閮芥敮鎸佹硾鍨嬶紝姣斿 Go锛堝綋鐒?Go 2.0 涔熻鍔犲叆娉涘瀷锛夈€傛硾鍨嬪浜庣綉缁滄湇鍔″紑鍙戞潵璇存垨璁镐笉涓€瀹氶偅涔堥噸瑕侊紝浣嗗浜庡簲鐢ㄥ紑鍙戞垜璁や负杩樻槸鐩稿綋閲嶈鐨勩€?/p>
鎴戜滑鏃ュ父寮€鍙戜腑缁忓父浣跨敤瀹瑰櫒绫伙紝娉涘瀷瀵逛簬瀹瑰櫒绫荤殑绫诲瀷瀹夊叏鏉ヨ蹇呬笉鍙皯銆傝繕鏈?non-null 鍜?null-safe锛屽墠闈㈡彁鍒版墍鏈夌紪绋嬭瑷€閮藉湪鍔犲叆杩欐柟闈㈢殑鐗规€э紝搴曚笅鍙兘鍚勬湁涓嶅悓锛屾瘮濡?Swift 鏄熀浜?Optional type 鑰屾病鏈変紶缁熺殑 null锛孞S/TS 鍒欐湁涓や釜 null 鍊硷紙null 鍜?undefined锛夝煠紝浣嗛潰涓婄殑璇硶鍩烘湰涓€鏍凤紝缂栫▼浣撻獙涔熷緢鎺ヨ繎锛屽彲浠ヨ锛岄兘姣旇緝濂界殑瑙e喅浜嗙┖鎸囬拡杩欎釜鈥滀环鍊间嚎涓囩編鍏冪殑閿欒鈥濄€?/p>
闄や簡璇硶銆佺被鍨嬪畨鍏ㄤ箣澶栵紝鎴戜滑杩樺彲浠ョ湅鍒拌瑷€璁炬柦涔熸湁涓€涓秼鍚岀殑鍊惧悜銆備妇涓緥瀛愶紝寮傛缂栫▼璁炬柦瀵逛簬鍓嶇寮€鍙戦潪甯搁噸瑕侊紝鍥犱负涓嶇浠€涔堝钩鍙帮紝涓轰簡淇濊瘉鐢ㄦ埛浣撻獙锛屽叡鍚岀殑鍑嗗垯閮芥槸涓嶈兘鍦?UI 绾跨▼閲屽仛闈炲父 heavy 鐨勬搷浣滃鑷寸敤鎴锋搷浣滄棤鍝嶅簲锛岃繖绉嶆儏鍐典笅锛屽紓姝ョ紪绋嬶紝澶勭悊寰堝寮傛鐨勬搷浣滃彉鎴愬繀鐒惰鍋氱殑浜嬫儏浜嗭紝鑰屼笖闈复鐨勬寫鎴樺叾瀹炲湪鍚勪釜璇█閲岄潰涔熼潪甯哥被浼硷紝姣旀柟璇?callback hell銆傛墍浠ユ暣涓紓姝ョ紪绋嬫柟闈紝鍙互鍙戠幇鏂拌瑷€涔熻秺鏉ヨ秺鎺ヨ繎銆傛瘮濡傚緢澶氶兘鏄熀浜?Promise 鎴栬€呭彨 Future 妯″紡銆侸S/TS 鍜?Dart 閲屾槸浣滀负鏍囧噯搴擄紝Swift 涓嬫湁 PromiseKit銆傝繘涓€姝ョ殑锛岃瑷€鍙兘鍔犲叆 async/await 璇硶锛孞S/TS銆丏art 閮芥敮鎸侊紝Swift 涔熷凡缁忔湁鎻愭锛屾湭鏉ヤ篃浼氬姞鍏?async/await 鐗规€с€侹otlin 鐨勬満鍒惰櫧鐒跺彲鑳界暐鏈変笉鍚岋紝鏄熀浜?coroutine 鐨勶紝浣嗕粠缂栫▼浣撻獙涓婄湅锛屼篃鏄ぇ鍚屽皬寮傘€?/p>
姝ゅ锛屽墠绔瑷€鍦ㄥ紑鍙戜綋楠屼笂涔熶簰鐩稿€熼壌銆備笂涓€涓紨璁查噷钁e崥澹紙Flutter 鍥㈤槦楂樼骇鐮旂┒鍛橈細钁i煬鍗氬+锛夋彁鍒颁簡 Hot Reload锛岃繖涓繃鍘诲彧鏈?Web 鍓嶇寮€鍙戣€呭彲浠ヤ韩鍙楀埌鐨勪究鍒╂€с€備絾鏄幇鍦ㄥ叾浠栫涔熼兘寮曞叆浜嗐€傛瘮濡傚湪 Android 涓?Instant Run锛孎lutter 涔熸彁渚涗簡 Hot Reload锛孲wift鍙兘娌℃湁瀹樻柟鐨勶紝浣嗘槸鏈夌ぞ鍖烘柟妗堛€傛€讳綋鏉ヨ锛屾暣涓綋楠屾槸寰€杩欐柟闈㈤潬鎷㈢殑銆傚洜涓鸿繖涓浜庢垜浠紑鍙戞晥鐜囦細鏈夋彁楂樼殑銆?/p>
涓轰粈涔堟垜浠湪璇硶銆佺被鍨嬪畨鍏ㄣ€佽瑷€璁炬柦鍜屽紑鍙戜綋楠岀瓑鏂归潰浼氬嚭鐜拌秼鍚岋紵
绗竴锛岃繖鍑犱釜鍓嶇璇█鐨勭敓鎬佷綅鏄被浼肩殑銆傛垜浠篃鏈変竴浜涘緢鏈夌壒鑹茬殑璇█锛屾瘮濡?Elm銆丆lojure銆丷easonML 閭f牱涓€浜涜瑷€锛岄兘寰堟湁鐗硅壊锛屼絾鏄敓鎬佷綅璺熸垜浠墠闈㈣鐨勫畼鏂光€滈挦瀹氣€濈殑鍓嶇璇█涓嶄竴鏍凤紝瀹冧滑鍦ㄦ簮娴佷笂鏈潵灏卞熀浜庣浉瀵瑰皬浼楃殑璇█锛圚askell銆丩isp銆丱Caml锛夛紝杞埌鍓嶇棰嗗煙锛屽氨绠楁湁澶у巶鍔犳寔锛堝 ReasonML 鏄?facebook 鎺ㄥ嚭鐨勶級锛屼篃鍙兘鏄墍璋?niche锛屽眬闄愬湪鐗瑰畾浜虹兢锛堝悇娴佹淳鍑芥暟寮忕紪绋嬭瑷€鐨勭埍濂借€咃紝鑳藉姏寰堝己鐨勫皬鍥㈤槦绛夛級銆傛垜浠墠闈㈣鐨勬柊涓€浠e钩鍙扳€滈挦瀹氣€濈殑鍓嶇璇█锛屽敖绠$幇鍦ㄥ彲鑳藉彧鏄湪涓€涓钩鍙颁笂锛屼絾閮芥槸甯屾湜鍗犳嵁鏇村ぇ鐨勫競鍦虹殑銆傚畠浠兘瑕佹姠鍗犫€滀富娴佸伐涓氳瑷€鈥濈殑鐢熸€佷綅锛屾墍浠ヤ粬浠槸浠ヤ富娴佸伐涓氳瑷€涓烘爣鐨勬潵璁捐鍜屾帹骞跨殑銆傚湪杩欐牱鐩稿悓鐨勭敓鎬佷綅涓婏紝鎵€鏈夌殑涓滆タ灏变細鏈変竴涓浉浼兼€с€傝鎴愪负涓绘祦宸ヤ笟璇█锛屼綘瑕佸惛寮曞凡鏈夌殑涓绘祦宸ヤ笟璇█鐨勪娇鐢ㄨ€咃紝灏介噺闈犺繎浼犵粺鐨?Java銆丆#锛屾棤璁烘槸璇硶銆佽瑷€鐗规€с€佺紪绋嬭寖寮忥紙瀵?OOP 鐨勬敮鎸侊級涔嬬被鐨勶紝灏辨瘮杈冮噸瑕併€?/p>
绗簩锛屾暣涓墠绔紑鍙戣€呯殑娴佸姩锛屾湰鏉ュ師鏉ユ槸 Web 鍓嶇寮€鍙戣€咃紝鐜板湪鍋?iOS 鎴栬€?Android 鐨勫紑鍙戯紝鎴栬€呭弽杩囨潵銆傝繖涓秼鍔块潪甯搁潪甯告槑鏄俱€傛垜涓句竴涓緥瀛愭潵璁诧紝浠ュ墠鎴戜滑瑙夊緱 React 鍙槸涓€涓?Web 鍓嶇棰嗗煙鐨勬鏋讹紝浣嗘槸 React Native 鎺ㄥ嚭涔嬪悗锛屾湁涓€娆℃垜鍘诲惉 React Native 鐨勬妧鏈垎浜紝浼氬満閲屾湁涓€鍗婁互涓婃槸 iOS 鍜?Android 寮€鍙戣€呫€傚洜涓鸿繖涓祦鍔ㄧ殑瓒嬪娍锛屾垜浠笇鏈涢樆纰嶆祦鍔ㄧ殑鍥犵礌瓒婂皯瓒婂ソ銆備綔涓烘柊涓€浠b€滀富娴佸伐涓氳瑷€鈥濈殑绔為€愯€咃紝浜掔浉鍙傝€冨€熼壌锛屽氨鍝嶅簲浜嗚繖鏍蜂竴绉嶅紑鍙戣€呮祦鍔ㄧ殑闇€姹傘€?/p>
绗笁锛屾湰璐ㄥ洜涓洪兘鏄墠绔紑鍙戯紝闂棰嗗煙闈炲父鐩镐技锛屾瘮濡傚墠闈㈠凡缁忚杩囦簡寮傛缂栫▼鐨勫叡鎬с€傛棦鐒跺畠鐨勯棶棰橀鍩熸槸鐩镐技鐨勶紝鏈€鍚庣殑缁撴灉鍙兘涔熶細娈婇€斿悓褰掋€傚洜涓哄ソ涓滆タ澶у閮芥兂鐢ㄥ槢銆傚湪杩欎竴鐐逛笂鎴戞兂鐗瑰埆璁蹭竴涓?UI DSL銆?/p>
JS/TS 涓嬬殑 JSX/TSX锛孠otlin 鐨?Anko锛孲wift 鍒氬垰鍙戝竷鐨?SwiftUI锛屾渶鍚?Flutter锛岃繖鍥涗釜涓滆タ锛屽叾瀹炲湪寰堝鍦版柟鏄潪甯哥浉浼肩殑锛屽嵆鎵€璋?UI-as-code銆傚綋鐒舵垜浠洿瑙変笂浼氳涓哄畠浠湁涓€浜涗笉鍚岋紝姣斿鎴戜滑瑙夊緱 JSX 鏄被 XML/HTML锛岃€屽悗闈㈠嚑涓墠鏄湡鐨勮瑷€鏈韩鐨勪唬鐮併€傜‘瀹炶〃闈笂鏄湁杩欎釜宸埆銆?/p>
涓轰粈涔堝湪 JS/TS 鍑虹幇 JSX锛屼富瑕佸師鍥犳槸 JS/TS 鍙楀埌寰堝鏃㈠線鐨勯檺鍒讹紝涓嶅お閫傚悎鍦ㄨ瑷€鍐呴儴鍋氬嚭涓€涓ソ鐢ㄥソ鐪嬬殑 DSL锛屾墍浠ュ共鑴嗘妸澶у鐔熸倝鐨?XML/HTML 璇硶寮曞叆浣滀负璇硶绯栵紝鐢ㄨ浆璇戝櫒鍘昏浆鎹㈡垚绛夋晥浠g爜銆傦紙褰撶劧杩欎釜鏂瑰紡鍏跺疄鏄湁涓€浜涘悗閬楃棁鐨勶紝姣斿寰堥毦杩涘叆璇█鏍囧噯銆傦級鐩稿弽锛孠otlin 鍦ㄨ璁′箣鍒濆氨鎶?DSL 浣滀负璁捐鐩爣锛屾墍浠ュ彲浠ュ仛鍑哄緢濂界殑 DSL銆係wift 涔熷叿鏈夌被浼肩殑鑳藉姏銆?/p>
Flutter 灏辨瘮杈冩湁鎰忔€濅簡锛孌art 鍦ㄥ緢澶氭柟闈㈠緢淇濆畧锛屽鍐呴儴 DSL 璁捐涓嶆槸鐗瑰埆鍙嬪ソ锛屾墍浠ヨ窡 JS/TS 鏈夌浉浼奸棶棰橈紙褰撶劧杩樻槸姣?JS/TS 濂藉浜嗭級锛屽畠鍋氬嚭鐨?DSL 涓嶆槸寰堝ソ鐪嬨€備笉杩囪懀闊崥澹紙Flutter 鍥㈤槦楂樼骇鐮旂┒鍛橈級宸茬粡璁蹭簡锛屽凡缁忓仛浜嗗緢澶氭敼杩涳紝鍖呮嫭鏈変竴浜涜瑷€灞傞潰鐨勬敼杩涳紝浣垮緱 DSL 鑳界湅璧锋潵鏇存竻鏅帮紝鍙﹀閫氳繃 IDE 鐨勬敼杩涳紝涔熻兘澶熷讥琛ュ湪璇█灞傞潰娌℃湁鍔炴硶瀹屽叏瑙e喅鐨勯棶棰樸€傛棤璁哄浣曪紝UI-as-code 杩欎釜瓒嬪娍鏄叡閫氱殑銆?/p>
鏈変袱涓柟鍚戯細
涓€涓槸涓撶敤 DSL 浠g爜鍖栵紝鎴栬€呰鏄閮?DSL 鍐呴儴鍖栥€俉eb 绔氨鏄繖鏍凤紝鍘熸潵鐨?HTML 鍙樻垚浜?JSX/TSX锛屽師鏈0鏄庡紡鐨勫閮?DSL 鍙樻垚鍙互鐢ㄤ唬鐮佹搷绾电殑瀵硅薄銆傚寘鎷垜浠紶缁?CSS锛屽湪杩欎釜浣撶郴閲屽氨鍊惧悜浜?CSS in JS銆傛柟妗堝悇绉嶅悇鏍凤紝浣嗘槸閮芥槸瑕佹妸鏈潵鍗曠嫭鍒嗙鐨?CSS 鎴栧唴宓屼簬 HTML 鐨?CSS 杞负鍐呭祵鍒?JS/TS 浠g爜閲岋紝鐢?JS/TS 浠g爜寮曠敤鍜岀鐞嗐€傝繖鏂瑰紡濂戒笉濂芥垜浠彟璇达紝浣嗘€濊矾灏辨槸杩欐牱銆?/p>
鍙︿竴涓紝灏辨槸 JS/TS 浠ュ鐨勮瑷€锛屽畠浠槸鍛戒护寮忎唬鐮佺殑澹版槑鍖栵紝杩欎釜灏变笉澶氳В閲婁簡銆傝繖涓や釜鏂瑰悜锛屽畠浠湪鏈川涓婃槸娈婇€斿悓褰掔殑銆傛渶鍚庤揪鍒扮殑灏辨槸涓€涓0鏄庢€?DSL 鍜屽懡浠ゅ紡绋嬪簭鐨勭粨鍚堬紝鎴栬€呭彨缁熶竴銆?/p>
鍓嶄竴娈碉紝React 鎺ㄥ嚭浜?React Hooks锛屽彲浠ョ悊瑙d负鏂颁竴浠g殑 UI DSL銆傚儚鎴戝墠闈㈣瓒嬪悓锛屽湪 React Hooks 涓婁篃椹笂鍙互鐪嬪嚭鏉ワ紝React Hooks 鎺ㄥ嚭涔嬪悗锛屾垜浠暣涓?Android 绀惧尯銆丼wift 绀惧尯锛屽寘鎷?Flutter 绀惧尯閮藉彲浠ョ湅鍒伴┈涓婃湁寮€婧愰」鐩窡杩涳紝灏濊瘯鎶?React Hooks 鐨勬ā寮忔惉杩愬埌鍚勪釜骞冲彴涓娿€傛墍浠ヤ篃鍗拌瘉鎴戝墠闈㈣鐨勪负浠€涔堜細瓒嬪悓鐨勯偅涓夌偣锛屽悇涓钩鍙板拰璇█浜掔浉褰卞搷鍜屽€熼壌銆俁eact Hooks 浣滀负鐜板湪杩樻槸涓€涓柊鐨勩€佹垜璁や负涔熸瘮杈冨厛杩涳紝纭疄鏈夊緢澶氫紭鐐圭殑瑙e喅鏂规锛屾垜浠湡寰呭畠浼氫笉浼氬湪涓嶄箙鐨勫皢鏉ヨ鍚告敹鍒板悇涓钩鍙扮殑瀹樻柟鏂规閲岄潰鍘汇€?/p>
璇村埌 React锛屾垜涔熻鎻愪竴涓?Vue銆傚湪涓嶄箙涔嬪墠鍦?VueConf 涓婇潰锛孷ue 浣滆€呭挨闆ㄦ邯浠嬬粛浜?Vue 3 鏈潵鐨勮璁°€傛瘮濡?Vue 3 鐨?function-based component 涔熷€熼壌浜?React Hooks 鐨勬柟寮忥紝浣嗘槸璺?React Hooks 杩樻槸鏈変竴浜涘尯鍒殑锛屾瘮濡傚緢鈥滃阀鍚堚€濈殑閬垮厤浜?React Hooks 璁捐涓婄殑涓€浜涗唬浠枫€傝繕鏈変竴涓瘮杈冮噸瑕佺殑锛屾垜浠墠闈㈣ UI-as-code锛屼技涔庡ぇ瀹堕兘涓嶇敤妯℃澘浜嗭紝浣嗘槸杩欓噷鏈変竴涓瑙o紝template 鍜?UI-as-code 灏变竴瀹氭槸鐭涚浘鐨勫悧锛?/p>
鍦?Vue 3 褰撲腑鍋氱殑涓€涓簨鎯呭氨鏄?template 鍜?render 鍋氫簡瀹岀編缁撳悎銆倀emplate 鏄湡姝e0鏄庡紡鐨勪笢瑗匡紝鍙互鍋氬交搴曠殑闈欐€佸垎鏋愩€傚墠闈㈣鐨勭幇鍦ㄧ殑閭d簺 UI-as-code 铏界劧鏄0鏄庡紡鐨勶紝浣嗘槸鏈川浠嶇劧鏄?code锛屽緢澶氬湴鏂规病娉曢潤鎬佸垎鏋愶紝姣斿纭畾鍒板簳鍝釜灞€閮ㄥ彂鐢熶簡鍙樻洿锛屼緷璧栧叧绯绘槸浠€涔堬紝杩欏彲鑳芥槸鏈潵瑕佸幓瑙e喅鐨勯棶棰樸€?/p>
Vue 宸茬粡鍏堜竴姝ユ嬁鍑轰簡瑙e喅鏂规銆俈ue 鐨勮璁¤繕鏄紩瀵煎紑鍙戣€呭敖閲忎娇鐢?template锛岃繖鏍峰彲浠ュ厖鍒嗗埄鐢ㄩ潤鎬佷俊鎭紝鍚屾椂灞€閮ㄥ彲浠ヨ嚜瀹氫箟 render 瀹炵幇锛岃幏寰楀畬鍏ㄧ殑鍙帶鎬у拰鐏垫椿鎬с€傝繖鏍?Vue 鍙互绮剧‘璁$畻鍑?UI 鐨勫彉鏇达紝浣垮緱鎵€闇€鐨勫簳灞傛洿鏂版搷浣滄渶灏忓寲锛岃幏寰楁儕浜虹殑鎬ц兘鎻愬崌銆傚叿浣撹繖閲屼笉灞曞紑浜嗭紝澶у鍙互鍘昏嚜琛屼簡瑙o紝杩欐槸鐩墠鎴戠湅鍒版渶鍏堣繘鐨勬柟妗堛€?/p>
鎵€浠ヨ鍗曠嫭鐨?UI-as-code 鏈韩鏄笉鏄竴瀹氭槸鏈€濂界殑銆佹渶缁堢殑绛旀锛熷彲鑳戒笉鏄€備絾鎴戜滑涔熶笉鐢ㄦ媴蹇冿紝濡傛灉鏄湡鐨勫ソ涓滆タ锛岄偅涔堟寜鐓ф垜鍓嶉潰璁茬殑锛屼竴瀹氫細娴佷紶鍒板悇涓瑷€鍜屽钩鍙般€傚彧涓嶈繃锛屾垜鍦ㄨ繖閲屾彁鍑烘潵锛岃繖涔熻鏄竴涓満浼氾紝鎴戜滑鎶婃彙鍒拌繖涓秼鍔匡紝涔熷彲浠ュ幓鍙備笌鍜屾帹鍔ㄨ繖涓秼鍔匡紝涔熷氨鏄弬涓庡垱閫犳湭鏉ャ€?/p>
棰勬祴鏈潵鏄緢鍗遍櫓鐨勪簨鎯咃紝90% 鐨勬鐜囨槸閿欒鐨勩€備絾鏄垜杩樻槸鎰挎剰鍐掗櫓璋堜竴璋堛€?/p>
棣栧厛鏈変竴鐐规槸鏈潵杩欎簺鍓嶇璇█浼氳秺鏉ヨ秺鐩镐技銆傚洜涓哄墠闈㈣浜嗙湅鍒拌繖鏍风殑瓒嬪娍锛屾垜瑙夊緱浠庡緢澶氭柟闈紝涓€鏂归潰纭疄鐪嬪埌纭疄鏄繖鏍凤紝涓嶅悓鐗规€у鏋滆璇佹槑濂界殑璇█鐗规€э紝鎴栬€呰璇佹槑瀵瑰紑鍙戣€呮槸鏈変环鍊肩殑锛岄偅涔堝畠浼氬湪涓嶅悓鍓嶇璇█鍜屽钩鍙板綋涓櫘鍙婂紑鏉ャ€?/p>
浣嗘槸鍙﹀涓€鏂归潰涔熻娉ㄦ剰锛屾瘯绔熻瑷€杩樻槸鏈夊樊寮傜殑銆備互涓嬫槸涓€浜涗釜浜虹殑鎰熷彈銆?/p>
鎴戜滑鎰熻 Swift 鏄浉瀵规瘮杈冩縺杩涚殑璇█锛岃浜鸿療鐥呮瘡骞撮兘瑕佸涓€闂ㄦ柊璇█銆傚綋鐒?Swift 鍙戝睍鍒扮幇鍦ㄨ繖涓増鏈紝鍩烘湰涔嬪墠寰堝涓滆タ宸茬粡鐩稿绋冲畾涓嬫潵浜嗭紝鍙互璁や负浠庣媯椋欑殑闃舵杩涘叆鐩稿绋冲畾鐨勯樁娈点€備絾鏄€讳綋涓婃垜浠繕鏄細鎰熻锛孲wift 杩欎釜璇█鍜岃繖涓ぞ鍖烘槸涓嶆€曞仛涓€浜涙縺杩涚殑鏀瑰彉鐨勩€傛瘮鏂硅 SwiftUI 涔熻鏈潵涔熶細鏈夊緢澶氱殑鏀瑰姩銆?/p>
Kotlin 灏辨槸涓€涓浉瀵规瘮杈冧腑搴哥殑璇█銆傚彲鑳藉緢澶氫汉涓嶅悓鎰忔垜鐨勭湅娉曪紝瑙夊緱 Kotlin 涔熷姞鍏ヤ簡闈炲父澶氬厛杩涚殑璇█鐗规€э紝瀹屽叏涓嶄簹浜?Swift銆傜‘瀹炴槸杩欐牱銆備絾鏄繖涓腑搴告槸鍜?Java 鏁翠釜骞冲彴涓嬪叾浠栦竴浜涜瑷€姣旇緝锛孠otlin 闈炲父娉ㄩ噸鍙互澶嶇敤 Java 鐜版湁鐨勪笢瑗裤€傛墍浠ユ垜瑙夊緱瀹冪殑绉夋€у叾瀹炴槸姣旇緝涓焊鐨勶紝涓焊鍦ㄨ繖閲屼笉鏄船涔夎瘝锛屾槸涓€涓緢濂界殑鐗规€с€?/p>
Dart 杩欎釜璇█锛屽氨鏄竴涓浉瀵规瘮杈冧繚瀹堢殑璇█锛屾瘮濡傚紩鍏ユ墍鏈夎瑷€鏂扮壒鎬х殑鏂归潰鏈夌偣鎱紝鐢氳嚦鏈夋椂鍊欐槸杩熺紦銆傛湁涓€浜?Kotlin銆丼wift 鏃╁氨鏈夌殑鐗规€э紝Dart 灏辨瑺濂夛紝涓€鐩村埌纭俊寮€鍙戣€呴潪甯搁渶瑕佽繖鐗规€э紝鎵嶄細鎻愪笂璁簨鏃ョ▼銆備笉杩囦繚瀹堜笉涓€瀹氭槸鍧忕殑锛屼繚瀹堟湁淇濆畧鐨勫ソ澶勩€侱art 璇█鐨勬渶鍒濅綔鑰呮湰韬氨鏄悶 VM 鐨勶紝瑕佺‘淇濇煇涓瑷€鐗规€у湪 VM 鍙互楂樻晥杩愯锛屽浜庤瑷€璁捐鏉ヨ灏辨湁姣旇緝楂樼殑绾︽潫銆傝繖涔熻鏄?Dart 淇濆畧绉夋€х殑婧愬ご銆?/p>
鏈€鍚庢槸 JS/TS锛屽畠鍜屽墠闈笁涓瑷€鏈変竴涓噸瑕佸尯鍒€傚墠闈笁涓瑷€铏界劧閮芥槸 open source 鐨勶紝浣嗛兘鏄湁涓诲鑰呯殑銆係wift 涓诲鑰呮槸 Apple锛孌art 涓诲鑰呮槸 Google锛孠otlin 鍒欐槸 JetBrains銆?/p>
TypeScript 铏界劧鏄?Microsoft 寮€鍙戠殑锛屼絾 TS 鐨勬湭鏉ュ緢澶х▼搴︿笂骞朵笉鍙栧喅浜?Microsoft锛岄櫎浜嗙被鍨嬬郴缁熶箣澶栵紝鍏朵粬閮芥槸 JS 甯﹁繃鍘荤殑銆?/p>
JS 杩欎釜璇█鐜板湪鏄竴涓瘮杈冨吀鍨嬬殑濮斿憳浼氳瑷€浜嗐€傝繖閲岄潰鍏跺疄娌℃湁涓€涓潪甯稿己鍔夸富瀵兼柟锛岃€屾槸濮斿憳浼氱殑涓€缇や汉涓€璧峰幓鍚堜綔鏀硅繘鐨勩€傞偅涔堣繖缇や汉寰堝鏂归潰灏变細闈炲父涓嶅悓锛屾垜浠湅 JS 鏂扮壒鎬х殑鎻愭璁ㄨ锛屾棦鏈夐潪甯告縺杩涚殑鍔ㄨ锛屼篃鏈夐潪甯镐繚瀹堢殑锛屾湁涓€浜涚壒鎬т笉鎰挎剰鍔犮€備汉澶氬槾鏉傦紝浜嬫儏灏遍毦鍔炪€傝€屼笖 TS/JS 鍏跺疄鏈川涓婃槸浠庡墠涓€浠h瑷€锛堜紶缁?JS锛夊彂灞曡€屾潵锛屽畠涓嶅儚鍏朵粬鍑犱釜璇█鏄叏鏂扮殑锛屽畠杩樻槸瑕佽儗璐熺潃涓嶅皯鍘嗗彶鍖呰⒈銆?/p>
JS 绀惧尯鍙堥潪甯稿鏉傦紝宸紓鎬у緢澶э紝鎴戜滑鎬庝箞鐭ラ亾鎬庝箞鍒ゆ柇绀惧尯鍦ㄦ€讳綋涓婄殑闇€姹傚拰濂芥伓锛熷挨鍏舵槸褰撲竴浜涜璁″鑷村埄瀹冲啿绐佹椂锛岃皝鑳戒唬琛ㄧ湡姝gぞ鍖虹殑蹇冨0锛熸墍浠ュ湪杩欓噷鎴戝氨鎵撲簡涓€涓棶鍙凤紝鍙兘涔熸槸鍑轰簬 JS/TS 闇€瑕侀潰涓寸殑闀挎湡鎸戞垬銆傚洜涓烘暣涓瑷€鍦ㄥ彂灞曚笂锛岀己涔忎富蹇冮锛屽彲鑳介潰涓村鍛樹細璇█鐨勫紛鐥呫€?/p>
鎶€鏈笂鐨勪竴涓彉鏁版槸 WebAssembly銆傚墠闈㈣杩?WASM 鍙互琛ラ綈 JS/TS 鐨勭煭鏉裤€備絾鍙︿竴鏂归潰锛屽悇涓叾浠栬瑷€涔熷彲浠ョ敱姝よ繘鍏?JS/WASM 寮曟搸鍙互杩愯鐨勬墍鏈夌殑绔€傛墍浠ヨ繖鏄竴涓綘涓湁鎴戞垜涓湁浣犵殑鎯呭喌銆?/p>
浼氫笉浼氭湁鏂拌€佽瑷€鍊熸鏀瑰彉鍓嶇璇█鐨勬垬灞€鍛紵濂藉儚涔熷緢闅捐涓€瀹氭病鏈夊彲鑳姐€?/p>
杩欓噷杩樻兂璁茬殑鏈潵褰撲腑涓€涓彉鏁帮紝灏辨槸鎴戜滑鍓嶉潰娌℃湁鎻愬埌鐨勫皬绋嬪簭銆傚墠闈㈡彁鍒颁簡 Web 绔€丄ndroid銆乮OS 绔紝浣嗗涓浗寮€鍙戣€呮潵璁诧紝杩樻湁鍙﹀涓€涓鏄皬绋嬪簭锛岃€屼笖鍑嗙‘璁蹭粬杩樹笉鏄竴涓锛屽畠鏄湁寰堝寰堝涓嶅悓瀹剁殑鈥滃皬绋嬪簭鈥濄€佲€滃揩搴旂敤鈥濈瓑锛屽畠浠櫧鐒堕潪甯哥浉浼硷紝浣嗘槸鍙堟湁涓€浜涗笉鍚岋紝鎵€浠ュ湪杩欎釜鍦版柟鍏跺疄涔熸槸涓€涓潪甯稿ぇ鐨勬寫鎴橈紝鍚屾椂鎴戜篃瑙夊緱杩欎篃鏄竴涓緢澶х殑鏈洪亣銆?/p>
澶氱鐨勬柟妗堬紝瀵逛腑鍥藉紑鍙戣€呮潵璁诧紝澶у甯屾湜鎶婂皬绋嬪簭涓€骞惰В鍐炽€傚墠闈㈣懀鍗氬+浠嬬粛浜?Flutter for Web锛屽彲鑳藉浜庝腑鍥藉紑鍙戣€呮潵璁茶繕鏈熷緟鏈?Flutter for 灏忕▼搴忋€傚鏋滃皬绋嬪簭涓嶈兘瑙e喅锛屽湪寰堝鐨勯€夊瀷鍦烘櫙涓嬪氨娌℃湁鍔炴硶閫夋嫨 Flutter銆?/p>
鎵€浠ユ垜浠墠绔殑鎶€鏈爤閫夊瀷锛屾渶澶х殑绾︽潫鐐癸紝绗竴锛屽钩鍙伴渶姹傚埌搴曡法澶氬皯绔紝杩欐槸闈炲父閲嶈鐨勫洜绱犮€傚墠闈㈣鐨勫氨鏄?Flutter 鍦ㄨ繖涓婇潰鏈夊皬绋嬪簭杩欎釜缂洪棬銆傜浜岋紝灏辨槸鍥㈤槦鐨勬妧鏈儗鏅紝杩欎釜鍥㈤槦鏈韩鐔熸倝涓€涓€庝箞鏍风殑寮€鍙戝伐鍏峰拰寮€鍙戣瑷€鐨勭敓鎬併€傛垜浠熀鏈繕鏄粠杩欎袱鐐硅繘琛屽嚭鍙戙€?/p>
鏈€鍚庤涓€鐐规兂娉曘€傛垜浠墠闈㈢湅鍒扮殑鏂拌瑷€锛屽儚 Dart 鏄?Google 鍋氱殑锛屽儚 Swift 鏄?Apple 鍋氱殑锛孴ypeScript 鏄?Microsoft銆傝繖閮芥槸澶у叕鍙搞€侹otlin 鐨?JetBrains 涓嶆槸澶у叕鍙革紝浣嗕篃寰楀埌浜?Google 鐨勫ぇ鍔涙敮鎸併€侴oogle 鍜?Microsoft 鍏跺疄杩樻悶鍏朵粬璇█锛孏o 鍟娿€丆#銆丗# 绛夈€傝繕鏈夊儚 Facebook锛岄鍒涗簡 JSX锛屾悶浜?flowtype锛堝緢绫讳技浜?TS锛夛紝杩樻悶浜?ReasonML銆丠ack锛圥HP 鐗堢殑 TypeScript锛夌瓑銆?/p>
鍏跺疄鎴戣寰椾腑鍥界幇鍦ㄥご閮ㄧ殑绉戞妧鍏徃锛屼粠瑙勬ā鏉ヨ锛屽彲浠ヨ涓哄凡缁忎笉浜氫簬浠栦滑浜嗭紝浣嗘槸鎴戜滑鍒扮幇鍦ㄦ潵璁查兘娌℃湁鐪嬪埌浠讳綍涓€涓腑鍥界殑澶撮儴鍏徃璁捐鍜屽紑鍙戠紪绋嬭瑷€銆傚綋鐒剁爺绌舵€ц川鐨勮瑷€鍙兘鏄湁鐨勶紝姣斿鍗庝负搴旇鏄湁鐨勶紝浣嗘€ц川鍜屾垜浠繖閲岃璁虹殑涓嶅お涓€鏍凤紝涓嶆槸闈㈠悜涓€鑸▼搴忓憳鐨勩€傛垜浠悇涓叕鍙哥‘瀹炲凡缁忓仛涓€浜涜嚜宸辩殑骞冲彴锛屾瘮濡傚皬绋嬪簭銆佸揩搴旂敤绛夛紝浣嗘槸娌℃湁鎼炶繃缂栫▼璇█锛岃嚦灏戝ソ鍍忔病鏈夊ぇ寮犳棗榧撶殑鎼烇紝鍙兘鍐呴儴鏈夊伔鍋风殑鎼烇紝鎴戜滑娌℃€庝箞鐪嬪埌銆?/p>
澶у鍙兘浼氭湁涓€涓枒闂細涓轰粈涔堜竴瀹氳鍋氳瑷€鍛紵纭疄锛屽緢澶氭椂鍊欐垜浠敤鍗虫湁鐨勮瑷€灏卞彲浠ヤ簡锛屼絾鏄垜浠弽杩囨潵鎬濊€冧竴涓嬶紝Google銆丄pple銆丮icrosoft銆丗acebook 绛夊叕鍙镐负浠€涔堟悶鏂扮紪绋嬭瑷€鍛紵娉ㄦ剰锛屽ぇ瀹朵笉瑕佹兂褰撶劧瑙夊緱浜哄鏈夊己鍔垮钩鍙版墍浠ュ彲浠ュ仛杩欎釜浜嬫儏锛屼篃涓嶈浠ヤ负浠栦滑鎬绘槸鑳芥悶鎴愬姛鐨勩€傚疄闄呬笂鏈夋垚鍔熺殑渚嬪瓙锛岃儗鍚庝竴瀹氭湁鏇村澶辫触鐨勩€?/p>
姣斿 Facebook 鐨?Skip锛屽氨鏄唴閮ㄦ斁寮冧箣鍚庢墠寮€婧愬嚭鏉ョ殑锛孯easonML 鍏跺疄涔熶笉瑙佸緱寰堟垚鍔燂紝璇翠笉瀹氭湭鏉ュ摢澶╀篃灏辨斁寮冧簡銆傚儚 Dart 鎴戝墠闈篃鎻愬埌杩囷紝瑕佷笉鏄?Flutter锛屾亹鎬曚篃娌℃湁浠€涔堝墠閫斻€備簬鏄湁浜涗汉浼氳锛岃繛浠栦滑閮藉け璐ヤ簡锛屾垜浠共鍢涜鍋氬憿锛熸墍浠ュソ鍍忚繃鍘昏繖浜涘勾瀵逛簬鎼炵紪绋嬭瑷€杩欎欢浜嬫儏锛屾垜浠竴鐩存槸鎶辨寔鏋佸ぇ鎬€鐤戞€佸害鐨勩€備絾鏄樉鑰屾槗瑙侊紝浣犲鏋滄案杩滀笉鍘诲皾璇曪紝閭d箞浣犳案杩滀笉鍙兘鏈夋垚鍔熺殑鍙兘銆?/p>
褰撶劧锛屾垜浠€诲彲浠ラ€夋嫨涓嶅仛杩欎釜浜嬫儏锛屾垜浠氨浣跨敤鍒汉鍋氱殑缂栫▼璇█锛屾垜浠惌渚胯溅锛屼竴鏍峰彲浠ヤ韩鍙楄瑷€鍙戝睍鐨勭孩鍒┿€備絾鏄繖閲屾湁涓€涓棶棰樺氨鏄紝濡傛灉鎴戜滑姘歌繙鏄惌渚胯溅鐨勬柟寮忥紝鎴戜滑灏辨瘮杈冧細缂轰箯鍦ㄧ紪绋嬭瑷€缁村害瑙e喅闂鐨勮兘鍔涖€傚挶浠腑鍥芥暣涓ご閮ㄥ叕鍙哥殑宸ョ▼甯堝叾瀹炲凡缁忛兘闈炲父鍘夊浜嗭紝缁忚繃杩欎箞澶氬勾鐨勯敾鐐硷紝鍦ㄦ垜浠暣涓伐鍏风閲岄潰鎴戜滑鏈夊緢澶氱殑瑙e喅鐨勬柟娉曪紝姣斿搴撱€佹瘮濡傛鏋讹紝閮芥病鏈夐棶棰橈紝杩樻湁寰堝己鐨?hack 鑳藉姏锛屼絾鏄紪绋嬭瑷€杩欎釜缁村害鎴戜滑鍙兘鏄浉瀵规瘮杈冪己澶辩殑涓€涓淮搴︼紝鏁翠釜宸ュ叿绠遍噷缂轰簡涓€涓噸瑕佺殑宸ュ叿銆?/p>
浠€涔堝彨缂栫▼璇█缁村害瑙e喅闂锛熶妇涓や釜渚嬪瓙銆?/p>
绗竴涓緥瀛愬氨鏄墠闈㈠渾蹇冿紙闃块噷鍓嶇濮斿憳浼氫富甯級鎻愬埌浜嗭紝鏇剧粡鏈変竴娈垫椂闂寸粡甯稿仛鍚勭 JS Module 鐨勬柟妗堛€傛垜浠彲鑳借寰楋紝鐢?CommonJS 鏂规瑙e喅灏卞彲浠ヤ簡銆傝繖涓柟妗堜笉鏄笉濂斤紝瀹為檯涓婃槸涓€娈垫椂闂撮噷鏁翠釜鐢熸€佺殑閫夋嫨銆備絾鏄?CommonJS 杩樻槸鏈変竴浜涢棶棰橈紝瀹冩槸閫氳繃绫讳技搴撳拰妗嗘灦鐨勬柟寮忚В鍐崇殑锛屾槸涓€涓?runtime 鐨勬ā鍧楁満鍒讹紝鑰屾垜浠煡閬撲粖澶╃殑 ES6 鐨勬ā鍧楁満鍒讹紝浠ュ強澶ч儴鍒嗗叾浠栬瑷€閲岀殑妯″潡鏈哄埗锛屾槸闈欐€佺殑锛屼笉鏄?runtime 鐨勩€傞潤鎬佹満鍒舵湁濂藉锛屽叿浣撹繖閲屼笉灞曞紑璁层€傝繖閲屽彧鏄敤鏉ヨ鏄庝竴鐐癸紝鍍忔ā鍧楁満鍒讹紝鏈川涓婅鍦ㄨ瑷€灞傞潰鎵嶈兘寰楀埌寰堝ソ鐨勮В鍐炽€傚叾瀹烇紝鎴戜滑鏇剧粡涓€搴﹀緢鎺ヨ繎杩欎釜璇█灞傞潰鐨勬満鍒讹紝姣斿鐜変集锛堣殏铓侀噾鏈嶇爺绌跺憳锛夊綋骞村仛鐨?Sea.js 鐨勬柟妗堬紝铏界劧闀垮緱鍜?CommonJS 涓€鏍凤紝瀹為檯涓?Sea.js 鏄竴涓潤鎬佹ā鍧楁満鍒讹紝鏈川涓婂拰 CommonJS 鏄笉鍚岀殑銆係ea.js 宸茬粡鎺ヨЕ鍒颁簡璇█灞傜骇銆?/p>
鍙﹀涓€涓緥瀛愬氨鏄?async/await锛屽ソ澶氬勾涔嬪墠鏈変竴涓腑鍥界▼搴忓憳璧靛娂锛屽氨鏄憲鍚嶇殑鐧句竾骞磋柂绋嬪簭鍛樼粍鍚堚€滄俯璧佃疆鈥濋噷鐨勮€佽档锛屼粬鍏跺疄鏄竴涓?C# 绋嬪簭鍛橈紝浠栦笉鏄?JS 绋嬪簭鍛橈紝浣嗘槸浠栨妸 C#/F# 涓殑 async/await 寮曞叆浜?JS锛屽紑鍙戜簡 Wind.js銆?/p>
鎵€浠ュ憿锛屾垜瑙夊緱鏁翠釜涓浗绋嬪簭鍛橈紝灏卞儚鍦嗗績璁茬殑锛屾垜浠殑鎬濊€冿紝鎴戜滑鐨勮兘鍔涘叾瀹炴病鏈夐棶棰樼殑锛屼絾鏄技涔庢湁浜涗簨鎯咃紝姣斿缂栫▼璇█缁村害瑙e喅闂杩欎竴鐐癸紝娌¤兘杩涘叆鍒版垜浠叕鍙哥殑銆佷骇涓氱殑涓荤嚎涓娿€傝€佽档鍋氱殑杩欎釜涓滆タ闈炲父濂斤紝浣嗘槸涓€鐩存病鏈夋祦琛岃捣鏉ワ紝鎴戜滑杩樻槸绛変簡 3銆? 骞达紝绛夊埌澶栧浗浜哄仛鐨?JS 缂栬瘧鍣ㄥ姞鍏ヤ簡杩欎釜涓滆タ锛屾垜浠墠璇达紝鍝︼紝杩欐槸涓ソ涓滆タ銆係ea.js 鐨勬儏鍐靛彲鑳藉ソ涓€鐐广€?/p>
褰撶劧锛岃繖浜涘眬閮ㄧ殑鎴愭灉绂诲紑鍙戜竴涓畬鏁寸殑鏂扮紪绋嬭瑷€涔熻繕绂诲緱姣旇緝杩滐紝浣嗘槸鎴戜滑鍙互鎱㈡參鏉ワ紝姣斿 DSL 鍜?IDE锛屾垜浠殑浜т笟鐣屽凡缁忓湪杩欐柟闈㈡湁瀹炶返銆傚墠闈㈡垜浠鍒板皬绋嬪簭锛屽叾瀹為噷闈㈠氨鏈夊緢澶?DSL锛屾瘡涓叕鍙搁兘鍋氫簡涓€閬嶃€?/p>
杩欎釜鍦版柟鎴戜滑宸茬粡绉疮浜嗕竴浜涚粡楠岋紝鎴栬浠庝竴涓皬鐨?DSL 閫愭笎灏嗘潵鍙互璧板悜鏇村姞瀹屾暣鎴栬€呴€氱敤鐨勭紪绋嬭瑷€銆傚彟澶?IDE锛屽墠闈篃鎻愬埌浜嗭紝鐜板湪鏁翠釜缂栫▼璇█鍏跺疄涓嶆槸鍗曞崟璇█鏈韩锛岃€屾槸鍖呭惈浜嗘暣涓伐鍏烽摼銆傚井淇″紑鍙戣€呭伐鍏峰氨鏄釜渚嬪瓙銆傚鏋滄垜浠繁鍏ュ悇涓叕鍙镐簡瑙d竴涓嬶紝鎴戜滑鍙戠幇鍚勪釜鍏徃鍚勪釜鍥㈤槦寰堝閮芥槸鍦ㄥ仛 IDE 涓婄殑鎶曡祫锛屽寘鎷墠闈㈠渾蹇冩彁鍒拌繖浜嬮樋閲屾湭鏉ョ殑閲嶇偣鏂瑰悜銆?/p>
杩樻湁锛屾垜浠笉涓€瀹氱幇鍦ㄩ┈涓婂仛涓€涓柊缂栫▼璇█锛屼絾鏄垜浠彲浠ュ紑濮嬭础鐚幇鏈夌殑缂栫▼璇█绀惧尯锛屾瘮濡傝懀闊崥澹彁鍒颁腑鍥界▼搴忓憳瀵逛簬 Flutter 鐨勮础鐚紝宸茬粡闈炲父鏄捐憲浜嗐€?/p>
鏈€鍚庢槸鍙備笌缂栫▼璇█鏍囧噯鍒跺畾銆傛瘮濡?ECMA 鐨?TC39 鏄?JS 璇█鐨勬爣鍑嗗鍛樹細锛岄樋閲屽凡缁忓湪鑰冭檻鍔犲叆锛岃蛋杩欐牱涓€涓祦绋嬨€傛垜鍦ㄨ繖杈逛篃鍚屾涓€涓嬫垜浠?360 鐨勬儏鍐碉紝涓婂懆鎴戜滑宸茬粡鍚?ECMA 鎻愪氦浜嗕細鍛樼敵璇凤紝骞跺噯澶囧姞鍏?TC39 宸ヤ綔缁勩€傚笇鏈涙棤璁烘槸闃块噷杩樻槸 360锛屾垨鑰呮槸鍏朵粬涓浗鍏徃锛岃兘澶熶唬琛ㄤ腑鍥界殑浜т笟鐣屽拰寮€鍙戣€呭幓鍙備笌杩欐牱涓€涓簨鎯呫€?/p>
宸ユ鍠勫叾浜嬶紝蹇呭厛鍒╁叾鍣ㄣ€傚浜庢垜浠▼搴忓憳鏉ヨ锛岀紪绋嬭瑷€灏辨槸鎴戜滑涓€涓渶閲嶈鐨勫櫒銆傛墍浠ワ紝鎴戝笇鏈涗粖澶╂紨璁茬殑鍐呭锛屽寘鎷竴浜涘彲鑳芥瘮杈冮浂纰庛€佹澗鏁g殑鎯虫硶锛岃兘澶熺粰澶у鍦ㄦ暣涓墠绔紑鍙戝拰缂栫▼璇█鏂归潰甯︽潵鏇村鐨勭悊瑙d笌鎬濊€冦€傝阿璋㈠ぇ瀹讹紒
璐哄笀淇婏紙缃戝悕 Hax锛夛紝360 楂樼骇鍓嶇鏋舵瀯甯堬紝鍗佸骞存潵涓€鐩存椿璺冨湪鍓嶇鍜?JavaScript 绀惧尯銆傚澶氶」 Web 鏍囧噯鏈夊井灏忚础鐚紝瀵?Groovy 璇█骞堕棿鎺ュ Swift 璇█鏈夊井灏忚础鐚紝杩戝勾鏉ュ弬涓庝簡璇稿 ECMAScript 鏂拌崏妗堢殑璁ㄨ銆傛浘璁捐鍜屽疄鐜?Jedi 璇█骞剁敤浜庣敓浜х幆澧冿紝瀵硅嚜鐮旂紪绋嬭瑷€鐣ユ湁涓€鐐瑰疄璺电粡楠屻€備笁娆℃媴浠?QCon 鍑哄搧浜哄苟鑾峰緱銆屼紭绉€鍑哄搧浜恒€嶈崳瑾夛紝涔熺粡甯稿湪鍏朵粬浼楀鎶€鏈椿鍔ㄤ腑鎷呬换璁插笀銆佸槈瀹惧拰涓绘寔浜恒€?/p>
鐩稿叧閾炬帴锛?/p>
GMTC 锛?/span>https://gmtc.infoq.cn/2019/beijing/
Flutter锛歨ttps://flutterchina.club/
TypeScript锛歨ttps://www.tslang.cn/
Kotlin锛歨ttps://www.kotlincn.net/
CoffeeScript锛歨ttp://coffee-script.org/
React锛歨ttps://react.docschina.org/
Vue锛歨ttps://cn.vuejs.org/
SwiftUI锛歨ttps://developer.apple.com/xcode/swiftui/
鐜板湪鐨勫墠绔伐绋嬪笀闄や簡鏅€氱殑缂栫爜浠ュ锛岃繕瑕佽€冭檻濡備綍鎬ц兘浼樺寲锛涘浣曡法绔€佽法骞冲彴瀹炵幇鍔熻兘锛涘浣曚笌鏂版妧鏈瘮濡?AI銆?G 鐩哥粨鍚堢瓑璇稿闂銆?/p>
涓€涓汉瀛︿範鐨勯亾璺槸鑹拌緵鑰屾极闀跨殑锛岃€屼笖寰€寰€鏁堢巼涓嶄細鐗瑰埆楂樸€傚浣曟墠鑳藉揩閫熸垚闀匡紝鏃╂棩鎴愪负涓€鍚嶄紭绉€鐨勫墠绔伐绋嬪笀锛?/p>
鏋佸鏃堕棿姹囬泦浜?100+ 涓€绾挎妧鏈笓瀹讹紝鍒嗕韩鍖呮嫭鍓嶇銆佺Щ鍔ㄥ紑鍙戙€丄I 鎶€鏈瓑鐩稿叧鍐呭锛屽府鍔╁墠绔汉鐨勮嚜鎴戞彁鍗囷紝杩堝悜鍏ㄦ爤鎶€鏈汉銆傜幇鐢宠鈥滃憳宸ラ€夎锛屼紒涓氭敮浠樷€濓紝鍠婅€佹澘鏉ヤ拱鍗曪紝鍥㈤槦涓€璧峰厤璐瑰涔狅紒涔熷彲鐩存帴鑱旂郴璇剧▼椤鹃棶銆岃眴鍖呫€嶏細13167596032
以上是关于360楂樼骇鍓嶇鏋舵瀯甯圚ax(璐哄笀淇?锛氬墠绔紑鍙戠紪绋嬭瑷€鐨勮繃鍘汇€佺幇鍦ㄥ拰鏈潵的主要内容,如果未能解决你的问题,请参考以下文章
闃舵1 璇█鍩虹+楂樼骇_1-3-Java璇█楂樼骇_02-缁ф壙涓庡鎬乢绗?鑺?鎶借薄绫籣19-鍙戠孩鍖呮渚媉瀹炵幇