Participants in the internal test revealed: similar to go and java, support AI, guessed that it has been optimized for Hongmeng and Kirin, etc.

 参与内测者透露:类似go和java,支持AI,猜测针对鸿蒙和麒麟等做了优化

Many people will cite the example of Mulan, but it should be said that Huawei does not need to cheat the funds, and it can rest on the shell or something. If Huawei wants to develop a new programming language, it must have a new applicable scenario. If it is not distinctive, it will surely become a "facade language". It is estimated that Cangjie has made underlying optimizations for its own devices such as Hongmeng, Euler, Kunpeng and Kirin. Through Cangjie, Hongmeng and Euler will open up the application development ecology and expand the possibilities of the system.

Through self-developed programming language, the work efficiency of the enterprise can be greatly improved, because the self-developed programming language can be more compatible with the products of the enterprise, and it is more convenient to use, which can reduce the difficulties and bottlenecks encountered by employees in their work. , but also can improve the efficiency of the enterprise.

很多人又会举出木兰的例子,但应该说华为不需要骗经费,套壳什么的就可以休矣。华为想要开发一门全新的编程语言,必须有一个全新可适用的场景。如果不具特色,那么必定会成为一种“门面语言”。估计仓颉是针对鸿蒙、欧拉、鲲鹏和麒麟等自己设备做了底层优化。通过仓颉,鸿蒙与欧拉将在应用开发生态上进行打通,拓展系统的可能性。

通过自主研发编程语言,可以使企业的工作效率得到大幅度提高,因为自主研发的编程语言可以和企业的产品更加契合,使用起来更加方便,这样就能够减少员工在工作中遇到的困难和瓶颈,也能够提高这个企业的工作效率。

This time, because "Cangjie" officially opened the internal test, some developers have already obtained the source code.

Not long ago, Huawei's programming language lab released a "New Language Trial Registration-202203" questionnaire, officially soliciting a small group of developers to conduct a small-scale test of the "Cangjie" programming language.

From the content of the questionnaire, developers need to fill in the Gitee homepage, occupation and company information, and then wait for the email notification.

Now, as more details are revealed, there are clear answers to some of the previous rumors about "Cangjie" speculation.

English name Cangjie, not Chinese programming

In October last year, Huawei officially revealed that it will release the self-developed Hongmeng programming language.

In this regard, Gong Ti, president of Huawei's consumer business software department, said that it will "make up the last link for the construction of Hongmeng ecological infrastructure."

这次是因为「仓颉」正式开启了内测,目前已经有部分开发者拿到源代码。

前不久,华为编程语言实验室发布了一份“新语言试用报名-202203”问卷,正式征集一小批开发者对「仓颉」编程语言进行小范围测试。

从问卷内容来看,开发者们需要填写Gitee主页、职业和公司等信息,然后等待邮件通知。

现在,随着更多细节被透露出来,之前对于「仓颉」猜测的一些传言,也有了明确的答案。

英文名Cangjie,并非中文编程

去年10月,华为官方就明确透露过“将发布自研鸿蒙编程语言”。

对此,华为消费者业务软件部总裁龚体表示,它将“为鸿蒙生态基础设施建设补上最后一环”。

At the same time, Huawei has also applied for registration of "Huawei Cangjie", "Cangjie Language" and other trademarks, including scientific instruments, design research, etc., while some "Cangjie" trademarks are still in the stage of rejection review and registration applications.

It's March this year.

With the opening of the internal test, some developers responded to the previous speculations and rumors after they obtained the source code of "Cangjie".

The English name of "Cangjie" is Cangjie, not the previously rumored "char".

At that time, after Huawei was exposed to the development of "Cangjie", it was reported that the English name of this programming language was "char":

"Cangjie" is not Chinese programming, and there is no so-called "shell".

According to an anonymous user on Zhihu, after the experience, it was found that the "Cangjie" programming language "has nothing to do with Chinese", and the syntax is similar to go+java.

同时,华为也已经申请注册了“华为仓颉”、“仓颉语言”等商标,分类包括科学仪器、设计研究等,而部分“仓颉”商标则还在驳回复审、注册申请的阶段。

时间来到今年3月份。

随着内测的开启,部分开发者在拿到「仓颉」的源代码后,也对此前漫天飞的猜测和传言进行了一些回应。

「仓颉」的英文名就是Cangjie,而不是此前传闻的“char”。

当时华为被曝研发「仓颉」后,知乎就传出过这门编程语言英文名是“char”的消息:

「仓颉」不是中文编程,也不存在所谓的“套壳”。

据知乎一位匿名用户表示,体验后发现「仓颉」编程语言“跟中文半点关系没有”,语法类似go+java。

On March 26, a creator named "Everyone is a Programmer" responded positively to the rumors. He said, "On the same day, I successfully ran the 'Hello World' of Huawei Cangjie's domestic programming language and became a Cangjie programmer." Soon, it will come out. As for whether it is Chinese characters or not, he added in the comment area: It is not Chinese programming, which is characterized by simplicity and ease of use. Unfortunately, he has signed a non-disclosure agreement with Huawei, so it is not convenient to send codes.

Now you can still find a lot of fake news about "Cangjie" being Chinese programming...

The trial of Huawei's programming language "Cangjie" has started. Some people think it is Chinese language, but this is just a feeling. Don't underestimate Huawei's ambition

The previous article has explained why Huawei will not make "Cangjie" a Chinese programming language

3月26日,一个起名为“人人都是程序员”的创作者正面回应了传闻。他说“就在当天,自己成功运行华为仓颉国产编程语言的‘Hello World’,成为了一名仓颉程序员”,可见这回对外开放的,正是仓颉。不久之后,就将问世。对于是不是汉字,他在评论区补充道:不是中文编程,特点是简单易上手,可惜自己已经跟华为签了保密协议,不方便发代码。

现在随手一搜还是能搜到一大堆关于「仓颉」是中文编程的假消息……

华为编程语言“仓颉”试用开启,有人据此认为是中文语言,但这只是种情怀,莫低估华为的野心

前文已经解释为何华为不会把「仓颉」做成中文编程语言

easy language

What everyone is most curious about is what the programming language "Cangjie" looks like.

In fact, Professor Feng Xinyu, director of Huawei's programming language laboratory and Nanjing University, has already opened a course on "Programming Language Design and Implementation", and Huawei has officially released a video at station B.

Huawei has officially opened programming language courses

At the beginning of the lecture, Professor Feng revealed some of his current work.

易语言

大家最好奇的还是「仓颉」这门编程语言究竟长啥样。

事实上,此前华为编程语言实验室主任、南京大学冯新宇教授,已经开设过一门关于《编程语言的设计和实现》的课程,目前华为官方已放出B站视频。

华为官方开设过编程语言课程

在讲座一开始,冯教授就透露了自己目前进行的一些工作。

Specifically, academic research mainly includes PL theory and applications, while industrial research mainly leads Huawei programming language laboratory to design and implement industrial programming languages:

As can be seen in the courseware given by Professor Feng Xinyu, the current types of programming languages ​​can be mainly divided into the following types, among which platform languages ​​are emphasized:

Open source programming languages ​​like C#, Go, and Swift are also invested by companies like Google, Microsoft, and Apple to control the technology evolution strategy and direction of the language.

But what kind of language Huawei "Cangjie" is, it still needs to be officially released.

具体来说,学术上的研究主要包括PL理论及应用等,而工业方面的研究,则主要是带领华为编程语言实验室进行工业编程语言的设计和实现:

在冯新宇教授给出的课件中可以看见,目前的编程语言类型主要可以分为以下几种,其中着重提到了平台型语言:

像C#、Go、Swift这些开源编程语言,也都是由像谷歌、微软和苹果这样的公司自己投入去做的,以此掌控语言的技术演进策略和方向。

但华为「仓颉」究竟是一门怎样的语言,目前还有待官方正式公开信息。