DTP 2020-2021 University of St Andrews
View project: DTP 2020-2021 University of St Andrews- Project reference:
- EP/T518062/1
- Relationship:
- Training Grant
- Funded period:
- 1 October 2020 to 30 September 2025
This project aims to explore the optimisation of dependently typed programming languages using partial evaluation. In addition to answering open research questions, 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 for writing everyday programs through the careful application of program optimisations. Partial evaluation (PE) is an optimisation technique which evaluates portions of the program at compile time to produce a more efficient executable[7]. It is a powerful generalisation of constant folding, which allows programmers to write idiomatic definitions without loss of performance. Many modern programming languages implement PE, with some inferring the areas of program to evaluate, and with others taking explicit guidance from the programmers (for example, C++11s constexpr keyword). The main drawback to partial evaluation is that it can be very expensive for large programs, significantly increasing compilation times.
| Person |
|---|
| Ellis Kesterton |
Role visibility depends on the system used to process the application and there are limitations on which roles can be published. As a result, some contributors to UKRI funded projects may not be visible which should be considered when analysing role data.
Last updated: 2 December 2026