On Evaluating Rust as a Programming Language for the Future of Massive Agent-Based Simulations

  • Alessia AntelmiEmail author
  • Gennaro CordascoEmail author
  • Matteo D’AuriaEmail author
  • Daniele De VincoEmail author
  • Alberto NegroEmail author
  • Carmine SpagnuoloEmail author
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 1094)


The analysis of real systems and the development of predictive models to describe the evolution of real phenomena are challenging tasks that can improve the design of methodologies in many research fields. In this context, Agent-Based Model (ABM) can be seen as an innovative tool for modelling real-world complex simulations. This paper presents Rust-AB, an open-source library for developing ABM simulation on sequential and/or parallel computing platforms, exploiting Rust as programming language. The Rust-AB architecture as well as an investigation on the ability of Rust to develop ABM simulations are discussed. An ABM simulation written in Rust-AB, and a performance comparison against the well-adopted Java ABM toolkit MASON is also presented.


Rust language Agent-Based Model Simulation Framework 


  1. 1.
    Abar, S., Theodoropoulos, G., Lemarinier, P., O’Hare, G.: Agent based modelling and simulation tools: a review of the state-of-art software. Comput. Sci. Rev. 24, 13–33 (2017)CrossRefGoogle Scholar
  2. 2.
    Antelmi, A., Cordasco, G., Spagnuolo, C., Vicidomini, L.: On evaluating graph partitioning algorithms for distributed agent based models on networks. In: Hunold, S., et al. (eds.) Euro-Par 2015. LNCS, vol. 9523, pp. 367–378. Springer, Cham (2015). Scholar
  3. 3.
    Carmine, S.: Rust-AB: An Agent Based Simulation engine in Rust (2018).
  4. 4.
    Collier, N., North, M.: Parallel agent-based simulation with repast for high performance computing. Simulation 89, 1215–1235 (2013)CrossRefGoogle Scholar
  5. 5.
    Cordasco, G., Spagnuolo, C., Scarano, V.: Toward the new version of D-MASON: efficiency, effectiveness and correctness in parallel and distributed agent-based simulations. In: IEEE International Parallel and Distributed Processing Symposium Workshops (2016)Google Scholar
  6. 6.
    Cordasco, G., De Chiara, R., Raia, F., Scarano, V., Spagnuolo, C., Vicidomini, L.: Designing computational steering facilities for distributed agent based simulations. In: Proceedings of the 1st ACM SIGSIM Conference on Principles of Advanced Discrete Simulation (2013)Google Scholar
  7. 7.
    Cordasco, G., Mancuso, A., Milone, F., Spagnuolo, C.: Communication strategies in distributed agent-based simulations: the experience with D-Mason. In: an Mey, D., et al. (eds.) Euro-Par 2013. LNCS, vol. 8374, pp. 533–543. Springer, Heidelberg (2014). Scholar
  8. 8.
    Heath, B., Hill, R., Ciarallo, F.: A survey of agent-based modeling practices (January 1998 to July 2008). J. Artif. Soc. Soc. Simul. 12(4), 9 (2009)Google Scholar
  9. 9.
    Holcombe, M., Coakley, S., Smallwood, R.: A general framework for agent-based modelling of complex systems. In: Proceedings of the European Conference on Complex Systems (2006)Google Scholar
  10. 10.
    Kleinberg, J.: The small-world phenomenon: an algorithmic perspective (2000)Google Scholar
  11. 11.
    Macal, C., North, M.: Tutorial on agent-based modeling and simulation Part 2: how to model with agents (2006)Google Scholar
  12. 12.
    Mahé, F., Rognes, T., Quince, C., de Vargas, C., Dunthorn, M.: Swarm: robust and fast clustering method for amplicon-based studies. PeerJ 2, e593 (2014)CrossRefGoogle Scholar
  13. 13.
    North, M.J., et al.: Complex adaptive systems modeling with repast simphony. Complex Adapt. Syst. Model. 1(1), 3 (2013)CrossRefGoogle Scholar
  14. 14.
    Resnick, M.: StarLogo: an environment for decentralized modeling and decentralized thinking. In: Conference Companion on Human Factors in Computing Systems (1996)Google Scholar
  15. 15.
    Reynolds, C.W.: Flocks, herds, and schools: a distributed behavioral model. Comput. Graph. (ACM) 21, 25–34 (1987)CrossRefGoogle Scholar
  16. 16.
    Richmond, P., Chimeh, M.K.: FLAME GPU: complex system simulation framework. In: 2017 International Conference on High Performance Computing Simulation (2017)Google Scholar
  17. 17.
    Tejaswi, V., Bindu, P., Thilagam, P.: Diffusion models and approaches for influence maximization in social networks (2016)Google Scholar
  18. 18.
    Thurner, S., Klimek, P., Hanel, R.: Introduction to the Theory of Complex Systems. Oxford University Press, Oxford (2018)CrossRefGoogle Scholar
  19. 19.
    Wang, H., et al.: Scalability in the MASON multi-agent simulation system (2019)Google Scholar
  20. 20.
    Wilensky, U.: NetLogo 3.1. 3 (2006)Google Scholar

Copyright information

© Springer Nature Singapore Pte Ltd. 2019

Authors and Affiliations

  1. 1.ISISLab, Dipartimento di InformaticaUniversità Degli Studi di SalernoFiscianoItaly
  2. 2.Dipartimento di PsicologiaUniversità degli Studi della Campania “Luigi Vanvitelli”CasertaItaly

Personalised recommendations