There are a couple of problems with C++:

- there is no consensus to use it for OpenOCD. This will be
*hard* to arrive at since there are a lot of deeply embedded
developers that we need for OpenOCD to succeed.
- there is a lot of messy & nasty C++ libraries. I'd hate to see
something as simple as OpenOCD go overboard with cryptic
usage of templates, boost, stl, etc. libraries
- today OpenOCD can compile easily on deeply embedded
OS's, such as eCos, with C++ that gets a bit harder.


I believe that OpenOCD would benefit from some restrained
and cool-headed usage of C++ instead of all these virtual
method tables analogues, lack of exception handlnig and
less than robust resources tracking.... Perhaps define strict
rules for what C++ features & libraires that are acceptable


-- 
Øyvind Harboe
PayBack incident management system
Reduce costs and increase quality, free Starter Edition
http://www.payback.no/index_en.html
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to