Partial Evaluation in Dependently Typed Languages
Partial Evaluation in Dependently Typed Languages
批准号:
2589772
负责人:
金额:
$0.0万
依托单位:
依托单位国家:
英国
项目类别:
Studentship
财政年份:
2021
资助国家:
英国
项目状态:
未结题
起止时间:
2021 至 --
中文摘要
该项目旨在探索使用部分求值来优化依赖类型的编程语言。除了回答公开的研究问题外,该项目还将为Idris2编译器提供一个部分赋值器的具体实现。该项目进一步推进了Brady[4]已经进行的研究,旨在通过谨慎地应用程序优化,使依赖类型的语言在编写日常程序时变得实用。部分评估(PE)是一种优化技术,它在编译时评估程序的部分,以产生更有效的可执行文件[7]。它是常量折叠的强大推广,允许程序员在不损失性能的情况下编写简单的定义。许多现代编程语言实现了PE,一些语言推断要评估的程序领域,另一些语言则从程序员那里获得明确的指导(例如,C++11‘S常量关键字)。部分求值的主要缺点是对于大型程序来说,它可能非常昂贵,从而显著增加编译时间。
英文摘要
This project aims to explore the optimisation of dependently typed programming languages using partial evaluation. In addition to answering open researchquestions, the project will provide a concrete implementation of a partial evaluator for the Idris2 compiler. The project furthers the research already undertaken by Brady[4], aiming to make dependently typed languages practical forwriting everyday programs through the careful application of program optimisations.Partial evaluation (PE) is an optimisation technique which evaluates portionsof the program at compile time to produce a more efficient executable[7]. It is apowerful generalisation of constant folding, which allows programmers to writeidiomatic definitions without loss of performance. Many modern programminglanguages implement PE, with some inferring the areas of program to evaluate,and with others taking explicit guidance from the programmers (for example,C++11's constexpr keyword). The main drawback to partial evaluation is thatit can be very expensive for large programs, significantly increasing compilationtimes.
期刊论文(0)
专著(0)
科研奖励(0)
会议论文
国内基金
海外基金
基于重要农地保护LESA(Land Evaluation and Site Assessment)体系思想的高标准基本农田建设研究
-
批准号:41340011
-
项目类别:专项基金项目
-
资助金额:20.0万元
-
批准年份:2013
-
负责人:钱凤魁
-
依托单位: