I know nothing about programing. So im wondering why java was used for the PC version and what are pros and cons of it (with regards to minecraft). Also why is c++ or whatever used for the xbox version and what are the pros and cons of this code? Im interested in learning a bit about this, thanks.
I know nothing about programing. So im wondering why java was used for the PC version and what are pros and cons of it (with regards to minecraft). Also why is c++ or whatever used for the xbox version and what are the pros and cons of this code? Im interested in learning a bit about this, thanks.
Well Java is used on pretty much every machine available. That is one reason why it is compatible with all types of OS. Since every computer has java, every computer can run their game.
As far as C++ that code is just the basis for all games on consoles. I don't know alot either, but I think that is just the coding that consoles are programmed to recognize and translate.
Rollback Post to RevisionRollBack
My Channel: http://www.youtube.com/user/BluBadger2
Mostly have funny Xbox videos, but plan on doing more in the future. Check It out and let me know what you think on my channel!
Variants of C are much more resource efficient then Java, but Java is much more compatible among various OSs.
Rollback Post to RevisionRollBack
Users lack the mental capacity to have intelligent discussion, and mods lack the mental capacity to make intellegent decisions... I give up trying to share my intelligence with the world.
offtopic: yay a not stupid repeated question
ontopic: i do know that c++ is easier to learn that java cause hava is like more complicated and that stuff
C based languages generally are processed more efficiently than java (which requires a Java Virtual Machine). Most kernels have a core library that supports parsing C at very high performances (glibc anyone?)
So for speed, the Pocket Editions were written in Objectie-C for iOS and C++ (the language Linux, hence Android, is best at) for Android. Most, if not all games on Xbox are developed in XNA, a special subset of C#, a variant of C made by Microsoft.
It comes down to speed and preference, and what you want to do.
Java is much more high-level programming compared to C++. This means that it's easier to program in because the language does a lot of tedious stuff for you, but at the same time you lose some direct control. Java also runs slower, however it is supported on nearly all computers thanks to the JVM. However, Java is owned by Oracle, thus bends to it's rule which is a turn off for a lot of developers.
C++ on the other hand is more low-level. It gives programming experts more control over the language and hardware then Java does. C++ is also one of the fastest languages available, which makes it ideal for game programming. However, C++ is genrally considered to be a little outdated and more difficullt to learn (pointers are a nightmare for beginners). Also, C++ is not 'owned' by anyone, unlike Java.
I believe Notch said that he was more comfortable using Java since that is what he has worked with the most in the past.
Except... Notch is in no way associated with the xbox version, that's all 4J studios.
Rollback Post to RevisionRollBack
Users lack the mental capacity to have intelligent discussion, and mods lack the mental capacity to make intellegent decisions... I give up trying to share my intelligence with the world.
Well Java is used on pretty much every machine available. That is one reason why it is compatible with all types of OS. Since every computer has java, every computer can run their game.
As far as C++ that code is just the basis for all games on consoles. I don't know alot either, but I think that is just the coding that consoles are programmed to recognize and translate.
Mostly have funny Xbox videos, but plan on doing more in the future. Check It out and let me know what you think on my channel!
ontopic: i do know that c++ is easier to learn that java cause hava is like more complicated and that stuff
Ahh i see. So there really isnt anything special about java. Just familiarity. Now when thw F* is the game released lol jk.
So for speed, the Pocket Editions were written in Objectie-C for iOS and C++ (the language Linux, hence Android, is best at) for Android. Most, if not all games on Xbox are developed in XNA, a special subset of C#, a variant of C made by Microsoft.
Java is much more high-level programming compared to C++. This means that it's easier to program in because the language does a lot of tedious stuff for you, but at the same time you lose some direct control. Java also runs slower, however it is supported on nearly all computers thanks to the JVM. However, Java is owned by Oracle, thus bends to it's rule which is a turn off for a lot of developers.
C++ on the other hand is more low-level. It gives programming experts more control over the language and hardware then Java does. C++ is also one of the fastest languages available, which makes it ideal for game programming. However, C++ is genrally considered to be a little outdated and more difficullt to learn (pointers are a nightmare for beginners). Also, C++ is not 'owned' by anyone, unlike Java.
Except... Notch is in no way associated with the xbox version, that's all 4J studios.