New computer system solves problems by tricking computers

September 16, 2002

BLACKSBURG, Va., Sept. 16, 2002--If people were computers, Srinidhi Varadarajan of Virginia Tech's Department of Computer Science could enable them to go back to their youth to correct mistakes they made, adapt a jet engine to run a car, or change a part from one SUV engine to another as both vehicles sped down a highway side by side.

Of course, people aren't computers and don't need to do those things, but computers need to do equivalent processes. Varadarajan has come up with a computer technology he calls "Weaves" that allows the programmer to use a code in any programming language and convert it to a form similar to object-oriented programming. Weaves teachnology is used to create a virtual world that tricks the software into thinking it is in the real world.

The global computer network--the Internet--has doubled every year for nearly 20 years. The problem is how to test new pieces of network software on such a grand scale. The traditional method is through computer simulation, such as the model of a jet cockpit in which beginning pilots start to learn how to fly a plane. But simulation requires rewriting the software in a different form to test it, as the original cannot be tested. That creates two different versions, and there is no formal mechanism to ensure the equivalence of the test with the real thing, Varadarajan said.

Another method is emulation, or the direct testing of the original software. That way, the programmer can write a piece of software once and not have to rewrite it for simulation testing. The main problem with emulation is a lower degree of control than simulation.

"Why not create a virtual world to make software think it is in the real world?" , Varadarajan asked.,

Weaves can support both simulation and emulation testing, which was Varadarajan's first goal. "You can't test a piece of network software on 200-million computers," he said. Or even 5,000 computers. "But we can create hundreds of thousands of virtual machines that make software think it's running on a very large-scale network. This leads to the creation of a virtual Internet."

Weaves can do all the things existing systems can do and more without asking software programmers to write code specifically for Weaves. "They just write it as they usually do and we take it," Varadarajan said. Then, through reverse analysis, Weaves can make any language look the same.

Also, Weaves allows for mistakes. "In each step in life, we take steps based on what we know," Varadarajan said. "If we realize we made a mistake and want to go back and undo it, we have to remember all the steps we took that caused the mistake." On the computer, the program must also remember all the steps made leading up to a mistake. "Trying to save all the information is very hard," Varadarajan said. "We are trying to make Netscape work without knowing the steps that lead up to the mistake. Weaves automatically does this. It records and saves data and shows what we need to go back in time to change." Thus the system allows for the weaving together of the languages and codes and for fast automatic checkpointing and recovery with no application support.

With a National Science Foundation CAREER award of $400,000 over five years for his proposal, "Weaving a Code Tapestry: A Compiler Directed Framework for Scalable Network Emulation," Varadarajan will continue his research, using "a novel vertical integration of the compiler-generated object framework, operating system and compiler support for fast and memory-efficient checkpointing, and a new adaptive time window based on parallel discrete event simulation algorithm, all of which work in conjunction."

"This synergy creates a new object-based framework for the development of large-scale simulations using code composition, without restricting the application programmer to any language or programming paradigm," Varadarajan said. This would be analogous to enabling a person to adapt a jet engine to work in a car or exchange parts in two fast-moving vehicles without stopping them.

As the educational component of the CAREER award, Varadarajan will develop learning modules to augment the simulation-based projects used in networking courses across the country to save students from spending an inordinate amount of time learning the intricacies of working in a simulation environment.
PR CONTACT: Sally Harris 540-231-6759
Researcher: Srinidhi Varadarajan, 540-231-5275,

Virginia Tech

Related Language Articles from Brightsurf:

Learning the language of sugars
We're told not to eat too much sugar, but in reality, all of our cells are covered in sugar molecules called glycans.

How effective are language learning apps?
Researchers from Michigan State University recently conducted a study focusing on Babbel, a popular subscription-based language learning app and e-learning platform, to see if it really worked at teaching a new language.

Chinese to rise as a global language
With the continuing rise of China as a global economic and trading power, there is no barrier to prevent Chinese from becoming a global language like English, according to Flinders University academic Dr Jeffrey Gil.

'She' goes missing from presidential language
MIT researchers have found that although a significant percentage of the American public believed the winner of the November 2016 presidential election would be a woman, people rarely used the pronoun 'she' when referring to the next president before the election.

How does language emerge?
How did the almost 6000 languages of the world come into being?

New research quantifies how much speakers' first language affects learning a new language
Linguistic research suggests that accents are strongly shaped by the speaker's first language they learned growing up.

Why the language-ready brain is so complex
In a review article published in Science, Peter Hagoort, professor of Cognitive Neuroscience at Radboud University and director of the Max Planck Institute for Psycholinguistics, argues for a new model of language, involving the interaction of multiple brain networks.

Do as i say: Translating language into movement
Researchers at Carnegie Mellon University have developed a computer model that can translate text describing physical movements directly into simple computer-generated animations, a first step toward someday generating movies directly from scripts.

Learning language
When it comes to learning a language, the left side of the brain has traditionally been considered the hub of language processing.

Learning a second alphabet for a first language
A part of the brain that maps letters to sounds can acquire a second, visually distinct alphabet for the same language, according to a study of English speakers published in eNeuro.

Read More: Language News and Language Current Events is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to