Hacker News new | past | comments | ask | show | jobs | submit login

I thought one of the things promised in Java 9 was to finally fix the primitive mess, including all of the boxing and pointer chasing. Yet I can't find that here.

I also thought that type reification was being researched.

Does anyone know if either of these is still a thing?




Yes, they are both being worked on. They're just not sure they'll be ready in time for 9.


The project to watch here is project Valhalla - valhalla-dev AT openjdk DOT java DOT net. Indeed the full solution of value types will not land until Java 10, but Java 9 will hopefully contain the very useful Collection of primitives enhancement (you can currently only have Collections of Objects, primitives are auto boxed into their Object equivalents at much greater overhead).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: