Huawei announced the 'Cangjie' programming language developed by the company

Huawei made headlines when it suddenly introduced a Cangjie programming language platform.

Huawei made headlines when it suddenly introduced a programming language platform, Cangjie, at the HDC 2024 developer conference today. The language is being touted as a next-generation option for smart applications in all usage scenarios.

According to Huawei's statement, Cangjie provides 'native intelligence, all-natural scenarios, high performance, and strong security' for programmers. This language will likely be integrated with the Huawei HarmonyOS ecosystem, and provide a user-friendly development experience.

Picture 1 of Huawei announced the 'Cangjie' programming language developed by the company

Here are some key features of Cangjie:

  1. Natural intelligence : Cangjie has an integrated AgentDSL framework, which provides the ability to flexibly combine natural languages ​​with programming languages. This enables multi-agent collaboration and simplifies symbolic expressions.
  2. Overall capabilities : The language is designed to be lightweight and extensible, with a modular design for a variety of scenarios. Cangjie also supports domain-oriented development.
  3. High performance : Cangjie can make application flows smoother and response times faster. Additionally, lightweight threads are expected to improve concurrency performance.
  4. Strong security : Security is built into the language design framework, helping developers avoid and limit potential security vulnerabilities.

Cangjie is considered a multi-paradigm language, supporting object-oriented, imperative, and functional programming styles. It also includes features like type inference, generics, and pattern matching to streamline the development process.

For developers concerned about safety, Cangjie provides a static type system and automatic memory management to ensure program stability. Huawei's languages ​​also provide runtime checks to detect errors as well as interoperability between languages.

In terms of concurrency, Cangjie uses lightweight user mode threads and a concurrency object library. These features are designed to simplify development and improve resource utilization.

Performance is another focus for Cangjie. The compiler and runtime are optimized for efficiency, including high-level and backend compilation optimizations, as well as runtime optimization.

Compact runtime design contributes to improved performance and resource efficiency. Additionally, Cangjie provides a comprehensive development toolchain, including debugging, static testing, performance analysis, and testing frameworks.

The Cangjie preview is now available for developers to sign up and explore.

Update 24 June 2024
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile