On 10 September 2013 13:54, Olivier Grant <olivier.gr...@gmail.com> wrote:
> First of all, I very much enjoyed the talk. It was as interesting as it was
> entertaining.
>
> I do have a question regarding the talk's section on devirtualization. As a
> language that imposes virtual methods for classes, how well does D play when
> it comes to devirtualization? And on a side note, does D have a different
> way of implementing virtual methods than most C++ compilers do?
>

All class methods are virtual by default in D, unless declared 'final'.

Devirtualisation is not something done by the front-end, but recent
updates and interest from compiler back-ends may provide a solution.

-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';

Reply via email to