On 04/11/2012 02:10 AM, Eric Botcazou wrote:
Expressing an idea in C takes me more lines (roughly 2-3 fold) than
in C++, so I am a bit puzzled by your observation.

We're specifically discussing vec.[ch] here, which is a clever attempt at
implementing vectors in C, with macro magic all over the place.

So can someone convert vec.[ch] on a branch so that we can see exactly what the cost/benefits are for situation that most believe is the most compelling for switching?

If that's successful, then propose and convert second hunk on that same branch to show that the benefits aren't isolated to vec.[ch].

I tend to think there's benefit to moving to a subset of C++, but I have some of the concerns raised by Jakub and others. Being able to see firsthand how the code changes from a readability standpoint, how the changes affect compilation speed, bootstrap times, debugability, etc would be a big step towards relieving some of those concerns.

Jeff

Reply via email to