谷歌浏览器插件
订阅小程序
在清言上使用

Runtime Code Generation for Interpreted Domain-Specific Modeling Languages.

Proceedings of the 2018 Winter Simulation Conference(2018)

引用 4|浏览48
暂无评分
摘要
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.
更多
查看译文
关键词
Computational modeling,Java,Runtime,Mathematical model,DSL,Biological system modeling
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要