Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Out of curiosity, what programming languages do the big 3 use for developing games for their consoles? Are there any that are simply not compatible at all, or are they relatively similar in this regard?
Although Java is object-oriented, which can make things easier to program from what I understand, isn't C++/C# more efficient than Java? I've heard a lot about Java not being that good for processing certain things. Also, can't say I'm surprised that Java is usable for PS3 given I've heard similarities between C# and Java.They mainly use C++/C#. Sony can also use Java on the PS3, but this isn't confirmed for the PS4.
Also, I forgot to say this: For everything that is graphic and gives a nice effect to render, they use GLSL (OpenGL Shading Language), or anything that targets directly the graphic card (Like Assembler, but the ASM time is over now.)
Although Java is object-oriented, which can make things easier to program from what I understand, isn't C++/C# more efficient than Java? I've heard a lot about Java not being that good for processing certain things. Also, can't say I'm surprised that Java is usable for PS3 given I've heard similarities between C# and Java.
In any case, thanks for the info!
Yeah, that does answer the question well. And yeah, makes sense that they wouldn't use Java if it really is that slow (I've seen for myself some examples of it being slow with some smaller things anyway like recursion stuff).I admit that I don't understand why Java is used for Video Games. Sure it's easy, and have a huge amount of libraries, but it's really slow ! And more the garbage collector (things that destroys things in game that aren't used) can freeze the whole game because of the slowness of Java and the multiple calls to it instead of a single, continued process.
That's why Microsoft and Nintendo sticks with C++ and C#. C# don't have that much library, but is easy, and C++ is the 3rd most used programming language, so it has more libraries than Java, and is way faster than C# and Java. (For info : C++ compiled becomes Assembler, while C# becomes MS-IL [.Net Framework Assembler] and Java becomes bytecode (.class files))
I hope that answer the whole question. Anyway, the three have the Object-Oriented paradigm, so they can be used to make games.
It's a member of the "C language family", but it's the odd one out kinda. People tend to associate it more to Java or C++.Yeah, that does answer the question well. And yeah, makes sense that they wouldn't use Java if it really is that slow (I've seen for myself some examples of it being slow with some smaller things anyway like recursion stuff).
C# is a newer version of C isn't it?
It's a member of the "C language family", but it's the odd one out kinda. People tend to associate it more to Java or C++.
Also, Blu-ray Disc players come with BD-J, thus why PS3 had Java. I'd be willing to bet that the PS4 will also have BD-J, thus enabling Java.
Also C# has the same JIT compilation as Java but C# doesn't have as fast or optimized of a JIT as JVM. Fact. A lot of people just use it AOT (which is also possible with Java, but not by default) to make it run faster.
MS-IL (properly known as "Common Intermediate Language") is basically another bytecode like JVM has.
I work on JIT compilers, so I tend to know a lot about them, lol.
OpenJDK is a bit of an odd and stupid legal situation. There's different versions of the OpenJDK: specifically, HotSpot and IcedTea. The official OpenJDK is HotSpot, while IcedTea is the unofficial derivative made by Red Hat and other Linux companies. OpenJDK itself uses the same source code as the official Java, as it is simply the open source "developer" version of Java.Sure JIT is speed, but it's resource expensive, sometimes...
As for the Java Speed, why don't Oracle uses the OpenJDK as an inspiration ? I mean, I remember when I used Ubuntu, I used the OpenJDK, as Oracle don't provide an official VM for the platform, and it's way faster !
As for the C# -> MSIL, I have heard that there have been some code floating around enabling the compilation of C# or VB.NET to ASM, just like C/C++.
Yes, Mono features it, and I believe they used LLVM, which should be fine on performance. My point was more that the JIT of CLR/.NET (CLR is another official name.) is inferior to that of JVM. Also, it uses DirectX on Windows, which I don't like at all.
Meanwhile I keep developing my LumineVM for Ekunia Fusion.
It also doesn't perform as well, even on Windows, and it'd be more advanced if vendors kept their versions more up-to-date. For compatibility with most systems, OpenGL ES 2/3 (mobile etc.) or OpenGL3.3 (desktop etc.) should work.I admit that DirectX is a pain now. OpenGL targets all platforms, and is way better than DirectX. But Microsoft always want to reinvent the wheel with their way, which can lead to trouble (Like the fight between Sun and Microsoft, because of J#).
Thanks. I'm going to make a topic about it, sometime, if I haven't already done that.Wow, you're making a VM ? Good Luck, I support you !
Anyway, good luck with your VM !
It also doesn't perform as well, even on Windows, and it'd be more advanced if vendors kept their versions more up-to-date. For compatibility with most systems, OpenGL ES 2/3 (mobile etc.) or OpenGL3.3 (desktop etc.) should work.
Thanks. I'm going to make a topic about it, sometime, if I haven't already done that.