I am C++ enthusiast and I like to design and architecture my software with latest C++ features specially with templates, but I have been struggling hard to find a way.
The compiler we use for LynxOS-DO178 RTOS with PowerPC architecture is more than decade old, with poor optimization, lack of several features, and often times just ending up in "internal compiler error". Code bloating occurs with simple template instantiations, which could be easily remove with latest compilers. All ideas and innovative improvements are simply stopped by the fact that our compiler cannot support this and that.
I believe I could get a tool chain for my cross-platform development supporting somewhat latest versions of GNU GCC/G++. But not sure if that can be ever certified for DAL A SW.
We have now C++14, approaching to C++17, still I have this question do we have anything modern yet from C++ that sees "light of sun" on a critical SW ? What are the risks, cons, etc for a flight critical SW ?
Bjarne Stroustrup recently announced core C++ guidelines, that resolves around use of modern C++11/14 and templates, but can we ever use those on Flight DAL A SW ?
Not sure if this a right platform to discuss this, if someone knows a better platform please direct me to that.