Huawei's "Cangjie" programming interface is exposed, using Chinese characters to write code
The greatness of Chinese characters lies not only in the exchange of letters, but also in the record of history and the inheritance of culture. If writing is the cornerstone of building Chinese civilization, then Chinese characters are the precious crystallization of culture, customs and wisdom that have undergone the baptism of splendid historical rivers. It is a pity that in the 21st century where technology is booming, although Chinese characters are timeless, they are always ranked behind ABC in terms of applications, such as papers and programming.
华为“仓颉”编程界面曝光,用汉字,写代码
汉字的伟大之处,不仅仅在于互通书信,更在于对历史的记录,对文化的传承。如果说文字是搭建华夏文明的基石,那么汉字就是经历璀璨历史河流洗礼,由文化、习俗、智慧而凝结而成的宝贵结晶。让人遗憾的是,在科技蓬勃发展的二十一世纪,汉字虽然历久弥新,但在应用上,总是排在ABC后面,比如说论文,编程等。
Chinese own programming
It is true that as a global language, English has more resources and is more mainstream. Many times, using English is a requirement, not how superior it is to speak English. But, as a Chinese, who doesn't want to use Chinese characters to get work done? Huawei's "Cangjie" gave us such an opportunity. In the past, programming could only be done in English most of the time, but this situation may soon be rewritten.
In mid-March, Huawei's programming language lab sent a trial registration questionnaire for Huawei's new language to some people. It is reported that Huawei's new language here refers to Huawei's self-developed programming language "Cangjie". The legend of the Chinese character "Cangjie" must be known to everyone. With the name "Cangjie", the meaning of this programming language is not ordinary. If Huawei is not full of confidence, or if "Cangjie" is a casing product, even if it is to be scolded with blood!
中国人自己的编程
诚然,作为全球语言,英文资源更多,也更主流。很多时候,使用英文都是一种需求,而不是说英文真得有多么优越。但是,身为中国人,谁不想用汉字来完成工作呢?华为的“仓颉”给了我们这样的机会。过去,编程大多数时候只能用英文来进行,但这一局面很快或许能够改写。
三月中旬,华为编程语言实验室向部分人群推送了华为新语言的试用报名问卷。据悉,这里的华为新语言指的就是华为自研的编程语言“仓颉”。“仓颉”造字的传说想必无人不知,无人不晓。以“仓颉”为名,这款编程语言所代表的意义可不一般。如果华为不是有十足信心,或者说“仓颉”是一款套壳产品的话,那怕是要被骂得狗血淋头!
Breaking the monopoly, writing programming in Chinese characters
In 2020, rumors circulated on the Internet that Huawei recruited a group of programming experts to study programming languages. For a while, the news of Huawei's self-developed domestic programming language was rampant, but many people scoffed at it, thinking it was unreliable, and even many "programmers" didn't believe it. Unexpectedly, by 2022, "Cangjie" has already started the internal test.
Recently, netizens exposed the programming interface of "Cangjie". It uses Chinese to program, not only simplified characters, but even traditional characters. It is full of "Huaxia" atmosphere and is very friendly. However, the news of "Cangjie" exposure is limited, and the specific details can only be guessed. But what is certain is that Cangjie will break the monopoly of programming languages, and "programmers" can finally write programming in Chinese characters.
打破了垄断,用汉字写编程
2020年的时候,网上就流传过华为招揽了一批编程大牛,研究编程语言的传闻。一时间,华为自研国产编程语言的消息甚嚣尘上,不过很多人对此嗤之以鼻,觉得这事不靠谱,连很多“程序猿”都不信。没想到,到了2022年,“仓颉”已经开始内测了。
近日,网友曝光了“仓颉”的编程界面,其用汉语编程,不仅有简体字,甚至还有繁体字,满满的“华夏”气息,非常亲切。只不过,“仓颉”曝光的消息有限,具体细节只能靠猜测了。但可以确定的是,仓颉会打破编程语言的垄断,“程序猿”们终于可以用汉字来写编程了。
在“仓颉”之前,“易语言”是汉字语言编程的代表。但是,“易语言”属于汉化,并不是真正的汉语编程。而“仓颉”则很有可能创造历史,真正地实现底层也是汉字编译。这就从根本上打破了垄断,和鸿蒙是类似的道理。更重要的是,“仓颉”是更底层,是从创造就开始的。从这点来说,“仓颉”可能改写整个底层编程生态。
华为宇宙,从HMS到仓颉
很多人就好奇了,华为为啥每隔一段时间就能出来一款自研产品,而且“水分”极少,动辄打破垄断,打破纪录呢?说实话,真正了解华为的人不会有这种疑惑。因为努力程度足够,成功就是水到渠成而已。以海思为例,自从被断供之后,海思基本上就赚不到什么钱了,但是,任老爷子却很“执拗”:亏钱也要养着海思。
现在,海思只进不出,每年要烧掉至少百亿,试问国内哪家企业有这样的胆识?从HMS到鸿蒙,欧拉,再到“仓颉”;从5G设备到手机,芯片,再到操作系统,车联网...其实背后都有着无数的资金投入和无数科研人员的汗水。罗马非一日建成,华为“宇宙”的建成也不可能是很多人眼中的“空中楼阁”。
鸿蒙补上最后一环
华为宇宙的形成,“仓颉”必不可少。对于鸿蒙来说,其虽然自主,但是底子却还是用英文编写的。这种感觉就像喝着自己酿的酒,但酒瓶子却不是自己的一样。现在,“仓颉”问世,华为真正实现了自家酒瓶装自家酒,真香。自此,鸿蒙也补上了最后一环。
华为“仓颉”编程界面曝光,用汉字,写代码
仓颉,华为鸿蒙的最后一环,用汉字写代码