Raman

RailSim using Rust

Submitted Mar 16, 2026

About the project

This project is a railway simulator made with Rust. The backend simulation logic uses rust for the signalling logic, rail pathfinding logic and the network state calculation. We are also using Bevy(https://bevy.org/) which a new rust based game engine for visualising the simulations.

Takeaway for audience

Rust’s inherent memory safe features and ability to make concurrent systems makes it a good choice for safety critical systems and real time control systems. Rust would prevent bugs which can be really hard to reproduce like use after free, data races especially in larger systems. Rust would eliminate the whole lot at compile time.

Bevy is relatively new game engine made with rust. It uses the ECS pattern for representation of the different components. Since Bevy runs systems in parallel automatically, it’s a great choice for simulations. This talk could be an introduction to the listeners into how game engines and simulation systems work and would also double as an intro to the Bevy project.

About me

Rust enthusiast and arch nemesis of cars.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

A community of Rust language contributors and end-users from Bangalore. We have presence on the following telegram channels https://t.me/RustIndia https://t.me/fpncr LinkedIn: https://www.linkedin.com/company/rust-india/ more