Home >Hardware Tutorial >Hardware News >What is Huawei Cangjie programming language?

What is Huawei Cangjie programming language?

WBOY
WBOYOriginal
2024-08-19 07:00:33458browse

What is Huawei Cangjie programming language?

At the HDC 2024 Developer Conference held by Huawei, Gong Ti, President of Huawei’s Terminal BG Software Department, officially announced Huawei’s self-developed Cangjie programming language. This language, which has been developed for five years, is now available for developer preview and is expected to play an important role in the future Hongmeng ecosystem.

Cangjie programming language is a modern programming language for all-scenario intelligent applications. It has technical features such as native intelligence, full-scenario support, high performance and strong security. It integrates various features of modern languages, has a full range of compilation optimization and runtime implementation, and a simple and easy-to-use intelligent Agent declarative programming framework. In addition, Cangjie also provides out-of-the-box IDE tool chain support, providing developers with great convenience.

In terms of memory usage, Cangjie adopts a modular and layered design. The unloaded memory only requires 2.08MB, which is far lower than mainstream mobile languages ​​​​such as Swift and Java. In addition, Cangjie supports fully concurrent GC, which reduces STW pauses in traditional GC and improves the fluency of application threads.

In terms of development practice, Industrial and Commercial Bank of China has completed the development of the first Hongmeng version App and adopted Cangjie and ArkTS languages. Among them, the "Income and Expenditure Calendar" function is written using Cangjie's declarative UI, which supports hybrid development and improves development efficiency. The Industrial and Commercial Bank of China plans to gradually expand the pilot scope of Cangjie language.

Using Cangjie language to fully develop its Hongmeng native applications, and also developed some Cangjie third-party libraries. Cangjie's declarative UI development, type inference capabilities and security optimization have brought significant advantages to the development of Likou. In addition, Likou also introduced the AI-assisted programming tool BitFun FireCoder to further improve development efficiency.

The Hongmeng native application (developed by Cangjie) has significantly improved cold start speed and multi-image article browsing experience compared to the Java & Kotlin version. This marks the good performance and great potential of Cangjie programming language in practical applications.

The above is the detailed content of What is Huawei Cangjie programming language?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn