Huawei released the Cangjie programming language

On the evening of July 30th, Huawei released the Cangjie programming language, a language it developed over five years with the participation of thousands of engineers and billions of dollars invested, to open source. Huawei, the backbone of the nation, released two major announcements that went viral on social media! 民族脊樑華為放出兩個超級大消息,一下子就在朋友圈傳瘋了!7月30號晚上,華為把花了五年時間,上千工程師參與,投入幾十億研發出來的倉頡編程語言,全部開源了,編譯器、運行時、標準庫,連調試工具cjdb的源碼都免費給大家了。

The compiler, runtime, standard library, and even the source code for the debugging tool cjdb were all made available for free. Remember, for the past three decades, many powerful teams in Europe, Japan, and South Korea have tried to break the US dominance in programming languages, but haven’t even managed to do so.

Today, the Chinese have opened the door to a universal programming language, and it’s free. Cangjie is truly amazing. Phones, watches, cars, and drones can all communicate using the same line of code, freeing developers from the hassles of Java, Swift, and C++. A high school student in Shenzhen used Cangjie in just two weeks to create a small program that controls all the appliances in their home. Variable names can be written directly in Chinese characters, and error messages are written in plain, easy-to-understand language.

To expand its reach, Huawei provided development boards and simulators, and offered a million-yuan bounty. Within three months, they recruited 100,000 developers. Now, food delivery robots and agricultural drones are using Cangjie. This speed and scale are truly astonishing in the history of global open source.

And here’s even more impressive news: HarmonyOS NEXT 6 has officially been released. Don’t underestimate this version number; it signifies that HarmonyOS’s kernel, file system, programming language, compiler, and programming framework are all developed in-house. Neither Apple’s iOS nor Google’s Android achieve such a level of purity. In the future, phones, car computers, tablets, drones, and unmanned boats will all run on the same HarmonyOS operating system, allowing apps to be installed once and run seamlessly across all devices.

And the data is truly impressive: by the end of June, over 1.19 billion devices were using open-source HarmonyOS, with over 7.2 million developers, over 25,000 apps and meta-services available, and over 450 ecosystem partners. This represents a significant advantage in any country, and Huawei achieved this in just five years.

Back in 2019, the US added Huawei to the Entity List, denying it chips and blocking its access to Android. Everyone expected Huawei to back down. But Ren Zhengfei decided to “break through the clouds.” While investing heavily in chip development, he assembled a “Cangjie Death Squad” of experts from the 2012 Laboratory and universities like Nanjing University and Beihang University. They worked daytime coding and nighttime studying compiler theory, and within five years, they developed the language, compiler, runtime, and debugger.

Some have calculated that Huawei’s R&D investment at the time exceeded 800 billion yuan, equivalent to 370 million yuan a day, to achieve the current success of Cangjie and HarmonyOS. This wasn’t just a technological victory; it was Huawei’s powerful counterattack in the face of pressure. The more you push me, the more I’ll seize control of my core technologies.

Some worry that domestic languages will be a fleeting fad. Consider the Ministry of Industry and Information Technology’s announcement in July: “Independent and controllable programming languages” have been incorporated into the 14th Five-Year Industrial Plan, specifically specifying the need to accelerate the development of Cangjie, StarRing’s in-car operating system, and the Wenxin Big Model. With policy support, corporate spending, and a growing number of developers, these three factors have combined to achieve not just a single breakthrough but comprehensive development within the domestic software ecosystem.

As netizens have said, Huawei offers hope. Perhaps the next truly powerful app will be developed right on your laptop or mine.

民族脊樑華為放出兩個超級大消息,一下子就在朋友圈傳瘋了!

7月30號晚上,華為把花了五年時間,上千工程師參與,投入幾十億研發出來的倉頡編程語言,全部開源了,編譯器、運行時、標準庫,連調試工具cjdb的源碼都免費給大家了。要知道,這三十年,歐洲、日韓好多超厲害的團隊,都想打破美國在編程語言上的統治,可連門都沒摸着。

今天,中國人把通用編程語言的大門打開了,還是免費的。倉頡可厲害啦,手機、手錶、汽車、無人機,都能用同一行代碼交流,開發者不用再被Java、Swift、C++這些折騰了。有個深圳的高中生,用倉頡兩周就寫出能控制家裡所有電器的小程序,變量名能直接寫漢字,報錯信息也是通俗易懂的大白話。

為了讓更多人用,華為拿出開發板、模擬器,還準備了百萬獎金,三個月就拉了十萬開發者進來,現在外賣機器人、農田無人機都在用倉頡了。這速度和規模,在全球開源歷史上都特別驚人。

還有個更厲害的消息,鴻蒙NEXT 6版本正式搞定啦。可別小看這個版本號,這代表着鴻蒙的內核、文件系統、編程語言、編譯器、編程框架,全都是自己研發的,蘋果iOS和谷歌安卓都沒做到這麼純粹。以後手機、車機、平板、無人機、無人艇,都能用同一套鴻蒙系統,應用裝一次,在各種設備上都能無縫使用。

而且數據超厲害:到6月底,用開源鴻蒙的設備超過11.9億台,開發者有720多萬,上架的應用和元服務有2.5萬多個,生態夥伴超過450家。這數據不管在哪個國家,都是很厲害的優勢,華為只用了五年就做到了。

回到2019年,美國把華為列入實體清單,不給華為芯片,安卓也不讓用了,大家都覺得華為會退縮。但任正非直接決定“向上捅破天”,一邊花錢搞芯片,一邊讓2012實驗室和南大、北航等高校的專家組成“倉頡敢死隊”,白天寫代碼,晚上學編譯原理,硬是在五年裡把語言、編譯器、運行時、調試器都做出來了。

有人算過,那時候華為研發投入超過8000億,相當於一天要花3.7億,才換來現在倉頡和鴻蒙的成功。這可不只是技術贏了,而是華為在被打壓時的強力反擊,你越不讓我好,我越要把核心技術掌握在自己手裡。

有人擔心,國產語言是不是就火一陣就沒了?看看工信部7月說的,已經把“程序設計語言自主可控”寫進十四五產業規劃了,還點名要加快倉頡、星環車載OS、文心大模型的發展。政策支持、企業花錢、開發者也越來越多,這三方面一起發力,國產軟件生態這次不是只突破一點,而是全面發展了。

就像網友說的,華為給大家帶來了希望,說不定下一個特別厲害的應用,就在你我的筆記本上開發出來了。


Leave a comment