Runtime Code Generation for Interpreted Domain-Specific Modeling Languages

Meyer, Tom and Helms, Tobias and Warnke, Tom and Uhrmacher, Adelinde M. (2018) Runtime Code Generation for Interpreted Domain-Specific Modeling Languages. In: Winter Simulation Conference (WSC 2018), 09-12 Dec 2018, Gothenburg, Sweden. Proceedings, published by IEEE, pp. 605-616.

Full text not available from this repository.
Official URL: https://ieeexplore.ieee.org/document/8632545

Abstract

Domain-specific modeling languages (DSMLs) facilitate concise and succinct model descriptions. DSMLs are commonly realized by defining a custom grammar and executing models in an interpreter. This provides flexibility in language design as well as in the implementation of simulation algorithms. However, this type of implementation can lead to a negative impact on simulation performance in comparison to implementing models in general-purpose programming languages (GPL). To mitigate this problem, we propose using runtime code generation. This allows us to replace specific parts of a model at runtime by compiling generated GPL source code. In this paper, we demonstrate the potential benefit of this concept based on ML-Rules, a DSML for modeling and simulating biochemical reaction networks. Using code generation for arithmetic expressions in ML-Rules’ reaction rate functions, we were able to decrease the runtime by up to 40% in complex application scenarios.

Item Type: Conference or Workshop Item (Paper)
Additional Information: DOI: 10.1109/WSC.2018.8632545
Projects: ESCeMMo