Grant: Discovery Grants Program - Individual
University of British Columbia
$30,000.00
Lightweight Language Abstractions
FY 2015-16
Summary
Software-or code-is of increasing importance to our society: we depend on it for commerce, government, public utilities, medicine, recreation, social interaction and more. We need this software to function correctly, and we need to improve the productivity of developers producing it. Software development tasks like writing new programs, fixing bugs or extending existing programs require understanding the design that underlies the code. But too often key design elements are lost in the actual code-instead of being clearly captured in one place they get scattered out across the code where they become tangled with each other. This makes software more time consuming to work with and causes programmers to make mistakes. The traditional approach to this problem has been to design new programming language constructs, extend languages to include the constructs and then re-write programs to use them. The new constructs make it possible to improve locality of design decisions, and can therefore improve software quality and developer productivity. But the very large investment in changing languages and programs leads to a slow adoption rate for such research.
We propose a new approach that does not require modifying existing languages or programs. Instead a special code editor recognizes patterns in programs that could be better expressed using new language constructs and then presents the program to the programmer as if it was written that way. The alternative view presented by our editor has three critical properties: First, it is accurate, at all times it correctly reflects the underlying program. Second, it is editable, and all edits flow through to the underlying code. Third, the alternative view is transient, it only exists as long it is being used by the programmer-the programmer can dissolve it at any time to see and work with the underlying code.
These properties allow individual programmers to view the program in whatever way best serves the task at hand, without affecting the way any other programmers work with the program. This means that if the research is successful it can be adopted incrementally, which can radically reduce the time it takes to have impact.
Program
Discovery Grants Program - Individual
Recipient
Location
British Columbia, Canada
Recipient Type
Academia
Type
Grant
Source
NSERC's Awards Data
As published
Application id
312063-2013
Name nom
Kiczales, Gregor
Department département
Computer Science
Organization id
2
Institution établissement
University of British Columbia
Province en
British Columbia
Province fr
Colombie-Britannique
Country en
CANADA
Country fr
CANADA
Fiscal year exercice financier
2015
Competition year année de concours
2013
Award amount
30000
Program id
RGPIN
Program name en
Discovery Grants Program - Individual
Program name fr
Programme de subventions à la découverte - individuelles
Group en
Discovery grants programs
Group fr
Programmes de subventions à la découverte
Committee code
1507
Committee name en
Computer Science
Committee name fr
Sciences informatiques
Area of application code
801
Area of application group en
Information and communication services
Area of application group fr
Services d'information et de télécommunications
Area of application en
Computer software
Area of application fr
Logiciel
Research subject code
2705
Research subject group en
Information technology
Research subject group fr
Technologie de l'information
Research subject en
Software and development
Research subject fr
Logiciels et développement
Partie
3
Nb partie
5
Application title
Lightweight Language Abstractions
Keyword
NSERC
Application summary
Software-or code-is of increasing importance to our society: we depend on it for commerce, government, public utilities, medicine, recreation, social interaction and more. We need this software to function correctly, and we need to improve the productivity of developers producing it. Software development tasks like writing new programs, fixing bugs or extending existing programs require understanding the design that underlies the code. But too often key design elements are lost in the actual code-instead of being clearly captured in one place they get scattered out across the code where they become tangled with each other. This makes software more time consuming to work with and causes programmers to make mistakes. The traditional approach to this problem has been to design new programming language constructs, extend languages to include the constructs and then re-write programs to use them. The new constructs make it possible to improve locality of design decisions, and can therefore improve software quality and developer productivity. But the very large investment in changing languages and programs leads to a slow adoption rate for such research.
We propose a new approach that does not require modifying existing languages or programs. Instead a special code editor recognizes patterns in programs that could be better expressed using new language constructs and then presents the program to the programmer as if it was written that way. The alternative view presented by our editor has three critical properties: First, it is accurate, at all times it correctly reflects the underlying program. Second, it is editable, and all edits flow through to the underlying code. Third, the alternative view is transient, it only exists as long it is being used by the programmer-the programmer can dissolve it at any time to see and work with the underlying code.
These properties allow individual programmers to view the program in whatever way best serves the task at hand, without affecting the way any other programmers work with the program. This means that if the research is successful it can be adopted incrementally, which can radically reduce the time it takes to have impact.