Huawei Cangjie hello world

func main(){
  print("hello world")
}

Hello, friends!

I want to share a great language with you: Cangjie.

This would be a very good place to practice if you are learning the Cangjie language.


Cangjie

Here is it: Online practice of Cangjie language  http://cangjielang.inhuawei.com/

Cangjie is a secure, easy-to-use, and all-scenario-oriented general-purpose programming language.

Efficient Programming

Simplified syntax, easy for developers to learn and use; type inference, reducing developers' labeling workloads; multi-paradigm programming and advanced abstraction, providing native concurrency and distributed capabilities; EDSL abstraction, lowering the domain programming threshold, and efficiently solving domain programming problems; integration with IDE to implement bidirectional UI previewing and editing and AI-assisted programming, providing ultimate development experience.

Easy to Expand

Metaprogramming: Design domain-specific syntax and semantics through macros, annotations, and templates; multi-backend support: backend support for different domains and all-scenario development of the same language technology stack; cross-language calling: efficient multi-language interoperability enables reuse and compatibility with other language ecosystems.

Concurrent/Distributed Programming

High concurrency: The native concurrency model and coroutine mechanism support high program concurrency.Lightweight: Tailorable runtime and minimized standard library support unified programming for light and rich devices.Distributed data type: Provides a distributed data-driven programming model to simplify HarmonyOS distributed programming.


Hope the