๐ฆ Rust Game Dev
Over the past few years, Rust has taken the low-level programming world by storm thanks to its performance, safety, cross-platform nature, and ease of use. These qualities make Rust a growingly popular choice for game development, and there are many libraries and frameworks that can be used to create games in Rust. It is currently the most loved programming language according to the StackOverflow 2022 survey (opens in a new tab).
This website is mainly about JavaScript game development, but due to the growing popularity of Rust for game development and the fact that it can be easily compiled to WebAssembly to run in the browser, I thought it would be useful to summarize what's going on in the Rust ecosystem for those who might be interested.
Game engines and libraries
-
wgpu7k2M total โ Cross-platform 3D library that implements WebGPUCross-platform 3D library that implements WebGPU
-
Bevy22k400k total โ 3D Data-driven (ECS) game engine3D Data-driven (ECS) game engine
-
Fyrox6k6k total โ 3D engine with a Unity-like editor (formerly rg3d)3D engine with a Unity-like editor (formerly rg3d)
-
Ambient3k400 total โ 3D multiplayer game engine3D multiplayer game engine
-
ggez4k150k total โ 2D game engine2D game engine
-
macroquad2k100k total โ 2D game engine2D game engine
-
Piston4k690k total3y years โ 3D game engine3D game engine
-
Amethyst8k170k total2y years โ 2D and 3D game engine with ECS โ Archived2D and 3D game engine with ECS โ Archived
See Libraries and frameworks for Game Development in Rust (opens in a new tab) for a more exhaustive list.
WebAssembly bundling
-
wasm-pack5k550k total โ Build WebAssembly packages for the browser or NPMBuild WebAssembly packages for the browser or NPM
-
Trunk2k112k total โ WebAssembly application bundlerWebAssembly application bundler
Games
- Veloren (opens in a new tab) (source (opens in a new tab))
- Zemeroth (opens in a new tab) (source (opens in a new tab))
- Are we game yet list (opens in a new tab)
Resources
- Rust GameDev WG (opens in a new tab)
- Are we game yet? (opens in a new tab)
- r/rust_gamedev subreddit (opens in a new tab)
- Game Development in Rust Discord (opens in a new tab)
- Rust web framework comparison (opens in a new tab)
Back-end
As a bonus, here are some back-end web frameworks if you want to go full-stack with Rust: