T
T
Tyrion Lannister2017-05-04 01:01:18
Java
Tyrion Lannister, 2017-05-04 01:01:18

Is it possible to write a demanding 3d game in Java?

All demanding games are created in C++. Is it possible to implement this in Java? These are games that are more demanding than Minecraft.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Moseychuk, 2017-05-04
@fshp

In short - you can.
Long - you have to shaman with GC so that there are no friezes during garbage collection. As an option - minimize memory allocation after loading.
Actually friezes due to garbage collection is the only problem that can get out. Enough performance, tk. cool graphics require first of all a powerful video card.

A
Alexander Kosarev, 2017-05-04
@jaxtr

It is quite possible that there is LWJGL , which provides access to low-level APIs, which is important for demanding projects. But you will have to spend a lot of time developing and debugging the engine, because. it's just a library. Or choose some existing engine .
The only question is: is it necessary? Java - first of all, a PL for solving business problems, developing all kinds of network and corporate software from websites to monstrous distributed CRM / ERP and other highly loaded SaaS (you can also think of desktop software and Android).
You're not going to carry bricks in a Ferrari, despite the fact that it's allowed?
Now the main full-fledged engines - Unreal, Unity and CryEngine are available conditionally free of charge.

M
miek, 2018-11-03
@miek

Minecraft is quite a "demanding" game, especially if it is hung with graphics mods. The meaning of the question is not clear. The problem with Java is that garbage collection runs at an unpredictable point in time, which is unacceptable for active games.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question