[foreign-memaccess] RFR 8235837: Memory access API refinements
John Rose
john.r.rose at oracle.com
Wed Jan 8 21:25:51 UTC 2020
Yep.
I’m happy with either add or addOffset, very slight preference to the latter.
Longer names feel too bulky to me for such a basic operation.
> On Jan 8, 2020, at 11:25 AM, Jim Laskey <james.laskey at oracle.com> wrote:
>
> Probably should be MemoryAddress addOffset(long offset) (+0.01)
>
>> On Jan 8, 2020, at 3:22 PM, Jim Laskey <james.laskey at oracle.com> wrote:
>>
>> +0.99
>>
>>> On Jan 8, 2020, at 3:11 PM, Maurizio Cimadamore <maurizio.cimadamore at oracle.com> wrote:
>>>
>>>
>>> On 08/01/2020 18:59, Maurizio Cimadamore wrote:
>>>> Am I the only one finding the use of the 'relative' word confusing here? E.g. that "relativeTo" seems to suggest re-interpreting of same memory location, rather than a change in the addressed location.
>>>
>>> Proposal - let's just have:
>>>
>>> long offset()
>>>
>>> MemoryAddress add(long offset)
>>>
>>> where the offset in add is allowed to be negative.
>>>
>>> Deal?
>>>
>>> Maurizio
>>>
>>
>
More information about the panama-dev
mailing list