~/talk

ScaIR: Type-safe Compiler Framework Compatible with MLIR

Talkat The Scala Workshop 2025 · on Sunday, 2025-10-12· [scala]
name:Maks Kret
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

ScaIR is a Scala-based reimplementation of MLIR that embeds compile-time typed operations into case classes, derives companion typeclasses via Scala 3 quotes and deferred, and offers a structure/destructure + mutable escape hatch to interoperate with MLIR’s generic form. The team builds a full IR, pattern-based rewrites as plain Scala pattern matching, and runs two benchmarks: random constant-folding and predictable chaining. Results show JVM JIT can match or approach C++ MLIR for large workloads, Scala Native lags, and end-to-end throughput is currently slower (up to an order of magnitude) but improving.

AI-written summary · about

  1. 0:00Introduction
  2. 0:22Compiler infrastructure and MLIR
  3. 1:47ScaIR goals and components
  4. 3:59MLIR example and tablegen
  5. 9:21MLIR learning curve
  6. 10:47ScaIR design and benefits
  7. 13:37MLIR vs ScaIR
  8. 17:04Implementation and benchmarks
  9. 19:35Takeaways and future
  10. 20:39Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.