Overview
Explore Project Sulong, an LLVM bitcode interpreter on the Graal VM, in this 43-minute conference talk by Matthias Grimmer. Dive into the system's ability to efficiently execute low-level languages like C, Fortran, and C++ on the Java Virtual Machine. Learn about Sulong's architecture, its use of the Truffle language implementation framework, and how it leverages the Graal compiler to optimize performance. Discover the implementation of native interfaces, memory-safe execution of C/C++ code, and the potential for polyglot programming. Gain insights into inlining techniques, performance measurements, and the execution of native code. Understand calling conventions, exception handling, and memory allocation in Sulong. Engage with the speaker during a Q&A session to deepen your understanding of this innovative project.
Syllabus
Introduction
The world is polyglot
The idea behind Graal
What is Sulong
C extension API
Inlining
Performance measurements
Running C extensions
Other native interfaces
Execution of native code
Sulong allocation
Conclusion
Questions
Calling conventions
Throwing exceptions
Memory safety
Taught by
Java