Author Topic: java or c++  (Read 5907 times)

flashboss

  • Guest
java or c++
« on: 24 May 2008, 17:00:35 »
hi... I've seen there are many problems using different binaries and different platform in multiplayer. Have you thought to use java to resolve theese problems?
« Last Edit: 1 January 1970, 00:00:00 by flashboss »

ttsmj

  • Guest
(No subject)
« Reply #1 on: 24 May 2008, 21:14:59 »
We had discussed this a lot, it seems to be caused by different accuracies in compilers. As far as we know, there is no simple way to fix it.  ::)

Maybe java is a good idea, but game would need to be re-done
« Last Edit: 1 January 1970, 00:00:00 by ttsmj »

flashboss

  • Guest
java or c++
« Reply #2 on: 24 May 2008, 23:16:01 »
if you need for java I will happy to help you
« Last Edit: 1 January 1970, 00:00:00 by flashboss »

hailstone

  • GAE Team
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
(No subject)
« Reply #3 on: 24 May 2008, 23:52:01 »
Seems like a lot of work and I'm not sure if the developers know Java or if the same features exist. I've only looked at it briefly myself.
« Last Edit: 1 January 1970, 00:00:00 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #4 on: 24 May 2008, 23:52:03 »
I know Java, but is unsuitable for real time graphics applications, due to it being too slow.
« Last Edit: 1 January 1970, 00:00:00 by martiño »

orion

  • Guest
(No subject)
« Reply #5 on: 25 May 2008, 03:32:49 »
I learned java for the sole purpose of web design and personal programming. While java maybe cross platform, it is too SLOW for a game like glest. Also, I spent time looking through the java3d package. It is very hard to learn and it
cannot mimic the features that Glest has already. I say c++ all the way.
« Last Edit: 1 January 1970, 00:00:00 by orion »

flashboss

  • Guest
java or c++
« Reply #6 on: 25 May 2008, 12:20:39 »
java should to be used only to communication between platforms. Java has the power to use  native code, leaving unchanged the game
« Last Edit: 1 January 1970, 00:00:00 by flashboss »

sallyxi

  • Guest
(No subject)
« Reply #7 on: 25 May 2008, 16:15:13 »
It seems that Java is not easy to handle.
« Last Edit: 1 January 1970, 00:00:00 by sallyxi »

Duke

  • Guest
(No subject)
« Reply #8 on: 25 May 2008, 17:42:32 »
About Java being too slow, that's not entirely true anymore.

At least our computergraphics prof told us pleasently surprized that they noticed JOGL being actually even faster in some cases.
« Last Edit: 1 January 1970, 00:00:00 by Duke »

ZaggyDad

  • Guest
(No subject)
« Reply #9 on: 26 May 2008, 02:31:55 »
Anyway, the problem first mentioned has been resolved in GAE (Boy, do I wish more people would notice it.... :confused: ).

~Zaggy
« Last Edit: 1 January 1970, 00:00:00 by ZaggyDad »

Speedator

  • Guest
(No subject)
« Reply #10 on: 26 May 2008, 19:15:10 »
sallyxi: If you really compare C++ and Java, you will see that Java is much easier to handle in some cases(less hacking, more engineering). But anyway for 3D, you are absolutly correct. But as Duke told us there are ways like JOGL, so OpenGL runs natively and there isn't such a huge performance issue.

Anyway, I don't really see that difficult problems, that we really should port all over to java. That's a big step. And we may solve the problems easier.
« Last Edit: 1 January 1970, 00:00:00 by Speedator »

 

anything