360楂樼骇鍓嶇鏋舵瀯甯圚ax(璐哄笀淇?锛氬墠绔紑鍙戠紪绋嬭瑷€鐨勮繃鍘汇€佺幇鍦ㄥ拰鏈潵

Posted 鍓嶇涔嬪穮

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了360楂樼骇鍓嶇鏋舵瀯甯圚ax(璐哄笀淇?锛氬墠绔紑鍙戠紪绋嬭瑷€鐨勮繃鍘汇€佺幇鍦ㄥ拰鏈潵相关的知识,希望对你有一定的参考价值。

浣滆€?| 璐哄笀淇?
缂栬緫 | Yonie
鍦ㄦ棩鍓嶇殑 GMTC 鍏ㄧ悆澶у墠绔妧鏈ぇ浼氫笂锛?60 楂樼骇鍓嶇鏋舵瀯甯堣春甯堜繆鍙戣〃浜嗐€婂墠绔紑鍙戠紪绋嬭瑷€鐨勮繃鍘汇€佺幇鍦ㄥ拰鏈潵銆嬬殑婕旇锛屾湰鏂囨暣鐞嗗唴瀹瑰涓嬨€?
瀵瑰緟缂栫▼璇█鐨勬€佸害

鍏充簬缂栫▼璇█鎴戦鍏堟兂璁蹭竴涓簨鎯咃紝灏辨槸璁ㄨ缂栫▼璇█鏃讹紝鎴戜滑缁忓父浼氱湅鍒颁袱绉嶉潪甯告瀬绔殑鎬佸害锛?/p>

  • 涓€绉嶅氨鏄€淴XX 璇█鏈€濂斤紒鈥漍XX 鍙互鏄换浣曚竴涓瑷€锛屾瘮濡?PHP馃お銆傚鏋滆璁虹殑鏃跺€欎綘涓嶉檮鍜屼粬鐨勮鐐癸紝灏卞彲鑳界粰浣犱竴涓剻瑙嗚劯銆?/p>

  • 鍙﹀涓€绉嶏紝灏辨槸鈥滄墍鏈夎瑷€閮戒竴鏍凤紒鈥濆綋鎴戜滑璁ㄨ涓嶅悓璇█鐨勭壒鎬т紭鍔o紝浠栦篃浼氱粰浣犻剻瑙嗚劯銆?/p>

铏界劧杩欎袱绉嶆€佸害鐪嬩技鎴劧鐩稿弽锛屼絾杩欎袱绉嶆€佸害鐨勭粨鏋滄槸涓€鏍风殑锛屽氨鏄璁虹户缁笉涓嬪幓浜嗭紝鎵€浠ヤ綘鐪嬪悇绉嶆妧鏈兢閲屾秹鍙婄紪绋嬭瑷€鐨勮璁哄線寰€瑕佷箞鏇查珮鍜屽锛岃涔堣繀閫熶互鈥淧HP 鏄渶濂界殑璇█鈥濇垨鑰呪€滆瑷€閮戒竴鏍封€濊繖鏍锋鏃犳剰涔夌殑搴熻瘽锛堟寜鐓у璇绘満闃熷舰锛夋敹鍦恒€傛帓闄よ皟渚冨拰鐏屾按鐨勬垚鍒嗭紝鏈川涓婏紝杩欎袱绉嶆瀬绔€佸害鑳屽悗鐨勫師鍥犳槸绫讳技鐨勨€斺€斾汉浠€绘槸楂樹及鐭湡锛屼綆浼伴暱鏈熴€?/p>

缂栫▼璇█锛屼互鎴戠殑鐪嬫硶锛屼笉澶彲鑳芥槸椤圭洰鎴愯触鐨勫喅瀹氭€х殑鍥犵礌銆備絾鏄暱鏈熸潵鐪嬶紝缂栫▼璇█锛屼綔涓虹▼搴忓憳鍒涢€犺蒋浠剁殑鏍稿績宸ュ叿锛屼細褰卞搷鍥㈤槦闀挎湡鐨勭敓浜у姏銆傝繖鏄垜浠负浠€涔堝簲璇ユ憭寮冮偅浜涙瀬绔€佸害锛屾姇鍏ヤ竴瀹氱殑绮惧姏鍘荤爺绌跺拰鍙戝睍缂栫▼璇█銆?/p>

鍓嶇璇█鐨勭壒鐐?/span>

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>

鍓嶇璇█鐨勮繃鍘?/span>

浠庤繖涓や釜鐗圭偣浼稿彂寮€鍘伙紝鎴戜滑鏉ョ湅鐪嬪墠绔瑷€鐨勮繃鍘汇€佺幇鍦ㄥ拰鏈潵銆傚叾瀹炶繖涓爣棰樻湁鐐瑰ぇ锛岃繖閲屽彧鑳芥妸涓汉鍦ㄨ繖鏂归潰鐨勮瀵熷拰鎬濊€冭窡澶у鍒嗕韩涓€涓嬶紝甯屾湜鑳藉紩鍙戝ぇ瀹剁殑鎬濊€冦€?/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 鐨勯棶棰?/span>

鎴戜滑鍏堣 JS 鐨勯棶棰樸€備富瑕佸氨鏄細涓嶉€傚悎 PITL銆?/p>

PITL 灏辨槸 programming in the large锛屽ぇ鍨嬬紪绋嬨€傛墍璋撳ぇ鍨嬬紪绋嬶紝鏃堕棿鍜岀粍缁囦袱涓淮搴︼紝涓€涓槸杩欎釜杞欢鎴栨湇鍔℃湁姣旇緝闀跨殑鐢熷懡鍛ㄦ湡锛屽彟涓€涓氨鏄繖涓骇鍝佹垨椤圭洰鏈夋瘮杈冨ぇ鐨勫洟闃熼渶瑕佸浜哄崗浣滐紝婊¤冻浠讳綍涓€鏉★紝灏卞彲浠ョ畻澶у瀷缂栫▼銆?/p>

JS 杩欎釜璇█褰撳勾璁捐鐨勬椂鍊欙紝涓嶆槸涓哄ぇ鍨嬬紪绋嬭繖涓洰鏍囪璁$殑锛屽畠鐨勫垵琛凤紝灏辨槸涓烘弧瓒冲湪椤甸潰涓婂仛涓€鐐瑰姩鎬佹晥鏋滅殑闇€姹傦紝鎵€浠?JavaScript 鍚嶅壇鍏跺疄鏄竴涓?script锛堣剼鏈級璇█銆傛墍璋撹剼鏈紝寰堝鏃跺€欏氨鏄竴娆℃€т功鍐欑敋鑷充竴娆℃€ц繍琛岋紝鐢ㄥ悗鍗虫姏銆備紶缁熶笂锛岃剼鏈瑷€鐨勮璁$洰鏍囧氨鏄柟渚夸娇鐢紝鎬庝箞鏄撶敤鎬庝箞鏉ワ紝鎵€浠ュ湪寰堝鏂归潰骞朵笉閫傚悎澶у瀷缂栫▼锛岀敋鑷宠儗閬撹€岄┌銆傛瘮濡傝澶у閮界煡閬?JS 鐨勫急绫诲瀷闅愬紡杞崲闂锛屽儚鑷悕鏄憲鐨勨€滀笁浣嶄竴浣撯€濓紝铏借鏄悙妲斤紝浣嗗疄璺典笂涔熺‘瀹炰細閫犳垚闅愭偅锛屾墍浠ュ綋鍥㈤槦瑕佽繘琛屸€滃ぇ鍨嬬紪绋嬧€濓紝灏卞繀椤荤敤 linter 绛夊伐鍏峰幓缁欒瑷€鐨勮璁$己闄锋摝灞佽偂銆?/p>

Java 鐨勯棶棰?/span>

Java 鍙堟槸浠€涔堥棶棰樺憿锛熷叾瀹?Java 鏈韩鏄潪甯稿ソ鐨勮瑷€锛屽埌鐩墠涓烘浠嶇劧鏄垜浠暣涓涓氭渶閲嶈鐨勭紪绋嬭瑷€銆?/p>

Java 鐨勯棶棰樺氨鏄?Oracle銆侽racle 鐨勫悇绉嶆Ы鐐瑰氨涓嶈浜嗭紝鍦?Android 骞冲彴鏉ヨ锛屾渶涓昏鐨勫氨鏄拰 Google 鐨勫畼鍙搞€傝繖涓槸闈炴妧鏈殑鍥犵礌銆?/p>

鎶€鏈殑鍥犵礌涔熸湁銆侸ava 铏藉ソ锛屼絾鏈変竴涓棶棰橈細灏界 Java 鏈€鍒濅篃鏄€滃墠绔瑷€鈥濓紙鏃╂湡璁捐鐩爣鏄敤浜庡祵鍏ュ紡璁惧鍜?Web锛夛紝浣?Java 鏈€鎴愬姛鐨勯鍩熸槸鍦ㄦ湇鍔″櫒绔€傞偅涔堣繖涓瑷€鐨勬紨鍖栧氨瑕佽€冭檻鏈嶅姟鍣ㄧ锛屼笉鑳戒粎浠呭洜涓哄墠绔拰绉诲姩绔湁涓€浜涙柊鐨勯渶姹傦紝灏辨妸涓€涓瑷€鐗规€у姞杩涘幓锛岃€屾槸瑕佽€冭檻鏇村箍娉涚殑鍦烘櫙鏉ヨ 閲忚繖鏍蜂竴涓壒鎬ф槸涓嶆槸鍊煎緱鍔犺繘鍘汇€?/p>

鑰屾垜浠煡閬擄紝鏈嶅姟鍣ㄧ璺熷墠绔€佺Щ鍔ㄧ杩樻槸鏈変竴浜涘樊鍒紝姣斿璇村钩鍙版洿鏂拌凯浠g殑閫熺巼鍜屾櫘閬嶆€э紝瀵?backward compatibility 鐨勮姹傦紝瀵规€ц兘濡傚唴瀛樺崰鐢ㄣ€佸惎鍔ㄦ椂闂寸殑闇€姹傦紝绛夌瓑銆傝繖绉嶄笉鍚屼細涓嶄細瀵圭ぞ鍖哄績鎬佷骇鐢熶笉鍚岀殑褰卞搷浠庤€屽璇█鐨勬紨鍖栦篃浜х敓褰卞搷锛熻繖鎴栬鏄竴涓彲浠ユ€濊€冪殑闂銆?/p>

OC 鐨勯棶棰?/span>

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>

鍓嶇璇█鐨勭幇鍦?/span>

鎴戜滑鐪嬩竴涓嬬幇鍦ㄥ墠绔紪绋嬭瑷€鐨勭姸鍐碉紝鍙互鐪嬪埌寰堟槑鏄剧殑鍙橀潻銆傚湪 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>

JS/TS浠嶆槸璺ㄧ鍜屽叏鏍堣兘鍔涙渶寮虹殑璇█

杩欎簺璇█褰撲腑锛屾€讳綋鏉ョ湅锛孞S/TS 浠嶇劧鏄法绔拰鍏ㄦ爤鑳藉姏鏈€寮虹殑璇█銆俉eb 鑷笉蹇呰锛孉ndroid銆乮OS 绯荤粺涔熼兘鏄甫鏈夊畬鏁寸殑 JS 寮曟搸鐨勶紝鑷冲皯璇█鏈韩鐨勬爣鍑嗗簱鏄棤闇€棰濆鎴愭湰鐨勩€備篃鍥犳 JS 鏈韩灏辨槸涓€涓紪璇?target銆傚熀鏈笂鐜板湪鎵€鏈夌殑鏂拌瑷€閮芥妸鑳藉缂栬瘧鍒?JS 浣滀负蹇呴』杈炬垚鐨勭洰鏍囥€?/p>

濡傛灉涓€瀹氳璇?JS 鐨勫急鐐圭殑璇濓紝鍙兘鏄己涔忕紪璇戝埌 Native 鐨勮兘鍔涖€傝櫧鐒?JS 寮曟搸楂樺害浼樺寲锛屼絾鍦ㄦ瀬鑷存€ц兘涓婁粛鐒舵病娉曡窡 Native 姣斻€備絾鎴戜滑鐜板湪鏈?WebAssembly锛丣S 寮曟搸鍚屾椂涔熸槸 WASM 寮曟搸銆傚綋鎴戜滑鍙戠幇鏈夋€ц兘鐡堕锛屽氨鍙互浣跨敤鍏朵粬璇█濡?C銆丆++銆丷ust 绛夌紪璇戝埌 WebAssembly 浠庤€岃幏寰楀熀鏈帴杩?Native 鐨勬€ц兘銆傝繖鏍峰湪鍩轰簬 JS 鐨勮В鍐虫柟妗堜笂灏辫ˉ涓婁簡杩欎竴鐜€?/p>

浠庡墠鍒板悗鏄擄紝浠庡悗鍒板墠闅?/span>

璋堝埌璺ㄧ鍜屽叏鏍堬紝鍓嶉潰璁茬殑閮芥槸鍑鸿韩鍓嶇鎴栫Щ鍔ㄧ鐨勭紪绋嬭瑷€銆傚綋鐒舵垜浠篃鏈夊叾浠栫殑鏂扮殑鑰佺殑璇█銆傞偅浜涜瑷€涓嶆槸璇翠笉鎯冲仛鍓嶇锛屾垜浠彂鐜板緢澶氬叾浠栬瑷€閮藉皾璇曡繃寰€鍓嶇鍙戝睍锛屼絾鏄兘涓嶆槸寰堟垚鍔熴€?/p>

鎴戜滑鍙互鐪嬪埌涓€闂ㄧ紪绋嬭瑷€瑕佹墿寮犻鍩燂紝浠庡墠鍒板悗姣旇緝瀹规槗锛屼粠鍚庡埌鍓嶅氨姣旇緝闅俱€傝繖涓彲鑳芥湁寰堝鍘熷洜浜嗭紝鍍忎箣鍓嶈鍒扮殑闈炲钩鍙伴挦瀹氳瑷€鍙兘闇€瑕侀澶栫殑 runtime 搴撳氨鏄竴涓棶棰樸€傝繕鏈夋瘮鏂硅鏋舵瀯鎬濇兂鐨勫樊寮傘€傝瑷€鐨勫彂灞曡繕鏄鍏堟潵鑷簬寮€鍙戣€呯殑闇€姹傘€?/p>

鈥滀粠鍓嶅埌鍚庘€濈殑寮€鍙戣€咃紝閫氬父鍊惧悜浜庢妸鍓嶇鍜屽悗绔浣滃绛夛紝鍥犺€岄噰鐢ㄥ墠鍚庣鍒嗙鐨勬灦鏋勩€傝€屽浜庘€滀粠鍚庡埌鍓嶁€濈殑寮€鍙戣€呮潵璇达紝鍑哄彂鐐瑰彲鑳藉弽鑰屾槸甯屾湜娑堥櫎鍓嶅悗绔垎绔嬶紝鎶婂墠绔綔涓轰竴涓綅浜庢暣涓郴缁熻竟缂樼殑琛ㄧ幇灞傛潵瑙e喅銆?/p>

浠庡巻鍙蹭笂鐪嬶紝杩欑鏋舵瀯瀹炴柦璧锋潵闅惧害杈冨ぇ锛屽緢闅惧钩琛$敤鎴蜂綋楠岄渶姹傚拰鎶借薄澶嶆潅搴︺€傝櫧鐒惰繖鍏跺疄骞朵笉鏄瑷€鐨勯攨锛屼絾浼氬奖鍝嶅ぇ瀹跺璇█閫傜敤棰嗗煙鐨勭湅娉曘€傚綋鐒跺彲鑳借繕鏈夊緢澶氬叾浠栧師鍥狅紝鎴戣繖閲屼笉鍏蜂綋灞曞紑浜嗭紝澶у鍙互鑰冭檻鍚庨潰鏈変竴浜涗粈涔堟牱鐨勫洜绱犮€?/p>

鏂颁竴浠e墠绔紪绋嬭瑷€瓒嬪悓

鎴戜滑鍓嶉潰鐪嬪埌浜嗕笉鍚岀殑鏂扮殑鍓嶇鍜岀Щ鍔ㄧ鐨勭紪绋嬭瑷€锛屽綋鐒跺畠浠儚瀹冧滑鐨勫墠杈堜竴鏍凤紝浠嶇劧浼氭湁璁稿涓嶅悓锛屽洜涓哄湪鏁翠釜鍙戝睍杩囩▼褰撲腑锛屼竴瀹氳鑰冭檻涔嬪墠鐨勩€佸缓绔嬪湪涓婁竴浠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>

UI DSL

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>

鎬庝箞杈惧埌 UI-as-code锛?

鏈変袱涓柟鍚戯細

  • 涓€涓槸涓撶敤 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 鎺ㄥ嚭浜?React Hooks锛屽彲浠ョ悊瑙d负鏂颁竴浠g殑 UI DSL銆傚儚鎴戝墠闈㈣瓒嬪悓锛屽湪 React Hooks 涓婁篃椹笂鍙互鐪嬪嚭鏉ワ紝React Hooks 鎺ㄥ嚭涔嬪悗锛屾垜浠暣涓?Android 绀惧尯銆丼wift 绀惧尯锛屽寘鎷?Flutter 绀惧尯閮藉彲浠ョ湅鍒伴┈涓婃湁寮€婧愰」鐩窡杩涳紝灏濊瘯鎶?React Hooks 鐨勬ā寮忔惉杩愬埌鍚勪釜骞冲彴涓娿€傛墍浠ヤ篃鍗拌瘉鎴戝墠闈㈣鐨勪负浠€涔堜細瓒嬪悓鐨勯偅涓夌偣锛屽悇涓钩鍙板拰璇█浜掔浉褰卞搷鍜屽€熼壌銆俁eact Hooks 浣滀负鐜板湪杩樻槸涓€涓柊鐨勩€佹垜璁や负涔熸瘮杈冨厛杩涳紝纭疄鏈夊緢澶氫紭鐐圭殑瑙e喅鏂规锛屾垜浠湡寰呭畠浼氫笉浼氬湪涓嶄箙鐨勫皢鏉ヨ鍚告敹鍒板悇涓钩鍙扮殑瀹樻柟鏂规閲岄潰鍘汇€?/p>

Vue

璇村埌 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>

TS/JS 鏈潵闈复鐨勬寫鎴?

鏈€鍚庢槸 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喅闂

浠€涔堝彨缂栫▼璇█缁村害瑙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-鍙戠孩鍖呮渚媉瀹炵幇

楂樼骇鎸囦护

SqlServer楂樼骇鐗规€?-瀛樺偍杩囩▼

Kubernetes 瀛︿範21 kubernetes楂樼骇璋冨害鏂瑰紡

redis鏋舵瀯