没有合适的资源?快使用搜索试试~ 我知道了~
首页the LLVM compiler system
资源详情
资源评论
资源推荐

The LLVM Compiler System
Chris Lattner
sabre@nondot.org
Bossa International Conference
on Open Source, Mobile Internet and Multimedia
March 12, 2007
LLVM: Low Level Virtual Machine

http://llvm.org/
LLVM Talk Overview
•
The LLVM Approach to Compilers
•
The LLVM C/C++/ObjC Compiler
•
Optimizing OpenGL with LLVM
•
Using LLVM with Scripting Languages

http://llvm.org/
Open Source Compiler Technology
•
“Scripting” Language Interpreters: Python, Ruby, Perl, Javascript, etc
–
Traditionally interpreted at runtime, used by highly dynamic languages
•
Java and .NET Virtual Machines
–
Run time compilation for any language that can target the JVM
•
GCC: C/C++/ObjC/Ada/FORTRAN/Java Compiler
–
Static optimization and code generation at build time

http://llvm.org/
OSS Compiler Technology Strengths 1/2
•
Scripting/Dynamic Language Strengths:
–
Interpreters are extremely portable and small (code size)
–
Many interesting advanced compilation models (pypy, Parrot, jrubyc, etc)
–
Dynamic languages are very expressive and powerful
•
Java Virtual Machine Strengths:
–
JVM bytecode is portable, JVMs available for many systems
–
Many languages can be compiled to JVM
–
Provides runtime/JIT optimization, high level optimizations

http://llvm.org/
OSS Compiler Technology Strengths 2/2
•
GCC Strengths:
–
Support for important languages like C/C++
–
Other projects can emit C/C++ code and compile with GCC
–
Good code generation/optimization
–
Supports many different CPUs
•
Common strengths:
–
Each has a large and vibrant community!
–
We support tons of existing code written in many languages!
With so many strengths, what could be wrong?
剩余28页未读,继续阅读

















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0