June 21st, 2024

Huawei unveils its own programming language the "Cangjie"

Huawei introduces "Cangjie" programming language at HDC 2024. Promises security, intelligence, and performance. To integrate with HarmonyOS for user-friendly development. Features AgentDSL, supports various styles, type inference, generics, pattern matching. Lightweight, scalable with new garbage collection for improved performance. Developers to explore benefits post-launch.

Read original articleLink Icon
Huawei unveils its own programming language the "Cangjie"

Huawei has introduced its own programming language called "Cangjie" at the HDC 2024 developer conference. The brand claims that Cangjie offers strong security, native intelligence, and high performance. Huawei plans to integrate Cangjie with its HarmonyOS ecosystem to provide a user-friendly development experience. The programming language features a built-in AgentDSL framework, supports multiple programming styles, and includes features like type inference, generics, and pattern matching. Designed to be lightweight and scalable, Cangjie also boasts a new garbage collection system for smoother application threads and faster response times. While Huawei is confident in the capabilities of Cangjie, developers will need to explore its benefits further once it is available in the market.

Related

Unisoc and Xiaomi's 4nm Chips Said to Challenge Qualcomm and MediaTek

Unisoc and Xiaomi's 4nm Chips Said to Challenge Qualcomm and MediaTek

UNISOC and Xiaomi collaborate on 4nm chips challenging Qualcomm and MediaTek. UNISOC's chip features X1 big core + A78 middle core + A55 small core with Mali G715 MC7 GPU, offering competitive performance and lower power consumption. Xiaomi's Xuanjie chip includes X3 big core + A715 middle core + A510 small core with IMG CXT 48-1536 GPU, potentially integrating a MediaTek baseband. Xiaomi plans a separate mid-range phone line with Xuanjie chips, aiming to strengthen its market presence. The successful development of these 4nm chips by UNISOC and Xiaomi marks progress in domestically produced mobile chips, enhancing competitiveness.

Cognate: Readable and concise concatenative programming

Cognate: Readable and concise concatenative programming

Cognate is a concise, readable concatenative programming language emphasizing simplicity and flexibility. It supports operators as functions, stack evaluation, control flow statements, list manipulation, recursion, and mutable variables through boxes.

Cosmopolitan v3.5

Cosmopolitan v3.5

Cosmopolitan Libc transforms C into a universal language by modifying GCC and Clang to create a POSIX-compliant polyglot format. Users can compile programs using the `cosmocc` compiler and access debugging techniques. The project provides platform notes, a Discord chatroom, and funding acknowledgments.

The Death of the Junior Developer – Steve Yegge

The Death of the Junior Developer – Steve Yegge

The blog discusses AI models like ChatGPT impacting junior developers in law, writing, editing, and programming. Senior professionals benefit from AI assistants like GPT-4o, Gemini, and Claude 3 Opus, enhancing efficiency and productivity in Chat Oriented Programming (CHOP).

Etched Is Making the Biggest Bet in AI

Etched Is Making the Biggest Bet in AI

Etched invests in AI with Sohu, a specialized chip for transformers, surpassing traditional models like DLRMs and CNNs. Sohu optimizes transformer models like ChatGPT, aiming to excel in AI superintelligence.

Link Icon 10 comments
By @mncharity - 5 months
The language docs[1] are CN. Chromium's (and Chrome's?) Translate menu option works well. Alternately, most pages in the table of contents have code for skimming untranslated. One can also cut and paste to translation sites, but giving urls to translate.google (and baidu, yandex) yield blank pages.

There is a language spec pdf, as a link and inline, on page [2]. It's readable, being code dense, but also CN. I don't know how to easily translate it - chromium browser translation, and translate.google, don't seem to.

[1] https://developer.huawei.com/consumer/cn/doc/openharmony-can... [2] https://developer.huawei.com/consumer/cn/doc/openharmony-can...

By @dgellow - 5 months
> here are some key features of Huawei’s programming language: Native intelligence, full scene capabilities, high performance and strong security.

Is it a translation issue? That’s non sensical

By @Rygian - 5 months
"Reflections on Trusting Trust" comes to mind as particularly relevant especially with the planned integration with HarmonyOS.
By @AYBABTME - 5 months
Couldn't find the source or an example. Also I don't read Chinese so this doesn't help. Anyone has links?
By @firen777 - 5 months
Totally not gonna cause any kind of confusion with that name: https://en.wikipedia.org/wiki/Cangjie_input_method
By @hnthrowaway0328 - 5 months
By @Mathnerd314 - 5 months
> multi-paradigm and supports functional, imperative, and object-oriented programming styles

No logic programming, not as good as Verse

By @kstrauser - 5 months
> Huawei is a brand known for its great tech innovations.

Pardon me while I wipe the coffee spray off my screen.

A whole lot of phone makers' dev teams just shouted in glee and gave each other fist bumps that Huawei is likely taking an expensive and doomed-to-failure detour.