← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

Tempo Partial Evaluator for C Programs Now Distributed

🔄 Updated 2h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Tempo is a partial evaluator for C programs.
  • It performs off-line specialization in two phases: analysis and specialization.
  • Tempo can generate specialized code at compile-time or run-time.
  • Documentation and tutorials are available online.

What is Tempo?

Tempo is a partial evaluator designed for C programs. It automates program specialization, a transformation process that optimizes code by leveraging known input values. The tool has been applied in diverse fields including operating systems, networking, computer graphics, scientific computation, and software engineering.

Availability and Background

Tempo is now available for distribution, with its documentation and tutorial slides accessible online. The project originated from the Compose project at IRISA / INRIA - LABRI in France. A first workshop dedicated to Tempo was held in March 1998.

How Tempo Works

Tempo operates as an off-line specializer, meaning it has two distinct phases: analysis and specialization. In the analysis phase, the user provides the C program and specifies which inputs will be known (static) and which will be unknown (dynamic) during specialization. Tempo then performs dependency, alias, and side-effect analyses to propagate this information throughout the code, producing an annotated program.

Following the analysis, the specialization phase uses the annotated program and the actual values of the known inputs to generate a specialized version of the original program. Tempo supports both compile-time (source-to-source transformation) and run-time (binary code generation) specialization.

Program Analysis Details

The initial step for a user involves providing the C program and identifying static arguments, including global variables. For example, in a `miniprintf` function, the format string could be declared static while the values to be printed are dynamic. Tempo then processes this input to generate a program file embedded with analysis annotations, guiding the subsequent specialization process.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~5 min · 3 stories · Nov 22

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Tempo, a partial evaluator for C programs developed by the Compose project at IRISA / INRIA - LABRI, is now being distributed. This tool automates program specialization by transforming C code based on known input values, aiming to optimize performance in various domains.