RustSim: A Process-Oriented Simulation Framework for the Rust Language

Frez, Kevin; Oyarzún, Mauricio; Inostrosa-Psijas, Alonso; Moreno, Francisco; Wainer, Gabriel

Abstract

We present RustSim, a library for discrete-event process-oriented simulations designed and implemented in the Rust programming language. It includes a broad set of classes to allow the user to implement simulation processes and process-oriented primitives. The flexible modular design of RustSim allows users to extend its functionality. In addition, RustSim includes mechanisms to avoid inconsistencies when applying state-changing primitives that other libraries in the language's ecosystem do not provide. We take advantage of Rust generators (coroutine equivalents) to implement process-oriented simulation primitives. Finally, the library's internal process handling structure is discussed in detail, including its implementation, how simulations are executed, and a case study with a highly detailed example of its use.

Más información

Título según SCOPUS: ID SCOPUS_ID:85185370110 Not found in local SCOPUS DB
Título de la Revista: 2019 WINTER SIMULATION CONFERENCE (WSC)
Fecha de publicación: 2023
Página de inicio: 3118
Página final: 3129
DOI:

10.1109/WSC60868.2023.10408161

Notas: SCOPUS