Programming languages and performance

via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 13 22:51:52 PDT 2015


On Tuesday, 14 April 2015 at 02:23:08 UTC, weaselcat wrote:
> On Tuesday, 14 April 2015 at 02:12:18 UTC, Walter Bright wrote:
>> On 4/13/2015 4:28 PM, Walter Bright wrote:
>>> https://www.reddit.com/r/programming/comments/32f4as/why_most_high_level_languages_are_slow/
>>> Good article, discussion is a bit lame.
>>
>> One of the reasons I've been range-ifying Phobos is not only 
>> to remove dependence on the GC, but often to eliminate 
>> allocations entirely, by removing the need for temporaries to 
>> hold intermediate results.
>>
>
> this is essentially fusion/deforestation, correct?

No. That would be to take two call chains and merge them into 
one. That's difficult to achieve when you have memory barriers.


More information about the Digitalmars-d mailing list