PHILADELPHIA — The University of Pennsylvania will lead a $10 Million National Science Foundation project to make computer programming faster, easier and more intuitive. Dubbed ExCAPE for Expeditions in Computer Augmented Program Engineering, the project is a highly collaborative effort that will involve multiple research institutions, partners in industry and educational outreach to the next generation of computer scientists.
The project was awarded a five-year, $10 million grant as part of the NSF's Expeditions in Computing program, which funds teams with ambitious, fundamental-research agendas in computer science. The ExCAPE team will be led by Rajeev Alur, professor of computer and information science in Penn's School of Engineering and Applied Science. Alur will collaborate with fellow Penn engineering professors Milo Martin, Boon Thau Loo, George Pappas and Steve Zdancewic.
The ExCAPE team also includes researchers from the University of California, Berkeley; the University of California, Los Angeles; Cornell University; the University of Illinois at Urbana-Champaign; the University of Maryland; the Massachusetts Institute of Technology; the University of Michigan; and Rice University.
"Computers have evolved at a dramatic pace, but the technology that's used to develop programs and software is evolving comparatively slowly," Alur said. "What it means to 'code' hasn't changed much in the last 20 to 30 years. It's still done by expert programmers and is quite time-consuming, expensive and error-prone."
In today's programming languages, programmers must write out explicit instructions for what they want the program to do. For large projects, this kind of coding is so complicated that programmers need separate "verification" teams to weed out errors.
During the last two decades, this verification technology has matured, leading to powerful analysis tools that can find subtle mistakes in real-world systems. The ExCAPE approach will leverage these advances to help programmers avoid such mistakes in the first place.
The researchers are proposing an integrated tool kit for automated program synthesis. Such a tool kit would allow a programmer to essentially collaborate with a computer on writing a program, contributing the parts they are most suited to. With more powerful and integrated verification systems, the computer would be able to give feedback to the programmer about errors in the program and even propose corrections.
"Let's say you want to program a robotic car for parallel parking," Alur said." Instead of asking the programmer to write complete code in one particular style,we want to offer the programmer flexibility. The programmer can start by specifying high-level goals, such as the final desired car position and the requirement that there should be no collisions along the way."
Automatically translating such goals directly to code is not yet feasible, so the programmer would still have to do some amount of coding to providing basic solution strategies for the program. For parallel parking, a strategy might correspond to a sequence of basic maneuvers: pull in front of the spot, back up straight, start turning and, finally, straighten out.
While this basic strategy for parallel parking is intuitive for humans, figuring out exactly when to start turning, and by how much, remains tricky. Humans, whether they are drivers or programmers, aren't good at trying lots of combinations in search of the best one, but that's exactly what computers are best suited to do.
"The synthesis tool can therefore start with the strategies provided by the coder, then explore different combinations for the tricky parts, automatically filling in the details with the best possible values to produce a complete program," Alur said.
Programming for robotic behavior is one of four real-word problem areas the ExCAPE team will test their research on. The researchers will work with programmers at AT&T, Coverity, Honeywell, IBM, Intel, Microsoft and Willow Garage to see if the synthesis tool is effective in meeting their coding challenges.
Other challenge areas involve figuring out how to set up routing policies for flow of information across networks of computers, how software written to work on single processor computers can be correctly translated to improve performance while running on multiple cores that are now common even in mobile devices, and how to design efficient and correct algorithms for coordinating decisions among multiple computers.
The researchers hope that this tool kit will change the public perception of computer science and, potentially, how it and other sciences are taught.
"One goal in this regard is to get high school students excited about computer programming," Alur said. "We want to convey to them that programming does not mean tedious coding according to strict rules but is more about being able to express a computational strategy for problems."
The verification systems in the ExCAPE team's synthesis tool kit could be applied to students working on high school algebra problems, for example, identifying flaws in logic that lead to incorrect answers. The tool kit's smart feedback could even generate similar problems to test whether a student has learned from a mistake.
AAAS and EurekAlert! are not responsible for the accuracy of news releases posted to EurekAlert! by contributing institutions or for the use of any information through the EurekAlert! system.