Thread overview | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
March 31, 2014 Increasing performance with static polymorphism (and other neat tricks) - blog post | ||||
---|---|---|---|---|
| ||||
http://atilanevesoncode.wordpress.com/2014/03/31/increasing-performance-with-static-polymorphism-and-other-neat-tricks/ http://www.reddit.com/r/programming/comments/21tszv/increasing_performance_with_static_polymorphism/ On hacker news as well, but we know how links to that go. Atila |
March 31, 2014 Re: Increasing performance with static polymorphism (and other neat tricks) - blog post | ||||
---|---|---|---|---|
| ||||
Posted in reply to Atila Neves | Atila Neves: > http://atilanevesoncode.wordpress.com/2014/03/31/increasing-performance-with-static-polymorphism-and-other-neat-tricks/ >I left ldc out because its frontend (at least the package currently available on Arch Linux) is older and can’t compile the code,< There are updated LDC2 versions here: https://github.com/ldc-developers/ldc/releases/ Bye, bearophile |
March 31, 2014 Re: Increasing performance with static polymorphism (and other neat tricks) - blog post | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | I figured, but I try not to have to compile my own binaries. I'm running Arch Linux so I can get the new and shiny toys without having to! :P
When it gets released and package I might add its numbers to the tables.
Atila
On Monday, 31 March 2014 at 15:04:20 UTC, bearophile wrote:
> Atila Neves:
>
>> http://atilanevesoncode.wordpress.com/2014/03/31/increasing-performance-with-static-polymorphism-and-other-neat-tricks/
>
>>I left ldc out because its frontend (at least the package currently available on Arch Linux) is older and can’t compile the code,<
>
> There are updated LDC2 versions here:
> https://github.com/ldc-developers/ldc/releases/
>
> Bye,
> bearophile
|
March 31, 2014 Re: Increasing performance with static polymorphism (and other neat tricks) - blog post | ||||
---|---|---|---|---|
| ||||
Posted in reply to Atila Neves | On Monday, 31 March 2014 at 14:00:28 UTC, Atila Neves wrote:
> http://atilanevesoncode.wordpress.com/2014/03/31/increasing-performance-with-static-polymorphism-and-other-neat-tricks/
>
> http://www.reddit.com/r/programming/comments/21tszv/increasing_performance_with_static_polymorphism/
>
> On hacker news as well, but we know how links to that go.
>
> Atila
What about -inline and -noboundscheck ?
|
March 31, 2014 Re: Increasing performance with static polymorphism (and other neat tricks) - blog post | ||||
---|---|---|---|---|
| ||||
Posted in reply to Atila Neves | On Monday, 31 March 2014 at 14:00:28 UTC, Atila Neves wrote:
> http://atilanevesoncode.wordpress.com/2014/03/31/increasing-performance-with-static-polymorphism-and-other-neat-tricks/
>
> http://www.reddit.com/r/programming/comments/21tszv/increasing_performance_with_static_polymorphism/
>
> On hacker news as well, but we know how links to that go.
>
> Atila
What's the title on Hackernews? I can't seem to find it.
|
March 31, 2014 Re: Increasing performance with static polymorphism (and other neat tricks) - blog post | ||||
---|---|---|---|---|
| ||||
Posted in reply to Meta | On Monday, 31 March 2014 at 15:22:23 UTC, Meta wrote:
> What's the title on Hackernews? I can't seem to find it.
Eh, nevermind, found it. Hackernews really needs a search function.
|
March 31, 2014 Re: Increasing performance with static polymorphism (and other neat tricks) - blog post | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | Good question. I forgot about those. I wish it was easier to do release builds with dmd. Gonna try that out now.
Atila
On Monday, 31 March 2014 at 15:20:52 UTC, John Colvin wrote:
> On Monday, 31 March 2014 at 14:00:28 UTC, Atila Neves wrote:
>> http://atilanevesoncode.wordpress.com/2014/03/31/increasing-performance-with-static-polymorphism-and-other-neat-tricks/
>>
>> http://www.reddit.com/r/programming/comments/21tszv/increasing_performance_with_static_polymorphism/
>>
>> On hacker news as well, but we know how links to that go.
>>
>> Atila
>
> What about -inline and -noboundscheck ?
|
March 31, 2014 Re: Increasing performance with static polymorphism (and other neat tricks) - blog post | ||||
---|---|---|---|---|
| ||||
Posted in reply to Meta | On 03/31/2014 05:24 PM, Meta wrote: > On Monday, 31 March 2014 at 15:22:23 UTC, Meta wrote: >> What's the title on Hackernews? I can't seem to find it. > > Eh, nevermind, found it. Hackernews really needs a search function. Perhaps we should start linking to this one instead? https://hn.algolia.com/#!/story/forever/0/Increasing%20performance%20with%20static%20polymorphism%20(and%20other%20neat%20tricks) |
March 31, 2014 Re: Increasing performance with static polymorphism (and other neat tricks) - blog post | ||||
---|---|---|---|---|
| ||||
Posted in reply to Atila Neves | I updated the results. Using those two options brings dmd a lot closer to gdc and even surpasses it in one benchmark. Interesting.
Atila
On Monday, 31 March 2014 at 15:41:43 UTC, Atila Neves wrote:
> Good question. I forgot about those. I wish it was easier to do release builds with dmd. Gonna try that out now.
>
> Atila
>
> On Monday, 31 March 2014 at 15:20:52 UTC, John Colvin wrote:
>> On Monday, 31 March 2014 at 14:00:28 UTC, Atila Neves wrote:
>>> http://atilanevesoncode.wordpress.com/2014/03/31/increasing-performance-with-static-polymorphism-and-other-neat-tricks/
>>>
>>> http://www.reddit.com/r/programming/comments/21tszv/increasing_performance_with_static_polymorphism/
>>>
>>> On hacker news as well, but we know how links to that go.
>>>
>>> Atila
>>
>> What about -inline and -noboundscheck ?
|
March 31, 2014 Re: Increasing performance with static polymorphism (and other neat tricks) - blog post | ||||
---|---|---|---|---|
| ||||
Posted in reply to Atila Neves | On 3/31/14, 7:00 AM, Atila Neves wrote: > http://atilanevesoncode.wordpress.com/2014/03/31/increasing-performance-with-static-polymorphism-and-other-neat-tricks/ > > > http://www.reddit.com/r/programming/comments/21tszv/increasing_performance_with_static_polymorphism/ > > > On hacker news as well, but we know how links to that go. To search hackernews: https://hn.algolia.com. Here: https://hn.algolia.com/#!/story/forever/prefix/0/static%20polymorphis Andrei |
Copyright © 1999-2021 by the D Language Foundation