In fact, i reckon the reason a lot of games would have crashes is because it's written in an unsafe language like C++.
And the reason there's so many successful plugins for minecraft is _because_ it's in an "easy" language like java.
In fact, i reckon the reason a lot of games would have crashes is because it's written in an unsafe language like C++.
And the reason there's so many successful plugins for minecraft is _because_ it's in an "easy" language like java.
Side note: you can get a lot of the power of Stackless Python without a special interpreter if you use greenlets (https://greenlet.readthedocs.io/en/latest/).
Minecraft got mod support way after there was already a ton of mods for it. The way it got initially was basically hacking into game jars, not because it was supported in any way, it only got support later.
Granted, Java JVM did made that easier, but still the reason it got so much stuff is because it was so fucking popular first. All of the modding tools were pretty much made by community from scratch, way before Mojang moved their ass.
decompiling java is much easier than decompiling C++ output. Adding code to such a decompiled source is much easier and safer, and thus much more accessible.
if minecraft had been in C++, i seriously doubt the initial mods from hacking it would've been possible.