paperbot · PL 论文追踪

全部论文 待读 收藏

P2 IRIDIUM: A Framework for Statically Optimizing JavaScript Programs

IRIDIUM:一个面向 JavaScript 程序的静态优化框架
OOPSLA 10(OOPSLA1)2026匹配度 3/10 · 该论文聚焦于JavaScript静态分析与优化框架,属于程序语言和静态分析基础设施,与用户关注的静态分析方向有间接关联;但它并未涉及LLM/Agent程序、ML系统、浮点程序分析或贝叶斯程序分析等核心交叉点。引用 0 inbox
Meetesh Kalpesh Mehta, Anirudh Garg, Aneeket Yadav, Manas Thakur
crossref: 2026-09-10

AI 速览

一句话:提出首个将 JavaScript 系统化降级为结构化中间表示以支持静态分析与优化的框架。

JavaScript 因动态类型、特殊作用域规则和普遍副作用而难以静态分析,且缺乏如 LLVM、Soot 般成熟的统一基础设施。本文提出 IRIDIUM,一个面向 JavaScript 静态优化的框架。它系统地将 JavaScript 降级为结构化中间表示 IRI,显式建模绑定、环境与控制流,从而提升可分析性与可变换性。基于该表示,IRIDIUM 支持数据流跟踪、优化遍以及面向现有运行时的可执行代码生成,缓解了表层语法与静态分析需求之间的鸿沟。摘要未报告具体基准与量化结果,但将 IRIDIUM 定位为可有效推理现代 JavaScript 应用的新一代工具基础。

问题
JavaScript 的动态类型、非传统作用域和普遍副作用使其静态分析困难,且缺少类似 LLVM/Soot 的统一静态优化框架。
方法
将 JavaScript 系统化降级为结构化中间表示 IRI,显式建模绑定、环境与控制流,并在其上实现数据流跟踪、优化遍和可执行代码生成。
评估
摘要未给出基准测试或量化评估,主要通过 IRI 的表达能力及所支持的分析、优化与代码生成任务来论证框架可行性。
原文摘要(Abstract)

Static analysis of JavaScript remains notoriously difficult due to the language’s dynamically typed nature, unconventional scoping rules, and pervasive side effects. Unlike mature infrastructures such as LLVM for C/C++ or Soot for Java, comparable frameworks for JavaScript are fragmented and limited in scope. In this paper, we introduce IRIDIUM, a first-of-its-kind framework to statically optimize JavaScript programs. IRIDIUM systematically lowers JavaScript into a structured intermediate representation (called IRI) that models bindings, environments, and control flow explicitly. The resultant expressiveness enables more predictable analyses and transformations, ranging from dataflow tracking to optimization passes to executable code generation for existing runtimes, that are otherwise hindered by the language’s complexity. By bridging the gap between JavaScript’s surface syntax and the requirements of static analysis, IRIDIUM, thus, lays the foundation for a new generation of tools that can reason effectively about modern JavaScript applications.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot3837,
  title = {IRIDIUM: A Framework for Statically Optimizing JavaScript Programs},
  author = {Meetesh Kalpesh Mehta and Anirudh Garg and Aneeket Yadav and Manas Thakur},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {OOPSLA1},
  year = {2026},
  doi = {10.1145/3798273}
}