Embark Rust Ecosystem
High-level tracking and discussions about improving Rust and the Rust ecosystem for our game development use cases at Embark.
Check out the Issues for active topics.
Background
When we started Embark, we chose Rust as our primary language for the long term future we are building. We love the safety and robustness of the language, the ability to write high performance, safe, and (mostly) bug free code and then fearlessly refactor and change it without common lifetime/ownership, memory safety or race condition problems.
That, combined with the openness and collaborative nature of the quickly growing ecosystem of and around Rust with crates.io and the tens of thousands of open source crates with a best-in-class package system, cargo, truly makes Rust a language for the next 40 years.
We believe that by openly sharing our work, issues, and ideas with the community, we'll create more opportunities for collaboration and discussion to bring us toward a great future for Rust and for the games industry in general.
-- Johan Andersson (@repi
), CTO, Embark
Open Source
Open source Rust projects we've created so far and are actively using and maintaining:
Name | Description | Crates.io |
---|---|---|
ash-molten |
Statically linked MoltenVK for Vulkan on Mac using Ash | |
buildkite-jobify |
Kubekite, but in Rust, using configuration from your repos | |
cargo-about |
Cargo plugin to generate list of all licenses for a crate | |
cargo-deny |
Cargo plugin to help you manage large dependency graphs | |
cargo-fetcher |
cargo fetch alternative for use in CI or other "clean" environments |
|
cfg-expr |
A parser and evaluator for Rust cfg() expressions |
|
discord-sdk |
An open implementation of the Discord Game SDK in Rust | |
gsutil |
A small, incomplete replacement for the official gsutil | |
kajiya |
Experimental real-time global illumination renderer | |
krates |
Creates graphs of crates from cargo metadata | |
octobors |
GitHub action for automerging PRs based on a few rules | |
physx |
Use NVIDIA PhysX in Rust | |
poll-promise |
A Rust promise for games and immediate mode GUIs | |
puffin |
Simple instrumentation profiler for Rust | |
relnotes |
Automatic GitHub release notes | |
rpmalloc-rs |
Cross-platform Rust global memory allocator using rpmalloc | |
rust-gpu |
Making Rust a first-class language & ecosystem for GPU code | |
rymder |
Unofficial agones client | |
spdx |
Helper crate for SPDX expressions | |
spirv-tools-rs |
An unofficial wrapper for SPIR-V Tools | |
superluminal-perf |
Superluminal Performance profiler integration | |
tame-gcs |
Google Cloud Storage functions that follows the sans-io approach | |
tame-oauth |
Small OAuth crate that follows the sans-io approach | |
tame-oidc |
Small OIDC crate that follows the sans-io approach | |
texture-synthesis |
Example-based texture synthesis generator and CLI example | |
tryhard |
Easily retry futures |
You can see all these crates on our crates.io profile.
Contributing
We encourage contributions to any of our open source projects. If you're not sure where to start, look at the GitHub issues on any of the above projects!
Check out guidelines.md
for our guidelines & policies for how we develop in Rust.
To make sure we keep a friendly and safe environment for everyone, we have a Contributor Code of Conduct. You can read this in any of our projects' repositories. By contributing to our projects, you agree to the code of conduct.
Areas of Interest
Areas that we are interested in or working on, and want to help see improved in Rust:
-
βΈ Distributed systems - async, tokio, tonic -
πΉοΈ Game engine systems - multiplayer, rendering, physics, audio, server, assets, workflows -
π¦ Developer experience - fast iteration with large projects/monorepos, distributed builds, debugging, profiling, IDE -
πΈ WebAssembly and WASI - sandboxed safe Rust code on client, edge & cloud -
π€ Machine learning - efficient inference, library bindings, training environments -
π High performance runtime - CPU job scheduling, code generation, optimizing crates -
πΊ π± Console & mobile platform support - PlayStation, Xbox, Android. #18 -
π Rust on GPU - future compute & ML programming models beyond shaders, https://shader.rs
We track and discuss these from our perspective in the Issues for visibility and to get feedback, feel free to join in if you have ideas!
Also check out the Rust Game Development Working Group.
Sponsorships
We believe that open source creators are integral to the success of the Rust ecosystem, as well as our own success. We offer monetary sponsorship to several individuals and projects via Patreon, GitHub and OpenCollective.
Projects we are currently sponsoring:
- Amethyst - "Data-driven game engine written in Rust"
- Bevy - "A refreshingly simple data-driven game engine built in Rust"
- Dimforge - "Open-Source Rust crates for numerical simulation"
- rust-analyzer - "Bringing a great IDE experience to the Rust programming language"
- Clap - "Fast. Configurable. Argument Parsing for Rust"
- Gtk-rs - "Rust bindings for GTK+ 3, Cairo, GtkSourceView and other GLib-compatible libraries"
- headcrab - "A modern Rust debugger library"
- knurling-rs - "Improving the tools and material used to build, debug, and learn embedded systems"
- Tokio - "Build reliable network applications without compromising speed"
Full list of projects and individual developers we are sponsoring: OpenCollective, GitHub Sponsors and Patreon.
Work with us!
We're actively looking to collaborate with developers on the areas discussed in this repository. If you're interested in working on a specific issue or idea highlighted here, please reach out to us at [email protected]
to discuss contracting opportunities or sponsorship.
We are also hiring for full-time positions remotely within Europe or on-site in Stockholm!
Let's go!
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.