Fri 25 Oct 2024 16:20 - 16:40 at IBR West - Education and Language Usability Chair(s): Arjun Guha

Data science workloads frequently include Python code, but Python’s dynamic nature makes efficient execution hard. Traditional approaches either treat Python as a black box, missing out on optimization potential, or are limited to a narrow domain. However, a deep and efficient integration of user-defined Python code into data processing systems requires extracting the semantics of the entire Python code.

In this paper, we propose a novel approach for extracting the high-level semantics by transforming general Python functions into program generators that generate a statically-typed IR when executed. The extracted IR then allows for high-level, domain-specific optimizations and the generation of efficient C++ code. With our prototype implementation, HiPy, we achieve single-threaded speedups of 2-20x for many workloads. Furthermore, HiPy is also capable of accelerating Python code in other domains like numerical data, where it can sometimes even outperform specialized compilers.

Fri 25 Oct

Displayed time zone: Pacific Time (US & Canada) change

16:00 - 17:40
Education and Language UsabilityOOPSLA 2024 at IBR West
Chair(s): Arjun Guha Northeastern University; Roblox
16:00
20m
Talk
Forge: A Tool and Language for Teaching Formal Methods
OOPSLA 2024
Tim Nelson Brown University, Ben Greenman University of Utah, Siddhartha Prasad Brown University, Tristan Dyer Brown University, Ethan Bove Brown University, Qianfan Chen Brown University, Charlie Cutting Brown University, Thomas Del Vecchio Brown University, Sidney LeVine Brown University, Julianne Rudner Brown University, Benjamin Ryjikov Brown University, Alexander Varga Brown University, Andrew Wagner Northeastern University, Luke West Brown University, Shriram Krishnamurthi Brown University
DOI
16:20
20m
Talk
HiPy: Extracting High-Level Semantics From Python Code For Data Processing
OOPSLA 2024
Michael Jungmair Technical University of Munich, Alexis Engelke TU Munich, Jana Giceva Technical University of Munich
DOI
16:40
20m
Talk
Identifying and Correcting Programming Language Behavior MisconceptionsOOPSLA 2024 Distinguished Paper Award
OOPSLA 2024
Kuang-Chen Lu Brown University, USA, Shriram Krishnamurthi Brown University
DOI
17:00
20m
Talk
PyDex: Repairing Bugs in Introductory Python Assignments using LLMs
OOPSLA 2024
Jialu Zhang University of Waterloo, José Pablo Cambronero Google, USA, Sumit Gulwani Microsoft, Vu Le Microsoft, Ruzica Piskac Yale University, Gustavo Soares Microsoft, Gust Verbruggen Microsoft
DOI
17:20
20m
Talk
Profiling Programming Language LearningOOPSLA 2024 Distinguished Paper Award
OOPSLA 2024
Will Crichton Brown University, Shriram Krishnamurthi Brown University
DOI Pre-print