Re:JITs are un-ergonomic
by vbezhenar on Sunday March 29, 2020 @11:44AM
(#22719883)
And that's why Java is slower than it could be. If I'm using String[] array, it can't contain anything but String objects, so JVM does not have to check type everytime I'm accessing that array. That's not true for ArrayList<String>, where compiler must check returned object type from `get(index)` (because it really is Object and can contain anything), but it could be true with better language design.
[ Parent
| on HN ]
There are no comments on this comment yet.