Is there any reason to use C instead of C++ for embedded development?

后端 未结 30 3698
既然无缘
既然无缘 2020-11-30 17:20

Question

I have two compilers on my hardware C++ and C89

I\'m thinking about using C++ with classes but without polymorphism (to avoid vtables). The main r

30条回答
  •  醉酒成梦
    2020-11-30 18:09

    I've just found an example how to use ISO C++ for embedded development, that could interesting for someone that is making the decision whenever use C++ or C.

    It was provided by Bjarne Stroustrup at his homepage:

    For a look at how ISO C++ can be used for serious embedded systems programming, see the JSF air vehicle C++ coding standards.

提交回复
热议问题