class="wp-singular post-template-default single single-post postid-329163 single-format-standard wp-embed-responsive wp-theme-foxiz personalized-all elementor-default elementor-kit-326456 menu-ani-1 hover-ani-1 btn-ani-1 btn-transform-1 is-rm-1 lmeta-dot loader-1 dark-sw-2 mtax-1 is-hd-2 is-standard-1 is-backtop none-m-backtop " data-theme="default">

Huawei announces the V1.0 version of “Hongmeng Programming Language White Paper”: Interpreting the characteristics, scenarios and future vision of ArkTS/Cangjie – Passionategeekz

Team Passionategeekz
3 Min Read

Also See


Free Article Submission
SUBMIT YOUR ARTICLE HERE FOR FREE

Passionategeekz On June 22, Huawei has now launched the “HongmengProgramming Language White Paper” V1.0 version, mainly focusing on Hongmeng Harmonyos The overall framework, applicable scenarios, evolution strategies, and future vision are explained in four major angles. Passionategeekz has a document access address (https://developer.huawei.com/consumer/cn/doc/guidebook/programming-language-0000002323920052)。

In terms of overall framework, Hongmeng supports three programming languages: ArkTS, Cangjie and C/C++.Among them, ArkTS is a dynamic type programming language, based on TypeScriptwith the characteristics of easy learning and easy to use, rich ecological and other qualities, suitable for efficient development scenarios;Cangjie is a static type programming languagehas high performance, strong security, cross-platform features, and is suitable for scenarios with high performance and security requirements; C/C++ is suitable for specific scenarios such as high performance computing, hardware acceleration, etc., and can be packaged as ArkTS and Cangjie extension modules through cross-language interoperability.

The official introduction to the interoperability of the corresponding languages, where ArkTS and C/C++ achieve interoperability through Node-API; Cangjie and C language realize inter-call function calls and cross-language data conversion; Cangjie and ArkTS achieve data conversion and function calls through inter-operation library.

In terms of applicable scenarios, ArkTS is compatible with TS efficient syntax, provides rich basic libraries and concurrency capabilities, supports declarative UI development, and can inherit the TS/JS language ecosystem. Its compilation runtime supports hybrid execution mode, optimizes module loading mechanism, provides an efficient concurrent programming model, and introduces features such as type systems at the language level, as well as providing additional security mechanisms during compilation toolchain and runtime.

Cangjie is based on static typing and static compilation optimization technology, and mainly uses static typing systems, automatic memory management, etc. to ensure program security. Supports static compilation to machine codes of different OS platforms, realizes cross-OS platform code sharing, supports multiple operating system platforms,It also provides technologies such as appearance obfuscation, data obfuscation, control flow obfuscation to ensure technical asset protection

In terms of evolution strategies, Huawei will further define and improve the corresponding programming language specifications in the future, provide compiler implementation based on language specifications, introduce type information to optimize runtime performance, and at the same time deepen the integration with AI technology to promote the application of corresponding languages ​​in more fields.

Advertising statement: The external redirect links (including, not limited to, hyperlinks, QR codes, passwords, etc.) contained in the article are used to convey more information and save selection time. The results are for reference only. All articles from Passionategeekz include this statement.



Source link


Discover more from PassionateGeekz

Subscribe to get the latest posts sent to your email.

Share This Article
Leave a Comment

Leave a Reply

Discover more from PassionateGeekz

Subscribe now to keep reading and get access to the full archive.

Continue reading