This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Converting GCC to compilation with C++


Robert Dewar:
> Gabriel Dos Reis wrote:
>
>> Robert Dewar:
>>
>>>Kai Henningsen wrote:
>>>
>>>
>>>>Now explain how, when you do *the exact same thing* with virtual
>>>>functions
>>>>or with function pointers, *all* the considerations you listed do not
>>>>either apply equally to both sides, or else prefer the virtual function
>>>>side.
>>>
>>>Of course a particular instance of the use of dynamic dispatching
>>>may present no problems.
>>
>>
>> But of course, you will not consider the issue at hand (this
>> particular use of dynamic dispatch),
>
> Er, I think you are not reading carefully what I said, or perhaps
> just misinterpreting. What I said, please reread, is that yes, this

I read them carefully and did refrain myself from practicing
the statement-transmutation you seem to have excellence in.

If you go back to my comments that started this subthread, I've
been considering the current practice of "hooks" in GCC and
compared them to use of virtual functions.  Please would you
mind going check the GCC source, and come back telling
us why that pratice is much better/safer than use of virtual
function.  I'm not asking for irrelevant theory.  I'm just
suggesting to have a concrete look at the current practice
in GCC source.

I'm looking forward to seeing the result of your analyzis.

-- Gaby




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]