Page 1 of 1

Wouldn't this game run better on Java

PostPosted: Sun May 17, 2015 15:06
by ene723
Question: I was just wondering, but wouldn't java be more capable of running Minetest?

Re: Wouldn't this game run better on Java

PostPosted: Sun May 17, 2015 15:11
by twoelk
nope

Re: Wouldn't this game run better on Java

PostPosted: Sun May 17, 2015 15:13
by rubenwardy
Obvious troll.

Re: Wouldn't this game run better on Java

PostPosted: Sun May 17, 2015 16:55
by hoodedice
ene723 wrote:Question: I was just wondering, but wouldn't java be more capable of running Minetest?


Short Answer: No.

Long Answer: No. Once Minetest hits the same level of development and optimisations that Minecraft has been subject to, we should be a tad bit faster.

Simple Technical Answer: Java runs on a VM thingy, that actually increases overhead on simple processing. Or something to that regard.

Troll Answer: Yes.

Re: Wouldn't this game run better on Java

PostPosted: Fri May 22, 2015 09:29
by prestidigitator
Probably about the same. New JVMs optimize the JIT (Just In Time compiling) enough that Java's about as fast as any other compiled language these days. For some tasks it can be a bit slower than C/C++, and for some it can actually be a bit faster due to things like dynamic optimization in response to run-time profiling. Computation is about the same. Access to large blocks of data is often a bit slower because, for example, array access always does bounds checking (good for security; not necessarily ideal for performance).

Re: Wouldn't this game run better on Java

PostPosted: Sat May 23, 2015 09:14
by Calinou
If you want a free/libre Minecraft-style game using modern Java and OpenGL, take a look at Terasology.

Re: Wouldn't this game run better on Java

PostPosted: Sat May 23, 2015 10:44
by Zeno
Generally it will run faster on a computer

Re: Wouldn't this game run better on Java

PostPosted: Sat May 23, 2015 15:37
by indriApollo
Can't argue with your logic Zeno (see that witcher 3 reference there ;D )

Re: Wouldn't this game run better on Java

PostPosted: Sat May 30, 2015 14:45
by Hybrid Dog
Wouldn't minetest run a lot faster if a better graphics engine was used?

Re: Wouldn't this game run better on Java

PostPosted: Sat May 30, 2015 16:21
by Calinou
Hybrid Dog wrote:Wouldn't minetest run a lot faster if a better graphics engine was used?


Irrlicht is known to be lightweight and fast. Unless we write our own graphics engine, the competition probably won't be any faster.

We just happen to have a lot of CPU bottlenecks.

Re: Wouldn't this game run better on Java

PostPosted: Sat May 30, 2015 18:30
by Hybrid Dog
Calinou wrote:We just happen to have a lot of CPU bottlenecks.

ls it possible to disable them?