Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On the other hand, Java projects are better tested and more portable in my experience.


Better tested, maybe, I don't know but I believe you.

More portable, yes, but it is complicated. Java runs on a VM, so it gets portability from here, if your platform runs the VM, it will run the project. However, as a user, I still had issues with using the right VM on the right version, OpenJDK and Oracle JDK are not completely interchangeable. Messing up with classpath and libraries too. Not so different from C actually, but at the JVM level instead of the platform, the advantage being that it is easier to switch JVM than to switch platform.


more portable.. to what ? are we talking of desktop applications here? I can't remember the last java program I used on the desktop.


Minecraft is written in Java.


It relies on native libraries like libjwgl so it does still have portability issues.

And most game consoles can’t run Java so they had to totally rewrite it there.


Most game consoles are amd64 or ARM. Running java there is trivial.


Minecraft for 3DS, Xbox 360, etc already exists and is a rewrite in C++. It’s older than current game consoles.

But they don’t have JREs even if they have the right kind of CPU in them.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: