3 ms·
You'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
by Arelius 12y ago
You'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.
- steveklabnik 12y agoRust considers Windows a first-class platform. As an example, here's the nightly build page for Windows: http://buildbot.rust-lang.org/builders/nightly-win/builds/79 http://buildbot.rust-lang.org/builders/nightly-win/builds/79
- Arelius 12y agoThat's great, but honestly, can it link against MSVC++ generated libs? I've meant to try it out, but kept trying to build rust from scratch, which may be a mistake.
- steveklabnik 12y agoI am not a Windows expert, but generally, it's very hard to link against C++ code. It might need to expose a C interface instead of a C++ one. I am pretty sure that it's still using mingw rather than VS as well, though eventually, VS support will be important. > kept trying to build rust from scratch, which may be a mistake. Yeah, there are binary installers now: http://www.rust-lang.org/install.html http://www.rust-lang.org/install.html
- Arelius 12y ago> I am not a Windows expert, but generally, it's very hard to link against C++ code. It might need to expose a C interface instead of a C++ one. I never said C++ code. I specified the compiler was MSVC++ > I am pretty sure that it's still using mingw rather than VS as well, though eventually, VS support will be important. That's fundamentally the essence of my question, can MinGW binaries link against MSVC++ generated binaries? If not, then the Windows platform is not really supported well enough to use Rust to seriously develop games with.
- cmrx64 12y agoNothing can link against MSVC++ generated libs, at least not the C++ ones. You can link to ones using `extern "C"`, though.
- Arelius 12y agoActually, linkage is the same, it's name mangling that's the problem. Regardless, libs using extern "C" are still build using MSVC++, and that is the question I was asking about.