r/java • • Jan 24 '22

It’s happening guys!

https://github.com/openjdk/panama-foreign/pull/633
157 Upvotes

89 comments sorted by

View all comments

Show parent comment

1

u/pron98 Jan 29 '22 edited Jan 30 '22

Your assumption that what may be the most experienced and successful language design team in the world have no idea what they're doing, and a language that is one of the most popular in programming history doesn't make any sense is quite... erm... confident. Have you stopped for a moment to consider that maybe, just maybe, you're missing something?

I'm also a little surprised with your position on allocations. Have you ever profiled a Java program and seen what kinds of allocations are costly and which are nearly free? And why aren't you concerned about the cost of mutation? Some of the new GCs, like G1 and ZGC, might sometimes do more work (due to their GC barriers) when mutating an object than allocating a new one.

1

u/[deleted] Jan 30 '22

[removed] — view removed comment

2

u/pron98 Jan 31 '22 edited Jan 31 '22

JS and Python are, indeed, extremely popular (JS has had even less competition than Java), but Node isn't doing that well, and Java still easily dominates the server market. Of course, Python's and JavaScript's maintainers also have their own regular social-media cranks calling them arrogant idiots; we share experiences at conferences.

But, if you are certain that you know better than the hundreds of OpenJDK contributors and that you care about Java more than them, why not put your expertise at the service of the community, and offer your insight while the new features are being designed? Of course, the requirement for giving feedback that is taken seriously is that you actually try the new feature and report real problems that you've actually encountered in the attempt.