R Melts Brains -- An IR for First-Class Environments and Lazy Effectful ArgumentsResearch Paper
The R programming language combines a number of fea- tures considered hard to analyze and implement efficiently: dynamic typing, reflection, lazy evaluation, vectorized prim- itive types, first-class closures, and extensive use of native code. Additionally, variable scopes are reified at runtime as first-class environments. The combination of these features renders most static program analysis techniques impractical, and thus, compiler optimizations based on them ineffective. We present our work on PIR, an intermediate representa- tion with explicit support for first-class environments and effectful lazy evaluation. We describe two dataflow analyses on PIR: the first enables reasoning about variables and their environments, and the second infers where arguments are evaluated. Leveraging their results, we show how to elide environment creation and inline functions.
This program is tentative and subject to change.
Sun 20 Oct
|14:00 - 14:30|
|14:30 - 15:00|
Olivier FlückigerNortheastern University, USA, Guido ChariCzech Technical University, Czechia, Jan JecmenCzech Technical University, Ming-Ho YeeNortheastern University, Jakob HainNortheastern University, Jan VitekNortheastern UniversityPre-print
|15:00 - 15:30|
Python Programmers have GPUs too: Automatic Python Loop Parallelization with Staged Dependence AnalysisResearch Paper
Dejice JacobUniversity of Glasgow, Phil TrinderUniversity of Glasgow, Jeremy SingerUniversity of GlasgowPre-print