Draft:Cangjie (programming language): Difference between revisions

Content deleted Content added
FFI, macro system & package manager
Declining submission: nn - Submission is about a topic not yet shown to meet general notability guidelines (be more specific if possible) (AFCH)
Line 1:
{{AFC submission|d|nn|u=158.181.216.135|ns=118|decliner=Stuartyeates|declinets=20250102225902|ts=20241128073832}} <!-- Do not remove this line! -->
 
{{AFC comment|1=The article needs independent coverage, that is secondary source with in depth coverage not written or published by people associated with the language. Pretty much all of the sources below are good for sourcing details of the language but not for proving notability. [[User:Stuartyeates|Stuartyeates]] ([[User talk:Stuartyeates|talk]]) 22:59, 2 January 2025 (UTC)}}
 
----
 
{{Short description|Programming language}}
{{Draft topics|internet-culture|software|computing|technology}}
{{AfC topic|stem}}
 
{{AfC submission|||ts=20241128073832|u=158.181.216.135|ns=118}}
{{AfC submission|t||ts=20240712213913|u=Poppodoms|ns=118|demo=}}
{{Connected contributor|Poppodoms}}
{{COI|date=July 2024}}
Line 81 ⟶ 86:
Unlink [[ArkTS]], Cangjie is a general purpose programming language that is not based on any existing programming languages. The programming language employs modern programming-language theory concepts of other existing programming languages of its category that influences it such as [[Java (programming language)|Java]] with simple and advanced syntax features like [[TypeScript|Typescript]]-centric ArkTS language, in declarative programming development by complementing it with efficiency.<ref>{{Cite web |title=华为:仓颉编程语言自主可控,没有基于任何现有的编程语言演进 - IT之家 |url=https://www.ithome.com/0/776/781.htm |access-date=2024-07-06 |website=www.ithome.com}}</ref>
 
Cangjie features an embedded AgentDSL programming framework, natural language & programming language organic integration. Its lightweight threads provide better concurrency and lower overhead compared to Kotlin and Java on Android, as shown in benchmark tests. <ref>{{Cite AV media |url=https://www.youtube.com/watch?v=odSh9kSfhas |title=Cangjie language compared with Java and Kotlin language on app scrolling |date=2024-06-23 |last=Living In Harmony |access-date=2024-07-06 |via=YouTube}}</ref><ref>{{Cite web |title=华为自研仓颉编程语言官网和开发文档上线,首次融入鸿蒙生态 - IT之家 |url=https://www.ithome.com/0/776/758.htm |access-date=2024-07-06 |website=www.ithome.com}}</ref>
 
It is reported that applications that have already been developed on existing [[ArkTS]] do not need to be redeveloped into the Cangjie version on HarmonyOS Next version. HarmonyOS supports high-performance interoperability between the Cangjie language and the ArkTS language. In the future, developers can choose between Cangjie programming language or ArkTS for incremental development for developer needs.<ref>{{Cite web |date=2024-06-21 |title=Huawei has announced its own programming language Cangjie |url=https://itc.ua/en/news/huawei-has-announced-its-own-programming-language-cangjie/ |access-date=2024-07-06 |website=ITC.ua}}</ref><ref>{{Cite web |title=华为开启鸿蒙 HarmonyOS NEXT 仓颉编程语言开发者预览版 Beta 招募 - IT之家 |url=https://www.ithome.com/0/776/773.htm |access-date=2024-07-06 |website=www.ithome.com}}</ref>
Line 99 ⟶ 104:
 
=== Lambda expression ===
 
 
Lambda expression can have no parameters:<ref name="vid">{{Cite book |title= |publisher=[[Tsinghua University Press]] |year=2024 |isbn=9787302616597 |script-title=zh:仓颉语言实战(微课视频版) |trans-title=Hands on Cangjie Language (Video Course Version)}}</ref><syntaxhighlight lang="swift" line="1" start="1">
Line 169 ⟶ 173:
 
{{Draft categories|
[[:Category:2024 software]]
[[:Category:Cross-platform software]]
[[:Category:Object-based programming languages]]
[[:Category:Scripting languages]]
[[:Category:Source-to-source compilers]]
[[:Category:Statically typed programming languages]]
[[:Category:Huawei products]]
}}