- 授权协议: BSD
- 开发语言: C/C++
- 操作系统: Linux
- 软件首页: https://github.com/graalvm/sulong
- 软件文档: https://github.com/graalvm/sulong/blob/master/README.md
- 官方下载: https://github.com/graalvm/sulong/releases
软件介绍
Sulong 是一个高性能的 LLVM 字节码解释器,基于 Oracle Labs 的 GraalVM 构建。
通过 Sulong 你可以执行 C/C++、Fortran 和其他可以在 GraalVM 上转成 LLVM 字节码的编程语言。为了执行一个程序,你需要使用一个 LLVM 前端工具(如 clang)将程序编译成 LLVM 字节码。
Sulong 是 Graal VM 的一部分,Graal VM 支持 Linux 和 MacOS ,包括 32 位和 64 位平台。
使用方法:
1. 示例代码:
#include <stdio.h>
int main() {
printf("Hello from Sulong!");
return 0;
}2. 编译成 LLVM 字节码:
clang -O1 -c -emit-llvm -o test.bc test.c
3. 在 Graal VM 上执行:
lli test.bc
Algorithms Unlocked
Thomas H. Cormen / The MIT Press / 2013-3-1 / USD 25.00
Have you ever wondered how your GPS can find the fastest way to your destination, selecting one route from seemingly countless possibilities in mere seconds? How your credit card account number is pro......一起来看看 《Algorithms Unlocked》 这本书的介绍吧!
