I was kinda wondering what compilers are used in game development, since the game development industry always tries to squeeze every inch of performance out their software, using, among other, (sometimes very aggresive) compiler optimizations and the big boys in compiler technology (llvm, gcc), that excel in such kind optimizations are out of the game in the *Windows operating System*
.
|
|||
show 3 more comments |
closed as not constructive by Byte56, Maik Semder, John McDonald, Jari Komppa, michael.bartnett Dec 20 '12 at 18:13
As it currently stands, this question is not a good fit for our Q&A; format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.
There's a few misconceptions in your question. First, games don't really new any kind of special super-optimizing compiler. We've long since hit the point where the hardware is beefy enough, common compilers optimize well enough, and games are complex enough that micro-optimizing instructions has little value outside of a few specialized loops. Also, while I love LLVM, it is hardly a "big boy" in the compiler space, and it generally has the worst optimizations of all the major compilers (for now), and hence it is not really used outside of Apple's newer dev environments. Microsoft Visual C++ is the primary compiler for Windows and XBox. A few places use Intel's ICC for Windows, but that's rare. Modified ancient crusty versions of GCC provided by the hardware vendor are used for all the non-Microsoft consoles. Apple's ancient modified GCC is used for iOS, and OSX. It is being phased for the LLVM-based Clang. A more modern version of GCC is used for Android. Linux isn't much of a gaming platform, but the few commercial games out there for it are compiled with a fairly recent GCC usually. |
|||||||||||
|
On windows, most people use visual studio and its build tools. Xbox 360 uses it as well. On just about everything else, some version of GCC is typically used. (PS3 & Nintendo consoles use a customized version of GCC) |
|||||||||||||||||||||
|
The compiler that comes with Visual Studio / C++. I don't program for a game development company, just a boring business software developer. Our target platform is Microsoft, and we use Visual Studio 2010 for C++ and C# .Net. |
|||||||||||||||||
|
Clang
is the frontend forC, C++, Obj-C
– NlightNFotis Dec 20 '12 at 17:56