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.
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.
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.
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 →
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.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
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.