Charles Explorer logo
🇨🇿

Transformation of Pipeline Stage Algorithms to Event-Driven Code

Publikace na Matematicko-fyzikální fakulta |
2014

Tento text není v aktuálním jazyce dostupný. Zobrazuje se verze "en".Abstrakt

Many software systems publish their interface using event-driven programming, where the application programmers create routines, called as responses to the events. One of such systems is the Bobox parallel framework, where the elements of a parallel pipeline react to events signalizing the arrival of input data.

However, many algorithms are more efficiently described using classical serial approach, where the application code calls system routines to wait for required events. In this paper, we present a method of code transformation producing eventdriven code from serial code and we concentrate mostly on its first part, responsible for the management of variables.

Besides a friendlier programming environment, the transformation often improves the structure of the code with respect to compiler optimizations.