Portability instead of hardware-specific programming with modern c++

Portability instead of hardware-specific programming with modern C ++

Who wants to program hardwareAh for embedded systems, usually need to program hardware-specific – so the continued amption, but that’s true? As Tobias Kotulla and Dirk Petrautzki show in the current October-IX, with modern C ++ more portability with consistently slender Binaries.

The best way from the close hardware link is C ++ meta programming with its variably recursive templates. However, developers must observe the incompatibilities between the C code parts, for example when treating interrupts and the C ++ template classes.

In the end, the embedded developer is faced with an increased complexity. But the benefits of portability, attractiveness and maintainability overweight. Details and practical tips find programmers in the article.

In addition, a second article dedicated to ix 10/2020 Generic code with the type Traits of the standard library. This is a meta programming technology that allows you to query type properties for compilation time. With Traitits classes, the developer conserves modularly expandable code as they collect type-specific code and isolate from the rest.

How exactly works, Detlef Wilkening explains in the article. Further topics of October-ix Among other things, the security in the Active Directory, efficient software tests and a market inspection to Edge servers.

Like this post? Please share to your friends:
Leave a Reply

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: