A few notes on choosing between Go and D for a quick project

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 20 17:39:28 PDT 2015


On 3/20/15 1:31 PM, Walter Bright wrote:
> On 3/20/2015 3:59 AM, Paulo Pinto wrote:
>> On Friday, 20 March 2015 at 10:50:44 UTC, Walter Bright wrote:
>>> Since 'line' is never referred to again after constructed, even a simple
>>> optimizer could elide it.
>>>
>>> It would be easy to test - accumulate the lines in an array, and
>>> check the times.
>>
>> Which the default Python implementation doesn't have, hence my comment.
>
> After all these years, the default Python implementation doesn't do
> fairly basic optimizations? I find that a bit hard to believe.

It's in all likelihood the truth. -- Andrei


More information about the Digitalmars-d mailing list