4 ms·
> garbage is still often an issue in Java. Not anymore. That future is here. Java is getting "flattenable" types not because of GC, but because of iteration.
by pron 6y ago
> garbage is still often an issue in Java.
Not anymore. That future is here. Java is getting "flattenable" types not because of GC, but because of iteration.
- StefanKarpinski 6y agoHas a version of Java with value types been released?
- pron 6y agoNo, but there's finally a JEP, which normally means that release is imminent (I'm not involved with that project, so I have no inside information): https://openjdk.java.net/jeps/401 https://openjdk.java.net/jeps/401 As part of this change, existing built-in primitive types (like int or double) will retroactively become instances of these more general objects.