Computer scientists at UC Davis have developed a technique to speed up program debugging by automatically "chipping" the software into smaller pieces so that bugs can be isolated more easily.
Computer programs consist of thousands, tens or even hundreds of thousands of lines of code. To isolate a bug in the code, programmers often break it into smaller pieces until they can pin down the error in a smaller stretch that is easier to manage. UC Davis graduate student Chad Sterling and Ron Olsson, professor of computer science, set out to automate that process.
"It's really tedious to go through thousands of lines of code," Olsson said.
The "Chipper" tools developed by Sterling and Olsson chip off pieces of software while preserving the program structure.
"The pieces have to work after they are cut down," Olsson said. "You can't just cut in mid-sentence."
In a recent paper in the journal "Software -- Practice and Experience," Olsson and Sterling describe ChipperJ, a version developed for the Java programming language. ChipperJ was able to reduce large programs to 20 to 35 percent of their former size in under an hour.
More information about automated program chipping is available on Olsson's Web site at
http://www.cs.ucdavis.edu/~olsson/ .
Source: UC Davis
Related stories:
Pieces of Catalyst Puzzle Explained
Catalysts speed up chemical reactions, as in your car’s catalytic converter, and they even double as clichés, as in “catalyst for change,” but how they work remains a mystery.
World's only captive hairy-nosed otter gets new home
The world's only known hairy-nosed otter in captivity, one of the rarest and little known of otter species, got a new home and a Buddhist blessing today.
Variety is the spice of life: too many males, too little time...
Female Australian painted dragon lizards are polyandrous, that is, they mate with as many males as they can safely get access to. This promiscuous behaviour is often found in species where male quality is dubious and there are high levels of infertility in the male population. Female painted dragons possess the remarkable ability to store sperm inside their reproductive tract that remain viable for a considerable amount of time, so that the sperm of different males actually compete with each other to fertilise her eggs.
First quantum teleportation between light and matter
The concept of quantum teleportation - the disembodied complete transfer of the state of a quantum system to any other place - was first experimentally realised between two different light beams. Later it became also possible to transfer the properties of a stored ion to another object of the same kind. A team of scientist headed by Prof. Ignacio Cirac at MPQ and by Prof. Eugene Polzik at Niels Bohr Institute in Copenhagen has now shown that the quantum states of a light pulse can also be transferred to a macroscopic object, an ensemble of 10 to the power of 12 atoms (
Nature, 4 October 2006).
Siemens and Ericsson reach interoperability in push to talk
Siemens Communications, the telecommunications unit of Siemens AG, and Ericsson have successfully completed interoperability tests between Siemens push to talk handsets and Ericsson infrastructure (IMS system including push to talk server). This major step will significantly expand the customer base for operators planning to offer standard-based push to talk and will give consumers a simple and seamless push to talk experience. In addition, it proves the two global mobile communications suppliers’ commitment to open standards.