Aggressive unboxing of values: status update

Simon Ochsenreither simon at
Mon Nov 10 15:34:04 UTC 2014

Hi Albert,
> There is nothing wrong with having boxes. One part of the development 
> plan is to implement a boxing operation. Did you have a look at the 
> "Boxing and object interoperability" section of this document?
Yes, I'm aware of that. It's just not very helpful, because most 
interesting cases and issues are not covered.

I'm questioning the idea of
   a) having Integer act as a value box for int,
   b) putting all the same requirements on value boxes;

from my experience, trying to retrofit Integer as a value box for int is 
a futile endeavor, as well as weighing down other value boxes with 
things like reference equality etc. in the way John described in his mail.

Thanks and bye,


More information about the valhalla-dev mailing list