/me shoots SquidTRAITOR! Go get the torches and pitchforks guys!
What was going on again?
/me shoots SquidTRAITOR! Go get the torches and pitchforks guys!
Hey, I don't hate C++Striking's about to murder you.
not with an official and easily extensible APIAnyway, that'd be unnecessarily hard to mod.
...which won't happen until the day MC is open-sourced, because from experience we know Mojang isn't doing that.not with an official and easily extensible API
Well...yeah...But the PE guys have managed to do C++ modding...it might be workable, and then build an abstraction layer on it......which won't happen until the day MC is open-sourced, because from experience we know Mojang isn't doing that.
C++ 'aint that bad, you know? I worked with it in the past and it's decent. Never coded in C#, but I've seen scripts in Unity and seems to follow a bit the java rules, except when it comes to overriding. But even so, I prefer working with something I have experience. Although I'd love to learn C#. I literally have nothing against itTRAITOR! Go get the torches and pitchforks guys!
C++ is okay, but Rust is betterC++ 'aint that bad, you know? I worked with it in the past and it's decent. Never coded in C#, but I've seen scripts in Unity and seems to follow a bit the java rules, except when it comes to overriding. But even so, I prefer working with something I have experience. Although I'd love to learn C#. I literally have nothing against it
Geh, fuck establishmentWhenever I bring up Rust, my dad mutters something about establishment.
Shut up SquidDon't we have a thread for our coding language wars?
AgreedAt least we all hate JavaScript together.
WHY?IIRC Mojang did some work to make the rendering pipeline more modern, but I'm not sure exactly what happened there.
Another change was using objects for block positions instead of integers. You'd need to create a new object and later garbage-collect it whenever you want to refer to a location, and anything that needs the XYZ coords needs an additional dereferencing operation. All of that means more work for the processor.
It's generally good design to keep related data in the same objects. Unfortunately Java doesn't support value types (and won't for some time) so there's a small performance penalty for each time you create one, and the penalty adds up when you need to create and garbage-collect a lot of them each frame.WHY?
What compelled them to use a special coord object rather than simply using ints?
Yes, it's generally good design, however I'd much prefer disorganized variables over that much of a performance loss. Also, wouldn't just a HashMap<char, int> work?It's generally good design to keep related data in the same objects. Unfortunately Java doesn't support value types (and won't for some time) so there's a small performance penalty for each time you create one, and the penalty adds up when you need to create and garbage-collect a lot of them each frame.
Yeah, just like I love Java
I felt physical discomfort saying that
Thrashing the GC to the point that this stupidity does is never good design. It reeks of both premature optimization and coding blindly along conventions.Yes, it's generally good design, however I'd much prefer disorganized variables over that much of a performance loss. Also, wouldn't just a HashMap<char, int> work?
EDIT: Changed String to char
HashMaps are pretty slow, and you're still passing it as a pointer.Yes, it's generally good design, however I'd much prefer disorganized variables over that much of a performance loss. Also, wouldn't just a HashMap<char, int> work?
EDIT: Changed String to char
Generally good design to organize your variables, not to do anything along the lines of using a special class for doing that. The best option would be a complete rewrite of the MC engine, but that isn't happening until Minecraft 2, which probably won't happen.Thrashing the GC to the point that this stupidity does is never good design. It reeks of both premature optimization and coding blindly along conventions.