Software development for electronic games has remarkable performance and portability requirements, and the system and low-level languages usually provide those. This ecosystem became homogeneous at commercial levels around C and C++, both for open source or proprietary solutions. However, innovations brought other possibilities that are still growing in this area, including Rust and other system languages. Rust has low-level language properties and modern security guarantees in access to memory, concurrency, dependency management, and portability. The Open Source game engine Amethyst has become a reference solution for game development in Rust, has a large and active community, and endeavors in being an alternative to current solutions. Amethyst brings parallelism and performance optimizations, with the advantages of the Rust language. This paper presents scripting concepts that allow the game logic to be implemented in an external interpreted language. We present a scripting module called Legion Script that was implemented for the entity and component system (ECS) called Legion, part of the Amethyst organization. As a Proof-Of-Concept (POC), we perform the Python code interpretation using the Rust Foreign Function Interface (FFI) with CPython. This POC added scripting capabilities to Legion. We also discuss the benefit of using the alternative strategy of developing a POC before contributing to OSS communities in emergent technologies.
Preprint (scripting-system-rust-preprint.pdf) | 199KiB |
Wed 12 MayDisplayed time zone: Moscow, St. Petersburg, Volgograd change
16:15 - 17:30 | |||
16:15 20mResearch paper | OSS Scripting System for Game Development in Rust OSS 2021 Papers Pablo Diego Silva da Silva University of Brasilia (UnB), Rodrigo Oliveira Campos University of Brasilia (UnB), Carla Silva Rocha Aguiar University of Brasilia (UnB) File Attached | ||
16:35 20mResearch paper | Open source communities and forks: a rereading in the light of Albert Hirschman's writings OSS 2021 Papers File Attached | ||
16:55 20mResearch paper | Software Change Prediction with Homogeneous Ensemble Learners on Large Scale Open-Source Systems OSS 2021 Papers Megha Khanna Sri Guru Gobind Singh College Of Commerce, University Of Delhi, Srishti Priya Sri Guru Gobind Singh College Of Commerce, University Of Delhi, Diksha Mehra Sri Guru Gobind Singh College Of Commerce, University Of Delhi File Attached | ||
17:15 15mPaper | OSS PESTO: An Open Source Software Project Evaluation and Selection TOol OSS 2021 Papers File Attached |