Huawei launched the Cangjie programming language for HarmonyOS NEXT at the HDC 2024 Annual Developers Conference, cementing the language as the choice for a new generation of all-scenario smart applications.
According to the company, Cangjie has native intelligence, full landscape, high performance and strong security, and is integrated with the HarmonyOS ecosystem to provide a simple and easy-to-use development experience.
Cangjie's integrated AgentDSL framework combines natural language and programming language to enable multi-agent collaboration and simplified symbolic expression.
The programming language is scalable, has a modular design for different scenarios and supports domain-oriented development.
Cangjie introduces a new garbage collection system that enables smooth application threads and fast response times for improved concurrency performance.
Security built into the language design helps developers avoid vulnerabilities.
According to Huawei, Cangjie is a multi-paradigm programming language that supports functional and object-oriented programming methods. It also includes features such as type inference, common names, and pattern matching to simplify the development process.
For security-conscious developers, Cangjie provides system stability and automatic memory management to ensure software stability. It also provides runtime controls for error detection, security, and multilingual interoperability.
In terms of concurrency, Cangjie uses user-mode threads and concurrent object libraries. Huawei developed these features to simplify the development process and optimize resource utilization.
The company has optimized the compiler and runtime for greater efficiency, including compilation, backend optimization, and runtime optimization.
Runtime design helps improve performance and resource efficiency. In addition, Cangjie also provides a complete development tool chain, including debugging, static analysis, performance analysis and testing framework.
This is the first time Huawei has publicly released the Cangjie programming language. The Cangjie Developer Beta is now officially open for registration.
The company invites developers to experiment with the modern programming language and explore how it can be useful in different fields, including application development.