There are two reasons for structs, one is for compute performance, and the other is for memory performance. java still outperforms C# using Hotspot/JIT, so that's not an issue. For memory performance you do have to use workarounds like librariers of concrete collections or heap based memory manager librariers. Odds are Java 9 or 10 will have structs though, so it is an acknowledged limitation.
The concrete collections (PCJ, Trove, Colt, tclib) are also a workaround to List<int>s, and structs should also resolve that disparity.
1
u/[deleted] Jun 16 '16
Delegates, events, more sensible covariance/contravariance, structs, generics that can handle List<int>, etc...