3 ms·
The poster was commenting on the maintainability of the C++ code. Unfortunately, poorly written/structured code can still be as performant as well designed code
by exception_e 10y ago
The poster was commenting on the maintainability of the C++ code. Unfortunately, poorly written/structured code can still be as performant as well designed code.
As for your C++ vs Java question... put very simply, C++ will be faster than languages like Java when it comes to graphics and any software that is close to the hardware.
- morganvachon 10y agoThat's what I figured on both accounts. I guess I'm just bothered by the obvious inefficiency of Minecraft versus practically any other Java game I've played. Even other Java-based voxel games have far better performance.
- exception_e 10y agoInteresting aside: I just installed/ran Minetest and then compared it to Minecraft and Minecraft feels/looks a lot smoother on my basic HP laptop.
- fail2fail2ban 10y agoYou had better back that claim up. I've seen slow Assembly programs; operating close to the hardware is not a guarantee of better performance.
- exception_e 10y agoI was keeping it high level because the person asking the question is a non-programmer. To your point though, I should have prefixed "correctly written" in front of C++.
- morganvachon 10y ago> I was keeping it high level because the person asking the question is a non-programmer. Well, I should have been more accurate: I'm not a programmer by trade, but I do understand the basic concepts of computer programming, and I've dabbled with both high level and low level languages. I've even done some assembly programming in the distant past, about 20 years ago, just to learn it, as well as a stint with SQL/400 on the AS/400 about 14 years ago. But these days the closest I come is bash scripting or dabbling in Python or Lua. I've never messed with C/C++ or Java though, hence my questions directed at those languages. All that said, I do appreciate your response!
- RandyRanderson 10y agoSomeone said "technology1 is faster than technology2" everyone drinks!