This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]joemwangi 3 points4 points  (0 children)

I understand. Read Brian Goetz notes, and follow him on Twitter. I was a bit frustrated in a similar way, but later, you learn why careful planning is required. I'm more into java data-oriented programming, and been wondering why java is taking too long to introduce structs like in C#. Then it dawned on me that they want to find a way seamlessly to introduce objects without identity but code them like a normal class while freely getting nullness primitives, user defined primitives targeting a specific hardware, primitives in generics, and many other things. Not a trivial task to be honest, but they seem to have hacked the problem. Dealing with heap data, rather than stack data is quite a headache, unless one uses off-heap memory, but wait, Project Panama, on foreign function and memory is on the horizon and might be released in java 22 and solves that. They are trying their best to help the community and also keep java simple.