18 ms·
Microsoft's forthcoming Minecraft Education Edition is written in C++
- ergothus 11y agoAssuming MC does move to a C++ main version: I wonder if anyone is studying this and drawing parallels to the Python 3 or Perl 6 efforts. There seems to be a lot of similarities. * Existing product is great, but limitations are being encountered * Decision is made (or reality admitted, depending on your view) that you have to make a dramatic change * Community is split, progress is slow * ??? I'm a huge Minecraft fan (it's about the only computer game I regularly play), and while the community has lots of grump people, it's also fairly adaptable. This would be a huge shock though, and I'm more interested in what happens over, say, 6-12 months than I am in initial reactions.
- deleted 11y ago[deleted]
- jimmaswell 11y agoI'd like python 3 much more if they didn't change the print statement.
- zmmmmm 11y agoAs a parent who avidly plays minecraft with my kids, exclusively on tablets, I tend to believe the article's notion that the C++ version (via Minecraft PE) will fairly quickly become by far the most popular version. So it will be ahead of Python in that regard.
- detaro 11y agoOn the other hand, this potentially could unite XBox, mobile and PC versions of Minecraft, which would make quite a few people happy. As most of this thread discusses, mods are going to be a critical point, even though it is surprising how much people manage to do with command blocks, ressource packs and other vanilla tools.
- sheepdestroyer 11y agoMicro optimized by John Carmack himself who volunteered (he was like a free consultant for while) for the task because he believed that's the best that could be done to help VR. He first had to personally persuade both hierarchy at FB & MS. So bold. From : http://venturebeat.com/2015/09/24/how-john-carmack-pestered-microsoft-to-let-him-make-minecraft-for-gear-vr/ http://venturebeat.com/2015/09/24/how-john-carmack-pestered-... : “I was willing to do just about anything,” he said. “On the phone I said that if this doesn’t happen, I’m going to cry. This will just be so terrible. This will be the best thing that we can do for the platform. But there are some problems that compilers can’t solve.” It turns out that the solution was to get the top executives from Facebook and Microsoft together. “Mark [Zuckerberg] and Satya [Nadella] were able to sit down and make sure that the deal happened,” said Carmack.
- degenerate 11y agoCarmack is such a boss. If your interest is piqued every time you hear about him, make sure to read Masters of Doom: http://amzn.com/0812972155 http://amzn.com/0812972155
- Kiro 11y agoI just finished this book 5 minutes ago. Can't recommend it enough.
- phodo 11y agoYou might also enjoy the Blizzard book: Stay Awhile and Listen: How Two Blizzards Unleashed Diablo and Forged a Video-Game Empire [1] [1] http://www.amazon.com/Stay-Awhile-Listen-Blizzards-Video-Game-ebook/dp/B00G8UL474 http://www.amazon.com/Stay-Awhile-Listen-Blizzards-Video-Gam...
- douche 11y agoGreat book. I wish there was more literature in this vein. Some other fun reads from the Blizzard team at http://www.codeofhonor.com/blog/ http://www.codeofhonor.com/blog/
- osullivj 11y agoHave they published the source? On github?
- sheepdestroyer 11y agoNo, as an outsider, the source is only accessible if your name is literally JC
- deleted 11y ago[deleted]
- sbd01 11y agoJesus Christ or John Carmack?
- flebron 11y agoYes.
- nevir 11y agoDoes it matter?
- andreapaiola 11y agoSame thing...
- madaxe_again 11y agoNo, Jeremy Clarkson or Jackie Chan.
- xd1936 11y agoSad for the modding community. The entire ecosystem is based on recompiling and editing/inserting Java.
- swah 11y agoI had never considered this. Very interesting.
- dawnbreez 11y agoI sincerely hope the modding API isn't terrible. You can't do a lot worse than Forge--especially with LexManos running the show, his terrible decisions and demands for respect are killing the modding scene--but doing better would be great.
- gravypod 11y agoIt's wonderful to see someone else who know's Lex for who he truly is. It's crazy, one of my friends to manages a large plugin is banned from the channel for mentioning "Lex" in the channel, not even attempting to talk to him/ping him. I've got lots of things to say about the minecraft modding community from end to end having done some stuff in the background of both sides. From development, to server management, to being an end user of all this. I think that the only hope for a good API is to actually have an API. Bukkit was the correct way to go from the start, forge is not an API. If anyone want's to know funny stories about bukit, forge, minecraft modding, and all you can get in contact with me and I'd be glad to talk about it all.
- Macha 11y ago> I think that the only hope for a good API is to actually have an API. Bukkit was the correct way to go from the start, forge is not an API. However, most of the more interesting mods still could not possibly exist for Bukkit, due to it's server side status, so I can't see any MS API faring any better than Bukkit
- Pyrodogg 11y ago
- exabrial 11y agoOk literally a flamebait title... Carmack is involved in the rewrite. Let's face if, if M$ rewrote it, it'd be in .net and only run on their platform. Then support would be dropped in the next windows release
- nivla 11y agoYa just like "M$" did a terrible job with the acquisition of Halo. Infact you can even count their entire fanbase on your fingers. Besides $2.5 Billion that was paid to acquire Minecraft is just pocket change for MS to drop and forget about it. /s I am getting tired of these baseless comments whenever article about X shows up. Where X=Google/MS/Apple/FB etc.
- nickpeterson 11y agoI feel like MS will probably do well on this, it's essentially a developer tool (for all ages), and MS makes plenty of those just fine. They clearly have good people involved and are using C++ so you know it's a performance oriented mindset (since Java vs C# is certainly close enough to make a C# version passable). I wouldn't be surprised if this is a success.
- rasz_pl 11y agoreading https://randomascii.wordpress.com https://randomascii.wordpress.com Im not so sure. Microsoft has a habit of shipping unoptimized buggy crap in every niche, including dev tools.
- Strom 11y agoA C++ version of Minecraft has existed for a very long time and this is the evolution of that version. It was originally created for mobile.
- ChuckMcM 11y agoI chuckled at this: "In schools and colleges that use Office 365, students will be able to log on to Minecraft using their Office credentials." Because everyone things "how can I log into this game? Oh yeah, with my office credentials." :-) That aaid, one of the more interesting debates I participated in at Sun was Bill Joy's insistence that interpreted Java would be "faster than C++." From what I recall of his argument, it was that understanding the semantics of the program and just in time compilation would allow the JVM to run only the code that was needed in a smaller resident set with fewer context switches. At the time I was arguing against that, saying that a compiled version of Java could be a useful systems language but the interpreted version would not. And even with some really really amazing hotspot technology on the JIT compiler, I don't think Java was ever faster outside of a few synthetic test cases that did no useful work. So it really doesn't surprise me that a C++ version of minecraft would out perform a Java version, but it would be much more interesting if they included a JVM for the mods, so that the core was fast and the mods were portable.
- jdmichal 11y ago> I chuckled at this: "In schools and colleges that use Office 365, students will be able to log on to Minecraft using their Office credentials." Because everyone things "how can I log into this game? Oh yeah, with my office credentials." :-) I know this was meant to be a joke, but this was more an issue in wording by Schofield (the writer) than anything else. A Microsoft account is pretty much global across all their products. So it's also their email account, their OneDrive account, their Azure account... I'm assuming he picked Office 365 simply because that's the product he thinks is most likely to be already used in the school. As for the optimization; the JIT's main optimization from what I've researched is inlining. Which is really beneficial for Java because you tend to end up with a nest of getter method calls all to get a single field somewhere, and wouldn't it be nice if the JIT could just inline that field for you? I suspect that, especially if performance is at stake, it's less typical to end up with patterns like that in a C++ codebase.
- ganeumann 11y agoYes, this is a good strategic move by Microsoft. All of my kids have Google apps accounts that their schools set up for them. They are required to use Google docs, etc., so they can work on stuff at school and at home. I assume that a good portion of those kids will continue to use Google apps as a default for a long time. Similar to a strategy Microsoft used to keep Office a standard: the dirt-cheap student version. If Microsoft can get schools to use Office 365 instead of Google apps, then $2.5 billion for Minecraft was cheap.
- mavhc 11y agoOn one hand I'll be happy to not have to keep Java on the school machines, with its terrible installer, and minecraftedu, which wants to write to the install dir (same problem with kerbaledu, but that also has the additional crapness of being licenced per machine based on mac addresses, requiring delicensing, and internet access to check licence). On the other per year per user fees for software is a terrible trend, especially for schools. And I'd rather run my own server, and the kids love the mods.
- jdmichal 11y agoAs other people have pointed out: "Modding" in Minecraft is literally replacing the original Java bytecode with your own. This is why the idea of a Minecraft launcher took off; replacing binaries with modified versions is very dirty and very difficult to do if multiple things are touching the same file. I hope that this C++ version is the impetus needed for the forever-promised-never-delivered modding API to finally take shape. Then I don't even care what the underlying technology is.
- madaxe_again 11y agoOne would hope so - I predict however that many end users will be slow to adopt as modders will probably start by rioting, and then replatform (if indeed there is an API) - but there will be a substantial time lag. There's a potential for a vicious underadoption cycle there, however, and bifurcation of the community into "classic" minecraft and "new" minecraft.
- kuschku 11y agoOh, don’t worry, we are already rioting. Mojang already announced that "deep modding" won’t be supported. They’ll extend the stuff current resource packs can do, but they want to avoid modders replacing or extending any game mechanics directly. For example, modifying the rendering pipeline will be impossible. What modders expect: Minecraft as a whole engine, similar to the API Unity presents to developers. What Mojang is willing to deliver: A modding API that’s glorified command blocks.
- mintplant 11y agoI don't disbelieve you - Mojang, even under Microsoft, has always been rather clueless - but what's your source on this?
- kuschku 11y agoYou can read the answers from mojang_tommo here: https://www.reddit.com/r/Minecraft/comments/3ff2dy/minecraft_windows_10_edition_from_desktop_to_new/cto7fnc https://www.reddit.com/r/Minecraft/comments/3ff2dy/minecraft...
- BeowulfCluster 11y agoWhy didn't they re-write it in C#?
- sheepdestroyer 11y agoThey already had a C++ port for the mobile version which is now becoming the main branch.
- varjag 11y agoProbably the same reason: (lack of) performance.
- BeowulfCluster 11y agoC# is _much more performant_ than Java.
- namelezz 11y agoLink please.
- deleted 11y ago[deleted]
- alkonaut 11y agoThat's really hard to claim. Both are languages, and don't have inherent performance characteristics, C# can even be compiled to native for some targets. There are some aspects of C# (such as value types) that can give an advantage of idiomatic C# over idiomatic Java, but for anything performance sensitive you aren't going to write idiomatic code anyway, you'll be writing pretty convoluted code with SoA instead of AoS and so on. As for the respective VM:s, the CLR vs the JVM, the performance differences are pretty small. You wouldn't rewrite from Java to C# for performance.
- hyperpape 11y agoMy understanding is that C# made a number of good decisions surrounding structs, but that the JVM has had a huge amount of engineering work, and the HotSpot JIT & GC options are better performing. Can you point to any compelling evidence that either language is faster?
- madengr 11y agoAs a frustrated parent, Minecraft itself isn't compatible with it's own mods. The whole ecosystem is a frustrating mess, or at least my having to perform tech support for my 7 year old.
- strictnein 11y agoAnd you get to dodge all the shady mod download sites. I was amazed how difficult it was to install some of the ones my son wanted installed. I just gave up on some of them. It's weird, because running different levels and mods for things like Doom and Quake was so simple.
- ascagnel_ 11y agoDoom and Quake mods existed in a world before sketchy download sites. And today, most Doom and Quake mods seem to be hosted on websites dedicated to either just those games or mods in general (and I say this having spent some of this past weekend revisiting Quake and Doom mods). Minecraft modding seems to be centered around a third-party controlled forum with ad-interstitial links to pay-per-impression downloads from some sketchy file hosts. The whole thing is super sketchy. And the fact that you're basically patching in compiled code (that can do bad things to your system, as there is no limited API or scope-limited runtime like in Quake and Doom modding) makes it really, really scary to get those mods running.
- ganeumann 11y agoWords I dread hearing when I arrive home from work: "daddy, can you install a mod for me?" Usually the first half hour is getting rid of all the crapware they were tricked into installing as they tried to get the mod themselves.
- madengr 11y agoHa ha ha! You nailed it. I dread the same thing. I tell him to stick with servers on planetminecraft, but even those are tied to specific versions of Minecraft. Then there's umpteen managers for mods and utilities to roll between different versions. I let his 20 something uncles deal with the mess; I have had it. I guess at 44 I have lost patience for such things. While Minecraft is a neat concept, the whole thing really does need to be scrapped and re-written from the ground up.
- balls187 11y agoHow do mods work on the console versions?
- ben-schaaf 11y agoThey don't. It's a lot easier to provide modding for a game that runs on the same platform it was developed on. You don't have a java compiler on an Xbox. You don't have modelling software. And in terms of Xbox I doubt you can get VS running on it. Best you could do is take mods from PC, but that comes with its own problems.
- jerf 11y ago"What are mods?", same as every other console game.
- kelvin0 11y agoWonder how Markus feels about that ... I would be honored!
- ww520 11y agoA rewrite is usually faster than the original, especially one without backward compatibility constraint. I bet a rewrite in Java will be faster than the original, too.
- kevincox 11y agoYeah, but it is more work and you end up with a Java version :P
- ww520 11y agoWhy would it be more work? You've already learned what work and what don't work in the first version. You can reuse a lot of the original code. A lot of the experiment and exploratory code can be thrown out. Ending up with a Java version can be a good thing.
- Lawtonfogle 11y agoWell, I was wrong. I was fully expecting the rewrite to be in C# to get the Java people to switch to C#, not in C++.
- leetNightshade 11y agoSwitching from Java to C# doesn't offer any HUGE advantages to the end user. Switching to C++ does, granted with some drawbacks depending on how mods are handled, if they're going to be portable or not. If Microsoft is only making a Windows version of Minecraft, then they don't have to worry about the portability of mods, which would be a shame.
- Lawtonfogle 11y ago>Switching from Java to C# doesn't offer any HUGE advantages to the end user. I know C# doesn't offer much in terms of optimization. I was thinking they would do a C# rewrite because getting modders to switch from Java to C# is easier and it would give them a chance to show support for C# on non-Windows systems. I also think it would reduce the chance for a community split where modders continue modding the last Java versions. I'm probably biased in favor of modding. I remember Notch mentioning most sales came from systems where modding wasn't even possible, even though I personally think modding is the greatest thing about Minecraft. That has likely biased my view on the issue.
- nitrogen 11y agoWill this C++ version run everywhere Minecraft already runs (Linux/Mac/Windows/mobile/etc.)? Can it connect to Java servers?
- xd1936 11y agoNot yet. Hopefully someday soon.
- sheepdestroyer 11y agoIn fact its engine first started as the mobile port, so technically already Linux/Android/iOS compatible and just a matter of policy. However, I do not know how it fits in the preexisting legacy ecosystem.
- Narishma 11y agoThe mobile version, as well as all other non-desktop versions, are already written in C++.
- symlinkk 11y agoWorth mentioning to everyone who is complaining about the lack of mod support: there has been an open source C++ clone of Minecraft for a while now called "minetest", looks like their website is down right now but here's the Github repo: https://github.com/minetest/minetest https://github.com/minetest/minetest
- ghostDancer 11y agoAnd the fork called Voxelands: http://www.voxelands.com/about.html http://www.voxelands.com/about.html
- Kequc 11y agoIf anything needed a re-write Minecraft needed one. With the resources Microsoft has at its disposal I'm surprised to see it looks like a 1:1 remake. They didn't update the visuals or anything. This was an opportunity to release a slightly upgraded version of the product. It isn't backwards compatible so why keep for example all of the redstone bugs and so on, in it? This product could have been greatly refined. Maybe that's only coming in Minecraft 2. In true Microsoft fashion, there will now be Minecraft, Minecraft EE, and Minecraft 2. Instead of just two major products.
- ryanhuff 11y agoMy 11 year old son is an avid Mincraft player. His favorite aspect is playing team games on multiplayer servers. When I told him that Microsoft bought Mincraft, he was quite upset, and was confident that Microsoft would ruin it. Change was bound to happen. Hearing their plans to go c++ makes me wonder how it will impact the server ecosystem. Also, the "Windows 10" messaging in the article does sound like a case of a big company trying to bend a community to its own will (get people on Windows). In my son's case, if things go south, he is going to end up hating Microsoft for ruining his favorite game.
- deepinthefall 11y agoNoooo.. How can I run it on my old SUN SPARC server if it's not in Java?
- Animats 11y agoC++, not C#. Why isn't Microsoft using its own language? It seems late to be doing new starts in C++.
- pjmlp 11y agoC++ support has always been quite strong in the games and OS divisions. I would go so far as to bet it was the political C++ / .NET divide that caused the Longhorn failure. Also the Windows Vista victory that lead to the "Going Native" speechs, sponsoring C++ conferences, support for C++ on the kernel, AOT compilation to native of .NET code to mobile and the store and bringing back COM+ 2.0 renamed as WinRT.
- daemin 11y agoBecause it's actually a lot easier to do cross platform in C++ than in C#, especially when factoring in different phones - Android, iOS, Windows Phone - and other desktop platforms. You write a base platform abstraction layer in C++ & the native language, and then the rest of the game can be written in generic platform-agnostic C++.
- Ezhik 11y agoI still don't really get what exactly Minecraft offers for education.
- namelezz 11y agoA lot of kids playing Minecraft will someday wonder what the awesome language/platform is used to build my favorite game. Microsoft wants to be a big player in the answer and outshine Java. That is the education part you are looking for. Educating how great Microsoft technology is.
- TranquilMarmot 11y agoRedstone can be a great way to introduce people to logic and circuits, but that's about all I can think of.
- Strom 11y agoFor one, creativity. Similar to art class.
- scholia 11y agoMinecraftEdu -- which Microsoft bought -- was created by teachers, so you'd get some info from its various blog posts at http://minecraftteacher.tumblr.com/ http://minecraftteacher.tumblr.com/ Otherwise, there are lots of articles about teachers using it for maths, history, geography, English etc. Trust the teachers. This is the bottom-up adoption by schools who find Minecraft useful. There hasn't been any top-down pressure from governments, teacher training organizations or commercial companies.
- benlower 11y ago10 PRINT "Knock, knock." 20 PRINT "Who's there?" 30 PAUSE 10000 40 PRINT "Java" 50 END
- roghummal 11y agoDown the memory hole it goes.
- halayli 11y agoI am not sure you are aware of C++11's memory management features.
- outworlder 11y agoThat's cool and all, Minecraft has always been a pig. That said, no mod compatibility is going to kill the game. Just check youtube, it is difficult to find something about "vanilla minecraft".
- hathym 11y agoI hope this ends the Java vs C++ performance debate.