paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Toward efficient interactions between Python and native libraries

迈向 Python 与原生库之间的高效交互
FSE Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2021匹配度 1/10 · 该论文关注 Python 与 C/C++/Fortran 原生库跨语言交互的性能损失与运行时语义协调,虽涉及程序分析/抽象解释,但未涉及 LLM/Agent、ML 系统静态分析、浮点程序分析或贝叶斯程序分析等用户画像核心方向。引用 10 inbox
Jialiang Tan, Yu Chen, Zhenming Liu, Bin Ren, Shuaiwen Leon Song, Xipeng Shen, Xu Liu
crossref: 2026-09-12

AI 速览

一句话:指出 Python 与 C/C++/Fortran 原生库交互因边界抽象而性能受损,并探索跨语言语义与执行行为协调。

Python 因可编程性流行,许多软件用 Python 做高层算法设计,并依赖 C/C++/Fortran 原生库执行高效计算内核。然而,Python 与原生库边界上的抽象会引入性能损失:一方面,通常以解释方式运行的 Python 代码与其真实执行行为脱节;另一方面,原生库缺少程序语义,难以理解算法缺陷。论文面向这一交互效率问题,旨在揭示并缓解跨语言边界的性能与语义割裂。摘要仅给出问题动机,未说明具体方法、实验设计与结果;因此无法确认其技术路线与量化收益。其价值在于将 Python 解释执行与原生库语义理解联系起来,为后续跨语言运行时、分析与优化工作提出方向。

问题
Python 高层算法依赖 C/C++/Fortran 原生库执行计算内核,但两者边界上的抽象导致性能损失,解释执行的 Python 与原生库之间缺乏对彼此执行行为和程序语义的理解。
方法
摘要未给出具体方法;论文主张需要协调 Python 的执行行为与原生库的程序语义,以消除或减轻边界抽象带来的隔阂。
评估
摘要未报告评估方式与结果;无法判断其是否使用基准测试、实际应用或性能剖析来验证交互效率改进。
原文摘要(Abstract)

Python has become a popular programming language because of its excellent programmability. Many modern software packages utilize Python for high-level algorithm design and depend on native libraries written in C/C++/Fortran for efficient computation kernels. Interaction between Python code and native libraries introduces performance losses because of the abstraction lying on the boundary of Python and native libraries. On the one side, Python code, typically run with interpretation, is disjoint from its execution behavior. On the other side, native libraries do not include program semantics to understand algorithm defects.

链接与引用

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

BibTeX
@inproceedings{paperbot6348,
  title = {Toward efficient interactions between Python and native libraries},
  author = {Jialiang Tan and Yu Chen and Zhenming Liu and Bin Ren and Shuaiwen Leon Song and Xipeng Shen and Xu Liu},
  booktitle = {FSE},
  year = {2021},
  doi = {10.1145/3468264.3468541}
}