So I know this game will NOT be Java based on the 360 for obvious reasons. My question is this. What coding language are they using? And is it truly more optimized and superior to the PC?
I've always heard Java based games aren't optimized well compared to a standard game coding. So if the 360 version has a better performing and more optimized code, why doesn't Mojang use it for the PC as well?
I may be entirely wrong about this, but was just curious.
Rollback Post to RevisionRollBack
"Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover." §7- Mark Twain
Xbox 360 and many pc programs use C coding, ive always heard its more streamline than java but no experience myself. The reason mc is in java is bc that is the language notch knew best and was most comfortable with.
I do believe C is the standard programming language of the Xbox. I will be more optimized because the programming language is streamlined for making games where Java is not.
(That was an answer from someone who knows nothing about programming, just my best guess)
Well id say we very thoroughly provided an answer, at least it was a newish and related topic this time
Actually I don't think anyone answered my last question.
Also since I'm curious and don't know yet, any word on just how limited worlds are on the Xbox version?
Rollback Post to RevisionRollBack
"Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover." §7- Mark Twain
If they used C++ or C# for PC version then they would have to hire more people to make it for Mac users/linux/ect...So they just choose Java because java can run on all platforms and C++/C# can only run on windows.Plus Java is a very powerful programming language that I love.
The one about why mojang used java? Bc notch was more comfortable with it? I think in an interview he said that idr tbh could be making it up
I know why he used it to begin with. But if C++ or C# is more efficient wouldn't it make sense to convert the game?
Rollback Post to RevisionRollBack
"Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover." §7- Mark Twain
They use java on PC because all popular operating systems like Windows, Linux, mac and others all support java. This way is not best but i easiest for Mojang.
If they used C++ or C# for PC version then they would have to hire more people to make it for Mac users/linux/ect...So they just choose Java because java can run on all platforms and C++/C# can only run on windows.Plus Java is a very powerful programming language that I love.
I know why he used it to begin with. But if C++ or C# is more efficient wouldn't it make sense to convert the game?
It would make more sense, but it's unlikely it will happen for various reasons. The time and effort it would take to convert the game from Java to C++ might not be worthwhile to Mojang. They'd also likely need to hire more staff members, I'm not certain how familiar the current staff is with C++.
Also, Java is compatible with a lot more OS than C++ is, and C++ would likely require more system resources than Java would. Also, the current mods/texture packs might not work with the new coding.
So, by updating the game to C++ they would likely alienate a large portion of their userbase. Overall, it's likely just not worth the time and money to do it.
After reading this thread I started playing around and found that Java applications run slow on my PC and C++ ones run much faster.
If you wanted to use a C++ client, you would have to convert all of the Java bytecode into C++, and then optimize it. The reason Notch uses Java is because, unlike the C languages, it requires a "JVM", which is a Java Virtual Machine. This runs the actual program, whereas with C++, your Windows operating system runs the program.
Having it programmed in Java allows anyone with a JVM to play the game. Of course, Sun Microsystems could create a JVM for Xbox, but I highly doubt this will happen, and it would drastically reduce the intended performance of the game.
I personally use Linux as my primary operating system on my PC, so if the game were to be reprogrammed to C++, the only way I could run it is through a Virtual Machine, or maybe WINE.
C++ would be optimized for faster speeds and stability, although it would not cater for everyone who wishes to play. I hope this answers your questions.
"Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover." §7- Mark Twain
To post a comment, please login or register a new account.
I've always heard Java based games aren't optimized well compared to a standard game coding. So if the 360 version has a better performing and more optimized code, why doesn't Mojang use it for the PC as well?
I may be entirely wrong about this, but was just curious.
I do believe C is the standard programming language of the Xbox. I will be more optimized because the programming language is streamlined for making games where Java is not.
(That was an answer from someone who knows nothing about programming, just my best guess)
Also since I'm curious and don't know yet, any word on just how limited worlds are on the Xbox version?
The one about why mojang used java? Bc notch was more comfortable with it? I think in an interview he said that idr tbh could be making it up
oops. Beat me to it.
http://www.minecraftforum.net/topic/1170804-bad-fps-even-after-trying-everything/
After reading this thread I started playing around and found that Java applications run slow on my PC and C++ ones run much faster.
Also, Java is compatible with a lot more OS than C++ is, and C++ would likely require more system resources than Java would. Also, the current mods/texture packs might not work with the new coding.
So, by updating the game to C++ they would likely alienate a large portion of their userbase. Overall, it's likely just not worth the time and money to do it.
If you wanted to use a C++ client, you would have to convert all of the Java bytecode into C++, and then optimize it. The reason Notch uses Java is because, unlike the C languages, it requires a "JVM", which is a Java Virtual Machine. This runs the actual program, whereas with C++, your Windows operating system runs the program.
Having it programmed in Java allows anyone with a JVM to play the game. Of course, Sun Microsystems could create a JVM for Xbox, but I highly doubt this will happen, and it would drastically reduce the intended performance of the game.
I personally use Linux as my primary operating system on my PC, so if the game were to be reprogrammed to C++, the only way I could run it is through a Virtual Machine, or maybe WINE.
C++ would be optimized for faster speeds and stability, although it would not cater for everyone who wishes to play. I hope this answers your questions.