John Lin
Principal Architect at West Pharmaceutical Service. Ruby lover. Full-stack developer. Organizer of Swift Taipei. iOS developer. FP lover.
Sessions
With the growing importance of JIT(Just-in-time compilation) in Ruby, the importance of Intermediate Representation(IR) also increase. Comparing to AST, a SSA form(static single assignment form) IR is easier to be analyzed and optimized.
mlir-dialect-ruby
is a MLIR dialect for Ruby. MLIR stands for Multi-Level Intermediate Representation, a framework develeped by the LLVM community. mlir-dialect-ruby
can convert Ruby code into a Ruby specific IR using MLIR. And this IR can be lowered into various targets, including CPU and GPU.
In this talk, we'll introduce the LLVM MLIR (Multi-Level Intermediate Representation). And introduce the mlir-dialect-ruby
, which is an IR designed for Ruby.