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

IntelliJ, Clion, and the host of JetBrains IDEs are written in Java, and they're the best IDEs on the planet. Better than VisualStudio.

Minecraft Java Edition is fantastic.

Java is just a tool. Atlassian isn't a good workshop.



I haven’t used any of those IDEs, but really, is Minecraft your example? A game with graphics so simple it should work on a Pentium 4 but requires a very beefy computer instead because it’s written in Java.

They rewrote it (not sure if in C++ or C#) for the windows store and it works perfectly on computers that can barely run the Java version.


You might not be familiar with how modern computer graphics work. Objects and textures are loaded into the GPU and managed with an API like OpenGL and shader programs written in languages such as GLSL. Java, in this case, serves as the engine that ties everything together and runs the core game logic.

Microsoft rewrote it because they're not a Java shop. Microsoft Games Studio not only uses C#, but their mission is to increase adoption throughout the industry as it feeds into Microsoft's ecosystem. Microsoft is about developer mindshare.

C# and Java are incredibly similar languages. They're almost indistinguishable. Pointing to C# as if it's substantially different from Java makes me think you've never used either.


Java minecraft did have issues. Professional game streamers were having issues due to the pause-the-world garbage collection.

I don't mean to over hype the issue, minecraft became on of the most successful games in history riding on Java. But the re-write to C++ was not just because Microsoft is a C++ shop. The C++ rewrite delivered measurable performance gains, making it much better on low end devices especially.


I know exactly how it works. Java runs the game logic, and it does so so slowly that the game skips frames. If you’re claiming that the game logic and the code that runs the graphics are completely untied and run independently that’s wrong. The graphics code cannot paint another frame if it does not know where the objects are because the game logic, written in Java, is lagging behind.

C# is much faster than Java. Comparing them in real life performance situations (and not synthetic benchmarks) is almost a joke.


As opposed to C#, Java (alongside C/C++) is widely used in low-latency applications for high-frequency trading and HPC. Almost no one uses C# for high performance software.

Source: have been doing low-latency engineering for over 15 years.

It's quite apparent your experience with Java language/runtime is outdated and/or shallow. Maybe try reading up on it before making strongly opinionated comments like this?




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

Search: