DEV Community

Discussion on: Role of Java in modern web development

Collapse
zoedreams profile image
☮️✝️☪️🕉☸️✡️☯️

java has a superior stack and heap management for scalable virtual machines which need massive amounts of ram. Its thread management for multi-threading is still in many ways superior to that of c++ which is a fully roll your own memory management. However the downside to all this managing is having a garbage collector and instrumentation to allocate memory. Which with proper knowledge of java's inner workings' you can get it to run about 99% as efficient as say a LLVM compiled application. Minecraft is a great example of this. As is oracles image recognition software, both of which use java and work in these cases faster than llvm compile byte code. Minecraft, also i would like to note, uses the same type of algorithm to store world space as an MRI machine works to store your body information. neat right!.