计算机科学 > 程序设计语言
[提交于 2023年6月18日]
标题:Optimizing Stateful Dataflow with Local Rewrites
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Optimizing a stateful dataflow language is a challenging task. There are strict correctness constraints for preserving properties expected by downstream consumers, a large space of possible optimizations, and complex analyses that must reason about the behavior of the program over time. Classic compiler techniques with specialized optimization passes yield unpredictable performance and have complex correctness proofs. But with e-graphs, we can dramatically simplify the process of building a correct optimizer while yielding more consistent results! In this short paper, we discuss our early work using e-graphs to develop an optimizer for a the Hydroflow dataflow language. Our prototype demonstrates that composing simple, easy-to-prove rewrite rules is sufficient to match techniques in hand-optimized systems.
提交历史
来自:Shadaj Laddad[v1] 2023年6月18日 星期日 15:41:20 UTC