Wouldn't this game run better on Java

ene723
New member
 
Posts: 1
Joined: Wed May 13, 2015 23:24

Wouldn't this game run better on Java

by ene723 » Sun May 17, 2015 15:06

Question: I was just wondering, but wouldn't java be more capable of running Minetest?
 

twoelk
Member
 
Posts: 1307
Joined: Fri Apr 19, 2013 16:19
Location: northern Germany
GitHub: twoelk
IRC: twoelk
In-game: twoelk
 

User avatar
rubenwardy
Moderator
 
Posts: 5716
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33
Location: world
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice

Re: Wouldn't this game run better on Java

by hoodedice » Sun May 17, 2015 16:55

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.
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
 

prestidigitator
Member
 
Posts: 640
Joined: Thu Feb 21, 2013 23:54

Re: Wouldn't this game run better on Java

by prestidigitator » Fri May 22, 2015 09:29

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).
 

User avatar
Calinou
Moderator
 
Posts: 3155
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: Wouldn't this game run better on Java

by Calinou » Sat May 23, 2015 09:14

If you want a free/libre Minecraft-style game using modern Java and OpenGL, take a look at Terasology.
 

Zeno
Member
 
Posts: 140
Joined: Sun Jun 29, 2014 03:36
Location: Australia
GitHub: Zeno-
 

User avatar
indriApollo
Member
 
Posts: 146
Joined: Fri Sep 26, 2014 11:34
Location: Belgium
GitHub: indriApollo
IRC: indriApollo
In-game: SudoAptGetPlay
 

User avatar
Hybrid Dog
Member
 
Posts: 2718
Joined: Thu Nov 01, 2012 12:46

Re: Wouldn't this game run better on Java

by Hybrid Dog » Sat May 30, 2015 14:45

Wouldn't minetest run a lot faster if a better graphics engine was used?

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪
 

User avatar
Calinou
Moderator
 
Posts: 3155
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: Wouldn't this game run better on Java

by Calinou » Sat May 30, 2015 16:21

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.
 

User avatar
Hybrid Dog
Member
 
Posts: 2718
Joined: Thu Nov 01, 2012 12:46

Re: Wouldn't this game run better on Java

by Hybrid Dog » Sat May 30, 2015 18:30

Calinou wrote:We just happen to have a lot of CPU bottlenecks.

ls it possible to disable them?

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪
 


Return to Problems



Who is online

Users browsing this forum: GreenDimond and 3 guests