API review of VarHandles
vitalyd at gmail.com
Fri Jan 22 14:52:26 UTC 2016
Agreed; it's a building block, not an assembled piece.
On Friday, January 22, 2016, Brian Goetz <brian.goetz at oracle.com> wrote:
> The VarHandle API isn't ergonomic like Unsafe; this being for power users
>> is irrelevant to the ergonomics of the API. Instead, it's fairly verbose
>> with setup ceremony. Now, I personally don't mind that too much and more
>> interested in the features it provides but I'm not surprised by David's
>> People already provide nicer APIs on top of Unsafe in their own projects,
>> and I suspect this will be even more so with VH.
> And that's absolutely fine with us. We wanted to provide a secure, safe,
> fast substrate that code generators and brave library writers alike will
> use; if people want to wrap it, we view that as success, not failure.
Sent from my phone
More information about the valhalla-dev