4 ms·
Despite being in such an immature state, Rust has an encouragingly large community of game development enthusiasts (107 users in the #rust-gamedev IRC channel a
by kibwen 12y ago
Despite being in such an immature state, Rust has an encouragingly large community of game development enthusiasts (107 users in the #rust-gamedev IRC channel as we speak). I'm very excited to see engines like this emerge from community efforts!
- Arelius 12y agoTo be fair, Rust may be the first modern language seemingly designed around the same set of problems that we encounter in Game Development. I'm actually pretty surprised that it's as little known in GameDev as it is. That is perhaps due to it's immaturity.
- wyager 12y agoWell, it's designed to facilitate a systems language with a powerful type system, but it makes sense that there are some shared concerns with game development.
- teamonkey 12y agoGenuinely curious: what makes it especially appropriate for gamedev?
- pcwalton 12y agoThe AAA game developers we've talked to are universally in agreement that the lack of garbage collection and the fine-grained control over memory that Rust provides are extremely important for game development.
- teamonkey 12y agoFor sure that'd be useful for AAA dev, but unless the console manufacturers are willing to incorporate it into the official toolchains it's dead in the water.
- pcwalton 12y agoConsole games frequently use alternate languages, for example UnrealScript, Lua, and JavaScript. Of course, these are interpreted instead of compiled, but I'm told that AOT compilation is not a deal-breaker. I suspect that any integration would be gradual, with some parts written in C++ and some written in Rust. This is the path we're following with Servo, after all.
- hamidr 12y agowhich parts are mostly written in C++? And what's the use of python in the code base? https://github.com/mozilla/servo https://github.com/mozilla/servo
- dbaupp 12y agoIt is using a lot of external libraries[1], the major one being the spidermonkey javascript engine. The Python is used for a pile of code generation, although, AIUI, the Servo team are using more and more Rust macros. [1]: most of these directories contain submodules pointing to Rust wrappers around other libraries: https://github.com/mozilla/servo/tree/master/src/support https://github.com/mozilla/servo/tree/master/src/support [2]: https://github.com/mozilla/servo/tree/master/src/components/script/dom/bindings/codegen https://github.com/mozilla/servo/tree/master/src/components/...
- Arelius 12y agoWhich parts of what? Modern game engines? Nearly all of it, minus often gameplay scripting. In the hypothetical C++/Rust fusion engine? Whatever hasn't been rewritten yet in Rust, and specifically things that interop with other C++ libraries will remain in C++ for longer times. Edit: Ohh Servo? Similarly, things that haven't been rewritten yet, specifically javascript interpertation/compiliation. AFAIK Servo is focusing on rewriting layout.
- Arelius 12y agoYou'd be very surprised at how resourceful game-developers are at using the tools they prefer. Either way, console manufacturers will add support where there is demand. Certainly you're more likely to see it used first in more limited capacities and on single platform games. IMO, a much larger stalling block will be Windows platform support. Game Development is one industry where not only is Windows a major platform for games, but the sole, primary development platform of nearly all modern games. All modern console toolchains run exclusively on Windows afaict.
- niuzeta 12y agowhich server? I can't find one in freenode
- someone13 12y agoirc.mozilla.org