jeudi 16 mars 2017

Design pattern for HAL implementation in C++

do you have any suggestion of a design pattern or technique for implementing a hardware abstraction layer in C++, so that I can easily switch between platforms at build time? I was thinking of using something like the bridge pattern I read about in GoF or C++ templates, but I'm not sure if this is the best choice.

Aucun commentaire:

Enregistrer un commentaire