Hacker News new | ask | show | jobs
by tom_mellior 2527 days ago
My comment concerned heap-allocated user-defined types, not primitive types like int. Also, these techniques of tagging primitive types predate Java, so whatever convinced people that they are needed, Java wasn't it. (Though things change, so yes, it's a possibility that they are no longer needed. Do you have benchmarks?)

I agree that a lot of boxing can be optimized away, but often it also can't.