On 4/4/12 5:06 AM, Richard Guenther wrote:
Btw, I think we should only start forcing C++ when 1) there is a branch/patch out that shows benefit from using C++. I previously mentioned that I'd like to see 2) a patch that _properly_ wraps a C++ class for consumption by our garbage collector (thus, not a hack that works for a specific case but infrastructure that we think will work for _all_ cases, including libstdc++ container use).
My idea was to start with something like converting VEC() which would require dealing with GC.
I did not intend to make the conversion and the switch as a single operation, however. Seemed like too much to change in a single patch.
So - I'll veto the switch unless I see 1) and 2). 1) and 2) can be combined by transitioning vec.h to a C++ template class, with proper GC support. (not sure that I can veto anything - heh)
Well, none of us can, really. Except maybe RMs in the context of release branches.
Diego.