Collaborative Research: SHF: Medium: Bringing Python Up to Speed
合作研究:SHF:Medium:加快 Python 速度
基本信息
- 批准号:1955565
- 负责人:
- 金额:$ 43.8万
- 依托单位:
- 依托单位国家:美国
- 项目类别:Standard Grant
- 财政年份:2020
- 资助国家:美国
- 起止时间:2020-07-01 至 2023-06-30
- 项目状态:已结题
- 来源:
- 关键词:
项目摘要
The Python programming language is among today's most popular computer programming languages and is used to write software in a wide variety of domains, from web services to data analysis to machine learning. Unfortunately, Python’s lightweight and flexible nature -- a major source of its appeal -- can cause significant performance and correctness problems - Python programs can suffer slowdowns as high as 60,000x over optimized code written in traditional programming languages like C and C++, and can require an order-of-magnitude more memory. Python's flexible, “dynamic” features also make its programs error-prone, with many coding errors only being discovered late in development or after deployment. Python’s frequent use as a "glue language" -- to integrate and interact with different components written in C or C++ -- exposes many Python programs to the unique dangers of those languages, including susceptibility to memory corruption-based security vulnerabilities. This project aims to remedy these problems by developing new technology for Python in the form of novel performance analysis tools, memory-reduction and speed-improving optimizations (including support for multi-core execution), automated software testing frameworks, and common benchmarks to drive their evaluation.This project will develop (1) performance analysis tools that help Python programmers accurately identify the sources of slowdowns; (2) techniques for automatically identifying code that can be replaced by calls to C/C++ libraries; (3) an approach to unlocking parallelism in Python threads, which currently must execute sequentially due to a global interpreter lock; and (4) automatic techniques to drastically reduce the memory footprints of Python applications. To improve the correctness of Python applications, the project will develop novel automated testing techniques that (1) augment property-based random testing with coverage-guided fuzzing; (2) employ concolic execution for smarter test generation and input minimization; (3) synthesize property-specific generator functions; (4) leverage statistical clustering techniques to reduce duplicated failure-inducing inputs; and (5) leverage parallelism and adaptive scheduling algorithms to increase testing throughput. The project will develop a set of "bug benchmarks" -- indeed, a novel benchmark-producing methodology -- to evaluate these techniques. The twin threads of performance and correctness are synergistic and complementary: automatic testing drives performance analysis, while performance optimizations (like parallelism) speed automatic testing.This award is co-funded by the Software & Hardware Foundations Program in the Division of Computer & Computing Foundations, and the NSF Office of Advanced Cyberinfrastructure.This award reflects NSF's statutory mission and has been deemed worthy of support through evaluation using the Foundation's intellectual merit and broader impacts review criteria.
Python编程语言是当今最流行的计算机编程语言之一,用于编写各种领域的软件,从web服务到数据分析再到机器学习。不幸的是,Python轻量级和灵活的特性(这是其吸引力的主要来源)可能会导致严重的性能和正确性问题——与用C和c++等传统编程语言编写的优化代码相比,Python程序的速度可能会降低6万倍,并且可能需要更多的内存。Python灵活的“动态”特性也使其程序容易出错,许多编码错误仅在开发后期或部署后才被发现。Python经常被用作“粘合语言”——集成用C或c++编写的不同组件并与之交互——这使许多Python程序暴露在这些语言的独特危险之下,包括容易受到基于内存损坏的安全漏洞的影响。该项目旨在通过为Python开发新的性能分析工具、内存减少和速度提高的优化(包括对多核执行的支持)、自动化软件测试框架和驱动评估的通用基准等形式的新技术来解决这些问题。该项目将开发(1)性能分析工具,帮助Python程序员准确识别减速的来源;(2)自动识别可被调用C/ c++库取代的代码的技术;(3)解锁Python线程中的并行性的方法,由于全局解释器锁,当前必须顺序执行;(4)自动技术,大幅减少Python应用程序的内存占用。为了提高Python应用程序的正确性,该项目将开发新的自动化测试技术:(1)用覆盖引导的模糊测试增强基于属性的随机测试;(2)采用协同执行,实现更智能的测试生成和输入最小化;(3)合成特定属性的生成器函数;(4)利用统计聚类技术减少重复的故障诱导输入;(5)利用并行性和自适应调度算法来提高测试吞吐量。该项目将开发一套“bug基准”——实际上是一种新的基准生成方法——来评估这些技术。性能和正确性的双重线程是协同和互补的:自动测试驱动性能分析,而性能优化(如并行性)加速自动测试。该奖项是由计算机和计算基础部的软件和硬件基础项目和NSF高级网络基础设施办公室共同资助的。该奖项反映了美国国家科学基金会的法定使命,并通过使用基金会的知识价值和更广泛的影响审查标准进行评估,被认为值得支持。
项目成果
期刊论文数量(2)
专著数量(0)
科研奖励数量(0)
会议论文数量(0)
专利数量(0)
Parsing Randomness
解析随机性
- DOI:
- 发表时间:2022
- 期刊:
- 影响因子:0
- 作者:Goldstein, Harrison;Pierce, Benjamin C.
- 通讯作者:Pierce, Benjamin C.
Model-based testing of networked applications
基于模型的网络应用程序测试
- DOI:10.1145/3460319.3464798
- 发表时间:2021
- 期刊:
- 影响因子:0
- 作者:Li, Yishuai;Pierce, Benjamin C;Zdancewic, Steve
- 通讯作者:Zdancewic, Steve
{{
item.title }}
{{ item.translation_title }}
- DOI:
{{ item.doi }} - 发表时间:
{{ item.publish_year }} - 期刊:
- 影响因子:{{ item.factor }}
- 作者:
{{ item.authors }} - 通讯作者:
{{ item.author }}
数据更新时间:{{ journalArticles.updateTime }}
{{ item.title }}
- 作者:
{{ item.author }}
数据更新时间:{{ monograph.updateTime }}
{{ item.title }}
- 作者:
{{ item.author }}
数据更新时间:{{ sciAawards.updateTime }}
{{ item.title }}
- 作者:
{{ item.author }}
数据更新时间:{{ conferencePapers.updateTime }}
{{ item.title }}
- 作者:
{{ item.author }}
数据更新时间:{{ patent.updateTime }}
Benjamin Pierce其他文献
Open data sets for assessing photovoltaic system reliability
用于评估光伏系统可靠性的开放数据集
- DOI:
10.1016/j.apenergy.2025.126132 - 发表时间:
2025-10-01 - 期刊:
- 影响因子:11.000
- 作者:
Xin Chen;Baojie Li;Jennifer L. Braid;Brandon Byford;Dylan J. Colvin;Andrew Glaws;Norman Jost;Benjamin Pierce;Salil Rabade;Martin Springer;Anubhav Jain - 通讯作者:
Anubhav Jain
Tacting of Function in College Student Mental Health: An Online and App-Based Approach to Psychological Flexibility
大学生心理健康中的功能触觉:一种基于在线和应用程序的心理灵活性方法
- DOI:
- 发表时间:
2019 - 期刊:
- 影响因子:0
- 作者:
Benjamin Pierce - 通讯作者:
Benjamin Pierce
The intersection of school ethnic composition and structure: Predicting social and academic outcomes among Latino students
学校种族构成和结构的交叉点:预测拉丁裔学生的社会和学业成果
- DOI:
- 发表时间:
2015 - 期刊:
- 影响因子:0
- 作者:
Benjamin Pierce - 通讯作者:
Benjamin Pierce
A view of the sustainable computing landscape
- DOI:
10.1016/j.patter.2025.101296 - 发表时间:
2025-07-11 - 期刊:
- 影响因子:7.400
- 作者:
Benjamin C. Lee;David Brooks;Arthur van Benthem;Mariam Elgamal;Udit Gupta;Gage Hills;Vincent Liu;Linh Thi Xuan Phan;Benjamin Pierce;Christopher Stewart;Emma Strubell;Gu-Yeon Wei;Adam Wierman;Yuan Yao;Minlan Yu - 通讯作者:
Minlan Yu
Effects of perfluorocarbon infusion in an anesthetized swine decompression model.
全氟化碳输注对麻醉猪减压模型的影响。
- DOI:
- 发表时间:
2009 - 期刊:
- 影响因子:2.2
- 作者:
B. Spiess;Jiepei Zhu;Benjamin Pierce;R. Weis;B. Berger;J. Reses;Cameron R Smith;Brian Ewbank;K. Ward - 通讯作者:
K. Ward
Benjamin Pierce的其他文献
{{
item.title }}
{{ item.translation_title }}
- DOI:
{{ item.doi }} - 发表时间:
{{ item.publish_year }} - 期刊:
- 影响因子:{{ item.factor }}
- 作者:
{{ item.authors }} - 通讯作者:
{{ item.author }}
{{ truncateString('Benjamin Pierce', 18)}}的其他基金
Collaborative Research: RAPID: Virtual Conference Platform
协作研究:RAPID:虚拟会议平台
- 批准号:
2035101 - 财政年份:2020
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
TWC: Medium: Micro-Policies: A Framework for Tag-Based Security Monitors
TWC:中:微观策略:基于标签的安全监视器框架
- 批准号:
1513854 - 财政年份:2015
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
SHF: Small: Random Testing for Language Design
SHF:小型:语言设计的随机测试
- 批准号:
1421243 - 财政年份:2014
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
Programming Languages Mentoring Workshop
编程语言辅导研讨会
- 批准号:
1353927 - 财政年份:2013
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
Conference Support for OREGON PROGRAMMING LANGUAGES SUMMER SCHOOL, 2013
俄勒冈州编程语言暑期学校会议支持,2013 年
- 批准号:
1338938 - 财政年份:2013
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
Conference Support for OREGON PROGRAMMING LANGUAGES SUMMER SCHOOL, 2012
俄勒冈编程语言暑期学校会议支持,2012 年
- 批准号:
1240237 - 财政年份:2012
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
TC: Medium: Putting Differential Privacy To Work
TC:Medium:让差异隐私发挥作用
- 批准号:
1065060 - 财政年份:2011
- 资助金额:
$ 43.8万 - 项目类别:
Continuing Grant
SHF: Small: Algebraic Foundations for Collaborative Data Sharing
SHF:小:协作数据共享的代数基础
- 批准号:
1017212 - 财政年份:2010
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
TC: SMALL: Contracts for Precise Types
TC:SMALL:精确类型合约
- 批准号:
0915671 - 财政年份:2009
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
CT-T: Collaborative Research: Manifest Security
CT-T:协作研究:明显的安全性
- 批准号:
0715936 - 财政年份:2007
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
相似国自然基金
Research on Quantum Field Theory without a Lagrangian Description
- 批准号:24ZR1403900
- 批准年份:2024
- 资助金额:0.0 万元
- 项目类别:省市级项目
Cell Research
- 批准号:31224802
- 批准年份:2012
- 资助金额:24.0 万元
- 项目类别:专项基金项目
Cell Research
- 批准号:31024804
- 批准年份:2010
- 资助金额:24.0 万元
- 项目类别:专项基金项目
Cell Research (细胞研究)
- 批准号:30824808
- 批准年份:2008
- 资助金额:24.0 万元
- 项目类别:专项基金项目
Research on the Rapid Growth Mechanism of KDP Crystal
- 批准号:10774081
- 批准年份:2007
- 资助金额:45.0 万元
- 项目类别:面上项目
相似海外基金
Collaborative Research: SHF: Medium: Differentiable Hardware Synthesis
合作研究:SHF:媒介:可微分硬件合成
- 批准号:
2403134 - 财政年份:2024
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
Collaborative Research: SHF: Small: LEGAS: Learning Evolving Graphs At Scale
协作研究:SHF:小型:LEGAS:大规模学习演化图
- 批准号:
2331302 - 财政年份:2024
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
Collaborative Research: SHF: Small: LEGAS: Learning Evolving Graphs At Scale
协作研究:SHF:小型:LEGAS:大规模学习演化图
- 批准号:
2331301 - 财政年份:2024
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
Collaborative Research: SHF: Small: Efficient and Scalable Privacy-Preserving Neural Network Inference based on Ciphertext-Ciphertext Fully Homomorphic Encryption
合作研究:SHF:小型:基于密文-密文全同态加密的高效、可扩展的隐私保护神经网络推理
- 批准号:
2412357 - 财政年份:2024
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
Collaborative Research: SHF: Medium: Enabling Graphics Processing Unit Performance Simulation for Large-Scale Workloads with Lightweight Simulation Methods
合作研究:SHF:中:通过轻量级仿真方法实现大规模工作负载的图形处理单元性能仿真
- 批准号:
2402804 - 财政年份:2024
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
Collaborative Research: SHF: Medium: Tiny Chiplets for Big AI: A Reconfigurable-On-Package System
合作研究:SHF:中:用于大人工智能的微型芯片:可重新配置的封装系统
- 批准号:
2403408 - 财政年份:2024
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
Collaborative Research: SHF: Medium: Toward Understandability and Interpretability for Neural Language Models of Source Code
合作研究:SHF:媒介:实现源代码神经语言模型的可理解性和可解释性
- 批准号:
2423813 - 财政年份:2024
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
Collaborative Research: SHF: Medium: Enabling GPU Performance Simulation for Large-Scale Workloads with Lightweight Simulation Methods
合作研究:SHF:中:通过轻量级仿真方法实现大规模工作负载的 GPU 性能仿真
- 批准号:
2402806 - 财政年份:2024
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
Collaborative Research: SHF: Medium: Differentiable Hardware Synthesis
合作研究:SHF:媒介:可微分硬件合成
- 批准号:
2403135 - 财政年份:2024
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant
Collaborative Research: SHF: Medium: Tiny Chiplets for Big AI: A Reconfigurable-On-Package System
合作研究:SHF:中:用于大人工智能的微型芯片:可重新配置的封装系统
- 批准号:
2403409 - 财政年份:2024
- 资助金额:
$ 43.8万 - 项目类别:
Standard Grant