May 07, 2015
On 5/7/15 12:29 PM, Russel Winder via Digitalmars-d wrote:
> On Thu, 2015-05-07 at 07:36 -0700, Andrei Alexandrescu via Digitalmars-d
> wrote:
> […]
>>
>> Reference types don't compose nicely that way. In a language with valye
>> types, the juxtaposition of two items (value or reference) is a va;ue.
>> In Java, it's a reference (so you need to allocate a new object etc.)
>
> But that object is likely very short lived, and (especially with the G1
> GC), handled very efficiently. But as ever, without benchmarks and
> actual data there are no facts, only opinions.

Yah, my coworker had data (this is Facebook after all) and it was pretty damning. But that was on Dalvik which is AFAIK far behind state-of-the-art desktop VMs. -- Andrei

1 2 3
Next ›   Last »