Skip to content

isrc-cas/openarkcompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenArkCompiler (ISCAS PLCT Fork)

一些技巧和使用脚本

我们(软件所智能研究中心 & 重德智能)提供了一些实用的脚本来加速上手和学习:

初始化:直接运行 tools/download_and_setup.sh 就可以一键设置环境和编译成功(在 Ubuntu 16.04 LTS 环境下)。

知乎上的 方舟编译器学习笔记 是软件所PLCT团队成员的学习分析笔记,通过连载的形式,先发表于知乎, 相关的代码和详细分析内容托管在本仓库中。目前大概每天更新一篇短文, 适合初学者跟随着一起学习。

对于有兴趣参与软件所维护的方舟编译器(本仓库)以及软件所为方舟开发的 Toy Runtime 的话,欢迎发邮件给项目维护人员 Wei Wu

以下为官方的README文档内容:

概述

面向多设备、支持多语言的统一编程平台。

OpenArkCompiler是来自华为方舟编译器的开源项目。

OpenArkCompiler 四个技术特点

能够将不同语言代码编译成一套可执行文件,在运行环境中高效执行:

  • 支持多语言联合优化、消除跨语言调用开销;
  • 更轻量的语言运行时;
  • 软硬协同充分发挥硬件能效;
  • 支持多样化的终端设备平台

开源计划

编译器框架代码开源

  • 时间:2019年8月
  • 开源范围:编译器IR+中端语言实现
  • 开放能力:
    • 框架开源供参考学习,了解方舟编译器架构及框架代码
    • 开发者可构建出完整编译器工具链,支持Java Sample程序编译(非应用)

后续开源范围

陆续开源编译器前端、后端、编译优化;完整支持Java程序编译、JavaScript语言应用的编译等。

计划持续更新...

相关文档

许可证

Overview


Unified programming platform supporting multiple devices and languages

OpenArkCompiler is Huawei's open source project.

Four Technical Features of OpenArkCompiler

Compiles code of different languages into a set of executable files and efficiently executes the files in the running environment.

  • Supports joint optimization of multiple languages and eliminates cross-language calling overhead.
  • Achieves lightweight language runtime.
  • Collaborates hardware and software to maximize hardware energy efficiency.
  • Supports diversified terminal platforms.

Open Source Plan

Open source compiler framework code

  • Time: August, 2019
  • Scope: Compiler IR and middle-end language implementation
  • Benefits:
    • Provides an open source framework for understanding the architecture and framework code of OpenArkCompiler.
    • Allows developers to build a complete compiler toolchain that supports the compilation of Java samples (non-application).

Subsequent open source scope Open the front end, back end, and compilation optimization of compilers. Support the full compilation of Java programs and JavaScript applications.

Updating...

Related Documents

License

About

PLCT实验室维护的内部版本。跟方舟编译器官方代码并不总是一致。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages