3 ms·
You find Java well engineered or you find the JVM well engineered? Java may go down in history for the most destructively designed programming language ever cr
by CyberDildonics 9y ago
You find Java well engineered or you find the JVM well engineered? Java may go down in history for the most destructively designed programming language ever created. The entire standard library and methodology is to create every little piece of data on the heap, then use extremely deep inheritance as a substitute for the ability to write generic software pieces.
Not only is the "Object Oriented" way of doing things arguably a blight on software design, both allocation and chasing of virtual pointers are devastating to modern performance. Then to combat this, the JVM is an engineering marvel that has matured over 20 years.
- merb 9y agowell the jvm is actually making the whole allocations a little bit better with upcoming vm's. and that's exactly the problem it just takes too long for a new java release.
- bsder 9y ago> Not only is the "Object Oriented" way of doing things arguably a blight on software design, both allocation and chasing of virtual pointers are devastating to modern performance. Um, this is not unique to Java, you know. Even C++ does this.
- CyberDildonics 9y agoIt is easily avoided in C++ by putting most values on the stack. Also with templates, inheritance isn't needed for generic data structures.
- pjmlp 9y agoJava wasn't the first language with those features. Pointer chasing OOP goes back to all languages that got themselves inspired by Smalltalk and SELF.
- flavio81 9y agoJava is full of problems. JVM is a wonderful thing. However OOP is great. OOP is no bad stuff, take a look at Smalltalk. The problem is Java's way of OOP. And let's not talk about java primitive types!!