Share to: share facebook share twitter share wa share telegram print page

Ark Compiler

Ark Compiler
Developer(s)Huawei
Initial releaseAugust 9, 2019; 5 years ago (2019-08-09)
Written inArkTS, Cangjie, JS, C, C++
Operating systemEMUI (HMS Apk apps), HarmonyOS, OpenHarmony, Oniro OS
PlatformARM, RISC-V, x86, x64, LoongArch, Lingxi[1]
TypeCompiler, Runtime environment, Compiler front end, Toolchain
LicenseMixed: Proprietary (HarmonyOS), Apache License (OpenHarmony, Oniro OS, Android ArkCompiler)

Ark Compiler, also known as ArkCompiler, is a unified compilation and runtime platform that supports joint compilation and running across programming languages and chip platforms, also operating systems of open-source OpenHarmony, Oniro OS, alongside proprietary HarmonyOS with single core system HarmonyOS NEXT included on native APP in Event-driven programming in a unified development environment and formerly built for Android-based EMUI for Huawei smartphones and tablets with HMS-enabled apk apps on AppGallery that improves app performance.[2] It supports a variety of dynamic and static programming languages such as JS, TS, and ArkTS. It is the compilation and runtime base that enables OpenHarmony, Oniro OS alongside HarmonyOS NEXT to run on multiple device forms such as smart devices, mobile phones, PCs, tablets, TVs, automobiles, and wearables. ArkCompiler consists of two parts, compiler toolchain and runtime.[3]

Huawei initially open sourced Ark Compiler for Android platform on GitHub, on September 9, 2019, as they were transitioning away from the operating system via US sanctions.[4] Then the company, open sourced Ark Compiler with OpenArkCompiler as part of the Huawei Ark Compiler open source project (HACOSP) in early February 2022 [5] and ArkJS_runtime, in the previous year in September 2021 after two years of inception in August 2019.[6]

Overview

ArkCompiler has a built-in componentized and configurable multi-language compilation and runtime platform of OpenHarmony and HarmonyOS with HarmonyOS NEXT. It contains the core components such as the compiler, toolchain, and runtime. It supports compilation and running of high-level programming languages on the multi-chip platform. ArkCompiler JS Runtime provides the capability of compiling and running the JavaScript (JS) language on the OpenHarmony operating system side.

ArkCompiler JS Runtime consists of two parts such as the JS compiler toolchain and JS runtime. The JS compiler toolchain compiles JS source code into ArkCompiler bytecodes. The JS runtime executes the generated ArkCompiler bytecodes.[7]

ArkCompiler Runtime Core

HarmonyOS Runtime
Developer(s)Huawei
Written inArkTS, Cangjie, C, C++, JS
Operating systemHarmonyOS
PlatformARM, RISC-V, x86, x64, LoongArch, Lingxi[8]
TypeRuntime environment
LicenseProprietary
Ark Runtime
Developer(s)Huawei
Written inArkTS
Operating systemHarmonyOS (HarmonyOS NEXT), OpenHarmony, Oniro OS
PlatformARM, RISC-V, x86, x64, LoongArch, Lingxi[9]
TypeRuntime environment, Compiler front end, Toolchain
LicenseProprietary, Apache License (OpenHarmony ArkCompiler Runtime Core), Eclipse Public License (Oniro OS)

The common module of language runtime in OpenHarmony operating system called ArkCompiler Runtime Core also created as Ark Runtime on top of HarmonyOS Runtime base on current dual-framework, alongside single framework OpenHarmony-based HarmonyOS NEXT which consists of language-independent basic runtime libraries, including ArkCompiler File, Tooling, Base and ISA. The ArkCompiler File provides bytecodes and information required for executing the bytecodes. Tooling supports the runtime debugger. The Base is responsible for implementing platform related utilities. ISA function provides common instruction set architecture that is language-independent that allows to run HarmonyOS applications regardless of different instruction set and chipsets in hardware with great compatibility of diverse set of hardware and interoperability between HarmonyOS, Oniro and OpenHarmony software and hardware ecosystems.[10]

ArkCompiler JS Runtime

ArkCompiler JS Runtime is the default JS runtime on OpenHarmony. It supports ECMAScript libraries and efficient container libraries. It also provides a set of native APIs for C++ and JS interaction and a variety of garbage collectors that features high performance.[11]

ArkCompiler eTS Runtime

ArkCompiler eTS Runtime is a runtime used in ArkTS applications derived from former HarmonyOS 3.0/OpenHarmony 3.1 API 8 eTS (extendedTypeScript) on OpenHarmony as well as HarmonyOS apps taking advantage of custom OpenHarmony-based HarmonyOS NEXT core operating system. It contains an allocator and garbage collector (GC) for ArkTS/JS objects, a standard library that conforms to the ECMAScript specification, an interpreter for running the ARK Bytecode (abc) generated by ARK front-end components, an inline cache for acceleration, a statically typed compiler, a C++/C function interface for Native API (NAPI) application development at runtime, and other modules in Ahead-of-time compilation via DevEco Studio since version 3.1.1 on both HarmonyOS 3.1 SDK and OpenHarmony 3.2 SDK API 9.[12]

ets_frontend

The ets_frontend is a front-end tool in the ARK Runtime Subsystem which combines the ace-ets2bundle component that supports converting ETS programming language files into ARK bytecode files. They correspond with ArkTS app development in OpenHarmony and HarmonyOS development under HarmonyOS NEXT system.[13]

ArkCompiler Toolchain

The ArkCompiler Toolchain provides developers with debugging tools for ArkTS application development, such as the Debugger, CPUProfiler, and HeapProfiler. The debugging and tuning capabilities provided by the Ark Toolchain is used through DevEco Studio IDE that relies on the ArkCompiler Runtime to provide runtime-related information to developers.[14]

References

  1. ^ "OpenHarmony 3.0 successfully adapted Loongson 1C300B chip". Huawei Update. December 15, 2021. Retrieved December 15, 2021.
  2. ^ Siddiqui, Aamir (June 22, 2019). "Ark Compiler Explained: How Huawei's App Compiler May Improve Android App Performance". XDA Developers. Retrieved February 12, 2024.
  3. ^ "ArkCompiler Runtime". OpenAtom Gitee. Retrieved February 12, 2024.
  4. ^ Amit (September 9, 2019). "Huawei Ark compiler officially open source from GitHub for self-hosting". Huawei Update. Retrieved February 12, 2024.
  5. ^ Sarkar, Amy (February 9, 2022). "OpenArkCompiler 1.0 launched, Huawei Ark Compiler open source project (HACOSP)". HC Newsroom. Retrieved February 12, 2024.
  6. ^ Mishra, Yash (September 7, 2021). "Ark Compiler JS runtime became open source in Huawei HarmonyOS". HC Newsroom. Retrieved February 12, 2024.
  7. ^ "Overview". OpenAtom Gitee. Retrieved February 12, 2024.
  8. ^ "OpenHarmony 3.0 successfully adapted Loongson 1C300B chip". Huawei Update. December 15, 2021. Retrieved December 15, 2021.
  9. ^ "OpenHarmony 3.0 successfully adapted Loongson 1C300B chip". Huawei Update. December 15, 2021. Retrieved December 15, 2021.
  10. ^ "Runtime Core". OpenAtom Gitee. Retrieved February 12, 2024.
  11. ^ "ArkCompiler JS Runtime". OpenAtom Gitee. Retrieved February 12, 2024.
  12. ^ "ArkCompiler JS Runtime - ets Runtime". OpenAtom Gitee. Retrieved February 12, 2024.
  13. ^ "ets_frontend". OpenAtom Gitee. Retrieved February 12, 2024.
  14. ^ "Ark toolchain components". OpenAtom Gitee. Retrieved February 12, 2024.

Read other articles:

Калантар Аветіс Айрапетович Народився 13 вересня 1859(1859-09-13)[1]Ashagy Aylisd, Ордубадський повітd, Еріванська губернія, Кавказьке намісництво, Російська імперія[1]Помер 28 листопада 1937(1937-11-28)[1] (78 років)Єреван, Вірменська РСР, СРСР[1]Країна  Російська імперія Ро...

Election 2008 San Diego mayoral election ← 2005 (special) June 3, 2008 (2008-06-03) 2012 →   Nominee Jerry Sanders Steve Francis Party Republican Republican Popular vote 116,527 73,665 Percentage 54.3% 34.3% Mayor before election Jerry Sanders Republican Elected Mayor Jerry Sanders Republican Elections in California Federal government U.S. President 1852 1856 1860 1864 1868 1872 1876 1880 1884 1888 1892 1896 1900 1904 1908 1912 1916 1920 1924 192...

Katedral Santo PaulusNational Shrine of the Apostle Paul44°56′49″N 93°06′32″W / 44.94694°N 93.10889°W / 44.94694; -93.10889Koordinat: 44°56′49″N 93°06′32″W / 44.94694°N 93.10889°W / 44.94694; -93.10889Lokasi239 Selby Ave,Saint Paul, MinnesotaNegara Amerika SerikatDenominasiGereja Katolik RomaSitus webcathedralsaintpaul.orgSejarahTanggal konsekrasi1958[1]ArsitekturStatusKatedral, tempat ziarah nasionalStatus f...

Theme park in Milton Keynes, England This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Gulliver's Land – news · newspapers · books · scholar · JSTOR (August 2022) (Learn how and when to remove this template message) Not to be confused with Gulliver's World, Gulliver's Kingdom, or Gulliver's Valley. Gulliver's LandLocationGulliv...

2022 film by Laure de Clermont-Tonnerre Lady Chatterley's LoverOfficial release posterDirected byLaure de Clermont-TonnerreScreenplay byDavid MageeBased onLady Chatterley's Loverby D. H. LawrenceProduced by Laurence Mark Pete Czernin Graham Broadbent Starring Emma Corrin Jack O'Connell Matthew Duckett Ella Hunt Faye Marsay Joely Richardson CinematographyBenoît DelhommeEdited by Géraldine Mangenot Nina Annan Music byIsabella SummersProductioncompanies Laurence Mark Productions Blueprint Pict...

British actor Charles Victorin Fast and Loose (1954)BornCharles Victor Harvey10 February 1896Southport, Lancashire, EnglandDied23 December 1965 (aged 69)Putney, London, EnglandOccupationActorYears active1938–1965 Charles Victor (10 February 1896 – 23 December 1965) was a British actor who appeared in many film and television roles between 1931 and 1965.[1][2] He was born Charles Victor Harvey.[3] Born in Southport, Lancashire, England,[4] Victor wa...

Artikel ini perlu dikembangkan agar dapat memenuhi kriteria sebagai entri Wikipedia.Bantulah untuk mengembangkan artikel ini. Jika tidak dikembangkan, artikel ini akan dihapus. Janub Sina' (bahasa Arab: جنوب سيناء ) adalah satu dari 27 kegubernuran Mesir. Ibu kotanya adalah El Tor, tetapi kota terbesarnya adalah Sharm el-Sheikh. Di kegubernuran ini terdapat gunung Sinai, tempat nabi Musa mendapatkan wahyu. Lihat pula Kegubernuran Syamal Sina' Artikel bertopik Timur Tengah ini adalah ...

This is a list of Christmas dishes. During the Christmas, many countries had their own dishes. Christmas dinner setting Fruit cake Argentina See also: Argentine cuisine Vitello tonnato is a popular Christmas dish in Argentina, where it is known as vitel toné. The Piedmontese dish is valued during the summer for its cold serving temperature, and is the legacy of the large Italian immigration to the country.[1] Panettone (known locally as pan dulce) and turrón are the most popular Chr...

Este artículo o sección necesita referencias que aparezcan en una publicación acreditada.Este aviso fue puesto el 16 de julio de 2013. Performance de un equipo en acceso y descenso En el ámbito deportivo, el sistema de ascenso y descenso es un proceso mediante el cual distintas divisiones de una liga intercambian algunos equipos al final de temporada con base en los resultados deportivos obtenidos durante la campaña. Los equipos con peores resultados en una división determinada son desc...

1994 Mexican general election 21 August 1994 Presidential election← 19882000 →Turnout77.16% ( 25.15 pp)   Nominee Ernesto Zedillo Diego Fernández de Cevallos Cuauhtémoc Cárdenas Party PRI PAN PRD Popular vote 17,181,651 9,146,841 5,852,134 Percentage 50.13% 26.69% 17.07% Results by state President before election Carlos Salinas de Gortari PRI Elected President Ernesto Zedillo PRI Senate← 19882000 →All 128 seats in the Senate of the Repu...

Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Star Mild – berita · surat kabar · buku · cendekiawan · JSTOR Star MildJenis produkSigaret Kretek Mesin MildPemilikBentoel GroupProdusenPT Bentoel PrimaNegaraIndonesiaDiluncurkan1996; 26 tahun lalu ...

装甲騎兵ボトムズペールゼン・ファイルズ ジャンル ロボットアニメ OVA 原作 矢立肇高橋良輔 監督 高橋良輔 シリーズ構成 吉川惣司 キャラクターデザイン 塩山紀生 メカニックデザイン 大河原邦男 アニメーション制作 サンライズインタラクティブアンサースタジオ 製作 サンライズ 発表期間 2007年10月26日 - 2008年8月22日 話数 全12話 小説:装甲騎兵ボトムズペールゼン...

For other people named Christine Beatty, see Christine Beatty (disambiguation). Christine Rowland Beatty (born May 1970) served as the Chief of Staff from 2002 to 2008 to Detroit Mayor Kwame Kilpatrick. In January 2008, Beatty resigned amid an emerging political sex scandal and criminal charges of perjury related to a whistleblower trial for lying under oath about her extramarital affair with Kilpatrick. Beatty and Kilpatrick sought to mislead jurors when they testified that they did not fire...

KarlukTurkik TenggaraPersebaranAsia TengahPenggolonganbahasaTurkikTurkik UmumKarlukBahasa indukTurkik TengahSubcabang Turki Barat Turkik Timur Kode bahasaGlottolognoneuygh1240  (Karluk Timur (Uighur))uzbe1247  (Karluk Barat (Uzbek))Lokasi penuturan Karluk Barat   Karluk Timur   Portal Bahasa L • B • PWBantuan penggunaan templat ini PemberitahuanTemplat ini mendeteksi bahwa artikel bahasa ini masih belum dinilai kualitasnya oleh ProyekWiki Bahas...

Isabella dari KastiliaIstri Adipati YorkPemakaman14 Januari 1393Kings Langley, HertfordshireWangsaWangsa Ivrea (melalui kelahiran)Wangsa York (melalui pernikahan)AyahPedro dari KastiliaIbuMaría de PadillaPasanganEdmund dari Langley, Adipati Pertama YorkAnakEdward dari Norwich, Adipati Kedua YorkConstance dari YorkRichard dari Conisburgh, Earl Ketiga Cambridge Infanta Isabella dari Kastilia, Istri Adipati York (1355 – 23 Desember 1392) merupakan putri Pedro dari Kastilia dan María de Padil...

Keuskupan SuzhouDioecesis Suceuvensis天主教苏州教区Katedral SuzhouLokasiNegaraChinaProvinsi gerejawiNanjingMetropolitNanjingStatistikPopulasi- Total- Katolik(per 2008)2.170.00060,000 (0.95%)InformasiRitusRitus LatinKatedralKatedral Bunda dari Tujuh Kesedihan di SuzhouKepemimpinan kiniPausFransiskusUskupJoseph Xu HonggenUskup agungFrancis Lu Xin-ping Keuskupan Suzhou/Wuxian (bahasa Latin: Suceuven(sis), Hanzi: 蘇州, 吳縣) adalah sebuah keuskupan yang terl...

Field of tobacco in rural Philippines First introduced in 1592, tobacco continues to dominate the social, political, and economic life in the Philippine regions where it is grown. The tobacco industry is a major force in the development of these areas, especially in Ilocos, in which it is still one of the region's leading sources of income. History Tobacco came to the Philippines in 1592, when the Spanish Galleon San Clemente arrived in Manila carrying 50 kilos of Cuban tobacco seeds that wer...

Archaeological site overlooking the city of Shumen in Bulgaria Shumen FortressBulgarian: Шуменска крепостShumenska krepost'Shumеn, Bulgaria The main tower of the Shumen FortressPlan of the Shumen FortressShumen FortressCoordinates43°15′44″N 26°53′36″E / 43.2622°N 26.8933°E / 43.2622; 26.8933TypeFortressSite informationOwnerAncient Thrace, the Roman Empire, the Byzantine Empire, the Bulgarian Empire, and the Ottoman Empire.Open tothe...

Герої Соціалістичної Праці, починаючи з літери Г: Габрилович Євген Йосипович Гаврилів Меланія Василівна Гавриленко Феодосія Петрівна Гаврилов Олександр Григорович Гаврилова Тетяна Андріївна Гаврилюк Олександра Євгенівна Гаганова Валентина Іванівна Гаїпов Рузмет Га...

Анхель Гарсія Особисті дані Повне ім'я Анхель Гарсія Кабесалі Народження 3 лютого 1993(1993-02-03) (30 років)   Мадрид, Іспанія Зріст 184 см Вага 85 кг Громадянство  Іспанія Позиція захисник Інформація про клуб Поточний клуб АЕК (Ларнака) Номер 14 Юнацькі клуби 1998—2002 2002—2003 20...

Kembali kehalaman sebelumnya