Skip navigation links

Package com.oracle.truffle.tutorial.graal

Truffle Tutorial: The Graal Compiler

See: Description

Package com.oracle.truffle.tutorial.graal Description

Truffle Tutorial: The Graal Compiler

This 3-hour tutorial presents Graal, the high-performance dynamic compiler for Java written in Java that enables very high performance for Truffle-implemented languages. The tutorial was presented February 8, 2015 at the International Symposium on Code Generation and Optimization (CGO 2015) and covers the following topics:
  • Key distinguishing features of Graal
  • Introduction to the Graal IR: basic properties, instructions, and optimization phases
  • Speculative optimizations: first-class support for optimistic optimizations and deoptimization
  • Graal API: separation of the compiler from the VM
  • Snippets: expressing high-level semantics in low-level Java code
  • Compiler intrinsics: use all your hardware instructions with Graal
  • Using Graal for static analysis
  • Custom compilations with Graal: integration of the compiler with an application or library
  • Graal as a compiler for dynamic programming languages in the Truffle framework

Video recording: Part 1:

Part 2:

Download Slides

Related information:

Since:
0.25
Skip navigation links