Re: Interface vs pure abstract class - speed.

2013-05-13 Thread Sean Cavanaugh
On 5/12/2013 12:31 PM, SundayMorningRunner wrote: Hello, let's say I have the choice between using an abstract class or an interface to declare a "plan", a "template" for the descendants. From the dmd compiler point of view, should I use the abstract class version (so I guess that for each meth

Re: Interface vs pure abstract class - speed.

2013-05-12 Thread D-Ratiseur
On Sunday, 12 May 2013 at 18:45:29 UTC, Maxim Fomin wrote: On Sunday, 12 May 2013 at 18:21:14 UTC, SundayMorningRunner wrote: On Sunday, 12 May 2013 at 18:14:51 UTC, Maxim Fomin wrote: On Sunday, 12 May 2013 at 17:31:22 UTC, SundayMorningRunner wrote: Hello, let's say I have the choice between

Re: Interface vs pure abstract class - speed.

2013-05-12 Thread Maxim Fomin
On Sunday, 12 May 2013 at 18:21:14 UTC, SundayMorningRunner wrote: On Sunday, 12 May 2013 at 18:14:51 UTC, Maxim Fomin wrote: On Sunday, 12 May 2013 at 17:31:22 UTC, SundayMorningRunner wrote: Hello, let's say I have the choice between using an abstract class or an interface to declare a "plan"

Re: Interface vs pure abstract class - speed.

2013-05-12 Thread SundayMorningRunner
On Sunday, 12 May 2013 at 18:14:51 UTC, Maxim Fomin wrote: On Sunday, 12 May 2013 at 17:31:22 UTC, SundayMorningRunner wrote: Hello, let's say I have the choice between using an abstract class or an interface to declare a "plan", a "template" for the descendants. From the dmd compiler point of

Re: Interface vs pure abstract class - speed.

2013-05-12 Thread SundayMorningRunner
On Sunday, 12 May 2013 at 18:00:10 UTC, Diggory wrote: On Sunday, 12 May 2013 at 17:31:22 UTC, SundayMorningRunner wrote: Hello, let's say I have the choice between using an abstract class or an interface to declare a "plan", a "template" for the descendants. From the dmd compiler point of vi

Re: Interface vs pure abstract class - speed.

2013-05-12 Thread Maxim Fomin
On Sunday, 12 May 2013 at 17:31:22 UTC, SundayMorningRunner wrote: Hello, let's say I have the choice between using an abstract class or an interface to declare a "plan", a "template" for the descendants. From the dmd compiler point of view, should I use the abstract class version (so I guess t

Re: Interface vs pure abstract class - speed.

2013-05-12 Thread Diggory
On Sunday, 12 May 2013 at 17:31:22 UTC, SundayMorningRunner wrote: Hello, let's say I have the choice between using an abstract class or an interface to declare a "plan", a "template" for the descendants. From the dmd compiler point of view, should I use the abstract class version (so I guess

Interface vs pure abstract class - speed.

2013-05-12 Thread SundayMorningRunner
Hello, let's say I have the choice between using an abstract class or an interface to declare a "plan", a "template" for the descendants. From the dmd compiler point of view, should I use the abstract class version (so I guess that for each method call, there will be a few MOV, in order to ex