On 30/06/07, Mark Rages wrote: > On 6/29/07, wouter van ooijen wrote: > > > The Atmel AVR has good GCC support, so you might want to look > > > there. I'd be interested to see what kind of small embedded > > > application would actualy benefit from being coded in C++ though. > > > > exception handling => safety critical stuff > > Exceptions considered harmful: > http://www.joelonsoftware.com/items/2003/10/13.html Whilst he has a point, I'm at the moment working in an environment that works with return values that you have to check at every point. This is a lot worse - you not only have to check for any return value, but even if you know that if something is wrong in the subfunction and you just want your caller to know that (which is fairly common indirection, and that happens a lot on our systems) you have to explicitly pass that value up any number of times. Moreso, if you do not have an exceptional state, you wouldn't get an exception but you do get a return value that you must check. Exceptions can be programmed with. Return values cause a lot of code bloat that doesn't add any values. Solution: /learn/ to program with exceptions, don't reject them outright. Oh, and "Considered Harmful considered harmful", http://meyerweb.com/eric/comment/chech.html . Back to the original question, thanks for the replies and I'm going to get a small ARM sometime soon. Regards & thanks, Peter -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist