If you had money to place for a bounty, what would you choose?

Iain Buclaw ibuclaw at gdcproject.org
Mon Dec 2 08:05:36 PST 2013


On 2 December 2013 12:17, Simen Kjærås <simen.kjaras at gmail.com> wrote:
> On 2013-12-02 12:14, Namespace wrote:
>>
>> On Monday, 2 December 2013 at 09:33:02 UTC, Dejan Lekic wrote:
>>>
>>> On Friday, 29 November 2013 at 13:44:10 UTC, Manu wrote:
>>>>
>>>> * ARC
>>>> * rvalue -> ref
>>>> * virtual-by-default
>>>> * GC improvements
>>>> * AA fixes
>>>>
>>>>
>>>> On 29 November 2013 07:01, Fra <Fra at b.it> wrote:
>>>>
>>>>> Personally I would love to see this old issue finally
>>>>> implemented/fixed:
>>>>> There can be only one alias this.
>>>>> https://d.puremagic.com/issues/show_bug.cgi?id=6083
>>>>>
>>>>> What would your choice be?
>>>
>>>
>>> I hope virtual-by-default never gets approved. I read DIP51 and quite
>>> frankly I am not convinced at all. It is basically "I do not want to
>>> put final in front of my methods. Well, I do not want to put virtual
>>> in front of my methods... But this is perhaps something for another
>>> discussion...
>>
>> final by default is far more efficient than virtual by default. So final
>> by default is preferable.
>
>
> Also, while a JIT may be able to devirtualize some functions, D compilers do
> not have that privilege.
>
>

There's actually some development being brewed up in GCC (and I've
heard ushers from LLVM too) around the ability to devirtualise
functions at compile time if it is able to prove that there is only
one place where the call can go based off the information built up
about type inheritance and basetypes.



More information about the Digitalmars-d mailing list