3 ms·
>Java is not an innovative language Most of the innovation when it comes to concurrency, garbage collection, JIT did come from Java. Syntax - that's more of an
by xxs 2y ago
>Java is not an innovative language
Most of the innovation when it comes to concurrency, garbage collection, JIT did come from Java. Syntax - that's more of an opinion/preference.
My gripe with yet another "improvement" of the language is still the lack of headerless objects (aka value classes) - JEP 401[0]
[0]: https://bugs.openjdk.org/browse/JDK-8251554 https://bugs.openjdk.org/browse/JDK-8251554
- bkail 2y agonullability is directly related to the value classes effort (the top article mentions value classes, and the JEP you linked mentions nullability): in order to get the most benefit out of value classes, you need some way to express guaranteed non-nullability to avoid needing to encode null (imagine Point[] vs Point![]): https://cr.openjdk.org/~jrose/values/flattened-values.html#implementing-null-channels https://cr.openjdk.org/~jrose/values/flattened-values.html#i...
- xxs 2y ago'Value' classes would be useful in arrays only + some version of direct buffer mapping. All other cases are pretty uninteresting when it comes to performance or memory layouts.