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.
Here are some key features of Cangjie:
- 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.
- 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.
- High performance : Cangjie can make application flows smoother and response times faster. Additionally, lightweight threads are expected to improve concurrency performance.
- 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.
You should read it
- Huawei P40 Pro configuration leak, Kirin 990 5G chipset, 5,500mAh graphene battery, 50W fast charging
- Huawei P30, Huawei's most popular flagship of 2019, has set its launch date
- Huawei MateBook X Pro New and MateBook D series: Intel chips, AMD graphics cards, Windows 10 and Office 365 preinstalled
- Huawei P30 and P30 Pro launched in Vietnam, priced between 17 and 23 million VND
- ARM in turn stopped cooperating with Huawei, could Huawei make its own chips?
- Warning: Huawei's 4G USB contains a serious security flaw
- Huawei P40 series launch: A lot of cutting edge technology but most importantly Google still doesn't have
- Huawei is accused of stealing technology
- Will the 'Huawei Search' tool replace Google Search?
- Huawei nova 7i: Kirin 810 chip, 4,200 mAh battery, twice faster charging iPhone 11, priced at 7 million
- Review Huawei MateBook 13: An attractive ultraportable laptop
- Huawei P20 phones will have rabbit ears like iPhone X