Welcome, Guest. Please login or register

Author Topic: Is it possible to write a C++ implementation of Minecraft?  (Read 2746 times)

0 Members and 1 Guest are viewing this topic.

Offline kauan99

  • Creeper Killer
  • **
  • Posts: 208
  • Karma: +6/-0
  • Thank You
  •   - Given: 42
  •   - Receive: 2
  • Gender: Male

  • "I'm not a robot, I'm a real boy!"

    • View Profile
Is it possible to write a C++ implementation of Minecraft?
« on: March 12, 2016, 08:11:13 am »
would be nice to get some real performance going... Is it possible? I mean, it's OpenGL, basically. Hell, why not a DirectX3D? CUDA? nVidia's GTX ti  boards are all around us, can't we improve on Notch's work? let's do it!
WIP mods: easyautomation, easyenergy, easyelectronics, easymoney, easytrasportation, easysecurity, easymultiverse, easyfactions, easymagick, easyalchemy, easyseasons

Offline LexManos

  • Forge Code God
  • Reality Controller
  • *****
  • Posts: 7,285
  • Karma: +1,500/-287
  • Thank You
  •   - Given: 1
  •   - Receive: 924

  • "I am new!"

    • View Profile
Re: Is it possible to write a C++ implementation of Minecraft?
« Reply #1 on: March 12, 2016, 08:48:01 am »
no -.-
If you don't know how to run a java file you're a moron and should watch this: http://www.youtube.com/watch?v=j6uMF-PjGT4
Patreon: http://www.patreon.com/lexmanos (Because, people asked 0.o)
Paypal: LexManos@gmail.com (Again added on request)

Offline Toost

  • Tree Puncher
  • *
  • Posts: 21
  • Karma: +0/-1
  • Thank You
  •   - Given: 3
  •   - Receive: 0

  • "My entire persona is based around a piece of Toast"

    • View Profile
    • Vitalidev
Re: Is it possible to write a C++ implementation of Minecraft?
« Reply #2 on: March 13, 2016, 02:30:08 am »
XD
DRAGONMANG: "I'm Dragonmang, m8. Here me roar."
HERO: "Oh no... not. Dragonmang."
DRAGONMANG: "Roar, m8."
HERO: "Ahhh......"
And so the brave knight and Dragonmang fought on the mountaintop for many moons....

Offline RANKSHANK

  • Diamond Finder
  • **
  • Posts: 257
  • Karma: +65/-3
  • Thank You
  •   - Given: 38
  •   - Receive: 49
  • Gender: Male

  • "@SideOnly(Side.DARK)"

    • View Profile
Re: Is it possible to write a C++ implementation of Minecraft?
« Reply #3 on: March 13, 2016, 05:52:50 pm »
Quote
would be nice to get some real performance going... Is it possible? I mean, it's OpenGL, basically. Hell, why not a DirectX3D? CUDA? nVidia's GTX ti  boards are all around us, can't we improve on Notch's work? let's do it!
Perfect illustration of the implicit difference between buzzwords and jargon. Also your typical minecraft user will not be packing a Ti. A metric shit ton of them use soley integrated which is why barebones GL must be used. And correct me if I'm wrong but a Cocoa variant is already made for pocket edition.
I think its my java of the variables.

Offline Bektor

  • Forge Modder
  • Dragon Slayer
  • ***
  • Posts: 527
  • Karma: +9/-0
  • Thank You
  •   - Given: 17
  •   - Receive: 8
  • Gender: Male

  • "Founder and Developer of the Primeval Forest Mod."

    • View Profile
Re: Is it possible to write a C++ implementation of Minecraft?
« Reply #4 on: March 16, 2016, 03:08:43 pm »
would be nice to get some real performance going... Is it possible? I mean, it's OpenGL, basically. Hell, why not a DirectX3D? CUDA? nVidia's GTX ti  boards are all around us, can't we improve on Notch's work? let's do it!
Well, Minecraft uses basically an outdated OpenGL and an outdated LWJGL (Minecraft uses version 2, version 3 is up to date)
DirectX3D isn't available with LWJGL and only running on Windows. Minecraft runs on Windows, Linux and Mac, so that would not be possible.

And just because someone would write Minecraft in C++ it would not be more performant because of the fact it would be written in C++. ;)
It's no problem to get a C++ Minecraft running at the same performance like the Java one. It's no problem to get DirectX running at the same performance like
outdated OpenGL does. Everything depens on how good the code is written and on how up-to date the technics which are used are.
CUDA runs from that what I know only on NVIDIA cards, so no Intel intregrated graphics and no AMD cards.
It doesn't matter which programming language and API you use, you can always get a bad performance and always a good performance.
Developer of Primeval Forest.

Offline SuperGeniusZeb

  • Forge Modder
  • Stone Miner
  • ***
  • Posts: 64
  • Karma: +10/-0
  • Thank You
  •   - Given: 15
  •   - Receive: 5
  • Gender: Male

  • "Waiting for FMP to be merged."

    • View Profile
    • SuperGeniusZeb.com
Re: Is it possible to write a C++ implementation of Minecraft?
« Reply #5 on: May 17, 2016, 01:10:08 am »
Optimized C++ Minecraft already exists... it's called Minecraft: Pocket/Gear VR/Windows 10 Edition. It's C++, it's super-optimized, and is probably the future "main" Minecraft edition anyway. It doesn't have feature parity with Java Minecraft yet, but at the rate it gets updates it probably will within a couple of years. (I bet it will also get an official mod API before Java Minecraft as well... :P)
Colore - The mod that adds monochrome blocks in every color of the rainbow!
http://www.minecraftforge.net/forum/index.php?topic=35149

If you're looking to learn how to make mods for 1.9.4, I wrote a helpful article with links to a lot of useful resources for learning Minecraft 1.9.4 modding!

http://supergeniuszeb.com/mods/a-helpful-list-of-minecraft-1-9-4-modding-resources/

Offline larsgerrits

  • World Shaper
  • ****
  • Posts: 2,398
  • Karma: +385/-19
  • Thank You
  •   - Given: 6
  •   - Receive: 290
  • Gender: Male
    • View Profile
Re: Is it possible to write a C++ implementation of Minecraft?
« Reply #6 on: May 20, 2016, 03:26:35 pm »
and is probably the future "main" Minecraft edition anyway
Probably never :)

The Java version has some very things that the C++ version does not have: a large modding community. This alone will prevent the C++ version from becoming the 'main' Minecraft version. Until it has a good, functioning modding API with a lot of mods ported, people MIGHT go over the the Windows 10 edition. But all the Linux and Mac players can't, so even then the Java version will be used a lot.
If you have a question, please make a thread on the designated board. PMs with questions will be ignored!

1.7.10 and older version for Minecraft are no longer supported. Update to the latest version if you want help.

Offline SuperGeniusZeb

  • Forge Modder
  • Stone Miner
  • ***
  • Posts: 64
  • Karma: +10/-0
  • Thank You
  •   - Given: 15
  •   - Receive: 5
  • Gender: Male

  • "Waiting for FMP to be merged."

    • View Profile
    • SuperGeniusZeb.com
Re: Is it possible to write a C++ implementation of Minecraft?
« Reply #7 on: May 20, 2016, 10:58:15 pm »
and is probably the future "main" Minecraft edition anyway
Probably never :)

The Java version has some very things that the C++ version does not have: a large modding community. This alone will prevent the C++ version from becoming the 'main' Minecraft version. Until it has a good, functioning modding API with a lot of mods ported, people MIGHT go over the the Windows 10 edition. But all the Linux and Mac players can't, so even then the Java version will be used a lot.
Never? Not quickly and not too soon for sure, but "never" is a bit of a strong term, and I can't say I personally agree with it.

PE is confirmed to be getting an official mod API, and unlike the Java edition's fabled mod API, I think this one will come much quicker, given the recent speed of MCPE updates and the much larger dev team behind it, not to mention the PE codebase being more clean & optimized than Java MC, which would probably help a lot. I think the modding community would be VERY eager to develop for a MC edition that runs on pretty much everything except the aforementioned Linux & Mac, and has both cleaner/faster code AND an OFFICIAL mod API.

And as for Linux & Mac, PE will almost definitely get ported to both at some point, and as for Linux, it's already technically possible thanks to this: https://github.com/MCMrARM/mcpelauncher-linux So it wouldn't be that hard of a port. I think the only reason it hasn't happened yet is that it's not a top priority right now (feature parity is), and also that PE needs an official account system. (And judging by the Realms beta test and Win10 Edition, it looks like Xbox Live may be that system.) The devs have already stated they want Minecraft to run on everything, and so while it may take a while I highly doubt that PE will never be ported to those 2 OSes.

So will MCPE become the main edition? Absolutely. Definitely not now (due to the reasons you've stated), but both obstacles are almost definitely going to be overcome at some point or another. But I guess to know for sure, we can only wait, hope, and see...
Colore - The mod that adds monochrome blocks in every color of the rainbow!
http://www.minecraftforge.net/forum/index.php?topic=35149

If you're looking to learn how to make mods for 1.9.4, I wrote a helpful article with links to a lot of useful resources for learning Minecraft 1.9.4 modding!

http://supergeniuszeb.com/mods/a-helpful-list-of-minecraft-1-9-4-modding-resources/

Offline Bektor

  • Forge Modder
  • Dragon Slayer
  • ***
  • Posts: 527
  • Karma: +9/-0
  • Thank You
  •   - Given: 17
  •   - Receive: 8
  • Gender: Male

  • "Founder and Developer of the Primeval Forest Mod."

    • View Profile
Re: Is it possible to write a C++ implementation of Minecraft?
« Reply #8 on: June 06, 2016, 01:28:13 pm »
The problem with Minecraft Pocket Edition would basically be, the performance. I mean, think about mods like Thaumcraft or large Modpacks like FTB... There is no smartphone which would have enough power for such things.
Developer of Primeval Forest.

 

Sitemap 1 2 3 4 5 6 7 8 9 10 
Close
Please register or Login to join in on the community!