[Openocd-development] New object-orientated C++ architecture for OpenOCD?

2009-12-09 Thread Pieter Conradie
Hi everyone, Flamewar protection on I just glance at the mailing list chatter, so please excuse if my suggestion/comment is completely off the wall/misinformed/completely wrong and please ignore it if that's the case. I get the impression that you (the developers) are butting your head

Re: [Openocd-development] New object-orientated C++ architecture for OpenOCD?

2009-12-09 Thread Alan Carvalho de Assis
Hi Pieter, On 12/9/09, Pieter Conradie pieter.conra...@psitek.com wrote: Hi everyone, Flamewar protection on I just glance at the mailing list chatter, so please excuse if my suggestion/comment is completely off the wall/misinformed/completely wrong and please ignore it if that's the case.

Re: [Openocd-development] New object-orientated C++ architecture for OpenOCD?

2009-12-09 Thread Dean Glazeski
Please search on mailing list archive, people already lost too much time discussion about it. I second this. There was a nice discussion about how the developers of OpenOCD tend to be more comfortable in C because of the embedded work they do. In addition, OpenOCD is built to run on some

Re: [Openocd-development] New object-orientated C++ architecture for OpenOCD?

2009-12-09 Thread Nicolas Pitre
On Wed, 9 Dec 2009, Pieter Conradie wrote: I get the impression that you (the developers) are butting your head against the limitations of C. What limitations? I never considered the C language to bare any limitations what so ever. You can do much more in C, and with way more control and

Re: [Openocd-development] New object-orientated C++ architecture for OpenOCD?

2009-12-09 Thread Freddie Chopin
Nicolas Pitre pisze: What limitations? I never considered the C language to bare any limitations what so ever. You can do much more in C, and with way more control and performance, than with most other languages. The inconvenient is that C requires better programming skills. And C

Re: [Openocd-development] New object-orientated C++ architecture for OpenOCD?

2009-12-09 Thread Albert ARIBAUD
Freddie Chopin a écrit : The overhead of C++ is also doubtful - when you know how to do it the overhead will be 0. BTW you also need to know how to do it to write C++-in-C, so... ... and this overhead is 0 when you know how to do it, isn't it? :) More seriously: I don't favor C over C++ or

Re: [Openocd-development] New object-orientated C++ architecture for OpenOCD?

2009-12-09 Thread Øyvind Harboe
This discussion comes up every so often. I don't see that anything has changed. There hasn't been any interest from the maintainers to switch and it would be a major undertaking to do this. Getting the consensus and convincing everybody to come on board would be a huge undertaking in itself. You

Re: [Openocd-development] New object-orientated C++ architecture for OpenOCD?

2009-12-09 Thread Nicolas Pitre
On Wed, 9 Dec 2009, Freddie Chopin wrote: Nicolas Pitre pisze: What limitations? I never considered the C language to bare any limitations what so ever. You can do much more in C, and with way more control and performance, than with most other languages. The inconvenient is that C

Re: [Openocd-development] New object-orientated C++ architecture for OpenOCD?

2009-12-09 Thread David Brownell
On Wednesday 09 December 2009, Freddie Chopin wrote: And C is amenable to object oriented programming just fine. Now replace C with assembler - this will still be perfectly true, but are there any sane ppl who write software for PC in assembly? To state the obvious: OpenOCD can run on

Re: [Openocd-development] New object-orientated C++ architecture for OpenOCD?

2009-12-09 Thread Michel Catudal
Freddie Chopin a écrit : Why everyone sees only the bad sides of C++ and completely forgets the good ones? Templates? Stronger compilation-time-error-checks? Easier error handling? Easier abstraction? Easier polymorphism? Easier - well - everything? I will never use C++ in my embedded