Betz, Maximilian und Richter, Daniel-Michel und Abele, Daniel und Schmieding, Rene und Zunker, Henrik und Kühn, Martin Joachim (2026) Manual binding and semi-automated interface generation for efficient simulation backends with user-friendly frontends: A demonstration for epidemic use cases. [sonstige Veröffentlichung] (eingereichter Beitrag)
|
PDF
613kB |
Offizielle URL: https://doi.org/10.48550/arXiv.2610.40343
Kurzfassung
Challenges and chances of mathematical software are directly entangled with the programming language used. Depending on the background of developers and users, conflicts between different goals may arise. While several, e.g., scripting languages allow a low barrier and user-friendly entry to mathematical modeling and simulation, corresponding implementations will most likely not allow timely outcomes for detailed simulations. In infectious disease modeling, while several large-scale software frameworks rely on C or C++ implementations, most models are implemented in Python or R. While the latter allow for fast prototyping and more interactive development, it has been shown for several applications that C or C++ implementations outperform plain Python or R implementations by factors between one and three orders of magnitude. In particular, in times of pandemics, the urgent need for swift estimation of the system's dynamics makes the use of large-scale models in these noncompiled languages prohibitive. In order to create synergies and close the gap between scientists from the application and the computational domain, binding libraries allow to execute entire, compiled software frameworks from languages such as Python. However, with iterative model development, extension, or addition of new models, implementing bindings can represent another relevant barrier to developers of the C or C++ backends. In this paper, we show how a large-scale software framework with a multitude of infectious disease models can be efficiently exposed to Python. In addition, we suggest a semi-automated way to generate interface code by analyzing generic C++ code through abstract syntax trees, enabling a modularized approach working with intermediate representations.
| elib-URL des Eintrags: | https://elib.dlr.de/229909/ | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dokumentart: | sonstige Veröffentlichung | ||||||||||||||||||||||||||||
| Titel: | Manual binding and semi-automated interface generation for efficient simulation backends with user-friendly frontends: A demonstration for epidemic use cases | ||||||||||||||||||||||||||||
| Autoren: |
| ||||||||||||||||||||||||||||
| Datum: | 2026 | ||||||||||||||||||||||||||||
| Referierte Publikation: | Nein | ||||||||||||||||||||||||||||
| Open Access: | Ja | ||||||||||||||||||||||||||||
| DOI: | 10.48550/arXiv.2610.40343 | ||||||||||||||||||||||||||||
| Status: | eingereichter Beitrag | ||||||||||||||||||||||||||||
| Stichwörter: | Programming languages, interoperability, code generation, abstract syntax tree, epidemiological modeling, MEmilio framework | ||||||||||||||||||||||||||||
| HGF - Forschungsbereich: | Luftfahrt, Raumfahrt und Verkehr | ||||||||||||||||||||||||||||
| HGF - Programm: | Raumfahrt | ||||||||||||||||||||||||||||
| HGF - Programmthema: | Technik für Raumfahrtsysteme | ||||||||||||||||||||||||||||
| DLR - Schwerpunkt: | Raumfahrt | ||||||||||||||||||||||||||||
| DLR - Forschungsgebiet: | R SY - Technik für Raumfahrtsysteme | ||||||||||||||||||||||||||||
| DLR - Teilgebiet (Projekt, Vorhaben): | R - Aufgaben SISTEC | ||||||||||||||||||||||||||||
| Standort: | Köln-Porz | ||||||||||||||||||||||||||||
| Institute & Einrichtungen: | Institut für Softwaretechnologie Institut für Softwaretechnologie > High-Performance Computing | ||||||||||||||||||||||||||||
| Hinterlegt von: | Kühn, Dr. Martin Joachim | ||||||||||||||||||||||||||||
| Hinterlegt am: | 25 Nov 2026 08:19 | ||||||||||||||||||||||||||||
| Letzte Änderung: | 25 Nov 2026 08:19 |
Nur für Mitarbeiter des Archivs: Kontrollseite des Eintrags