Thanks. It raises a lot of interesting question.

- Will I finally be able to add a primitive type in a generic (since it's a
value type)?
- Why not considering everything an universal type (but then how to box
unbox it)?
- And do I tell a value type is a value type?


On 27 December 2017 at 12:13, Jay Askren <[email protected]> wrote:

> https://www.infoq.com/news/2017/11/ValueTypesNov10
>
>
> On Wednesday, December 27, 2017 at 7:54:11 AM UTC-7, Henri Tremblay wrote:
>>
>> Hi Rémi,
>>
>> Highly interesting.
>>
>> For those like me who are too lazy to read an annotated JVM spec, are you
>> aware of a quick summary of how it works somewhere? (over (how to specify
>> in Java code and API changes) and under (JVM instructions) the hood).
>>
>> Thanks,
>> Henri
>>
>> On 27 December 2017 at 07:30, Remi Forax <[email protected]> wrote:
>>
>>> Hi all,
>>> seeing the mail from Peter on how to avoid pointer chasing, instead of
>>> using off-heap data structure, use value types.
>>>
>>> Currently, there is a prototype, named the Minimal Value Type, that
>>> allows people to test value types inside the VM.
>>>
>>> The spec is here:
>>>   http://cr.openjdk.java.net/~dlsmith/values.html
>>>
>>> There are an early access build for Linux and MacOs
>>>   http://jdk.java.net/valhalla/
>>>
>>> The version of ASM that let you generate the new bytecodes is here:
>>>   https://gitlab.ow2.org/asm/asm/tree/MINIMAL_VALUE_TYPE
>>> and you can also get compiled version here:
>>>   https://github.com/forax/valuetypify/tree/master/deps
>>>
>>> You can use the valuetypifier, that transform Java 8 code to code with
>>> value types
>>>   https://github.com/forax/valuetypify
>>>
>>> regards,
>>> Rémi
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "mechanical-sympathy" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "mechanical-sympathy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to