On Friday, 13 September 2013 at 06:24:26 UTC, Jacob Carlborg
wrote:
On 2013-09-10 14:54, Olivier Grant wrote:
First of all, I very much enjoyed the talk. It was as
interesting as it
was entertaining.
Yes, I enjoyed it as well.
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?
In D it seems that currently the preferred way to compile a
project is to compile all the source at once using RDMD or
similar. Isn't that a great opportunity for full program
analysis to do devirtualization?
No because export is ill defined. But it definitively should.