Partly rewriting gengtype in C++ ?
Diego Novillo
dnovillo@google.com
Fri Mar 2 18:56:00 GMT 2012
On Fri, Mar 2, 2012 at 13:45, Laurynas Biveinis
<laurynas.biveinis@gmail.com> wrote:
> 2012/3/2 Diego Novillo <dnovillo@google.com>:
>> It already is. We bootstrap in C++ mode. I don't see a problem starting to
>> move some code to C++. Whether this is a good chunk of code to convert is
>> another question.
>
> Sorry, I should have been more precise and said "not the best first
> module choice to convert to C++ and lose the ability to go back to
> building in C."
I do not think we should look back. Trying to retain the ability to
go back to C should not influence our design.
> I agree that such conversion will have to be done at some point, but
> I'm not sure if a big rewrite should happen way before the rest of the
> code will start to use gengtype-annotated C++ data structures.
Wait, I don't follow. gengtype supporting C++ data structures is
different than writing gengtype in C++.
Diego.
More information about the Gcc
mailing list