You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Different architectures are supported by having #if defined scattered around the codebase. Introducing a minimal platform abstraction API will simplify the code and lower its maintainance cost. E.g. turning
Where platformSpecificFunction is implemented in a separate file that can included only when relevant. Implementing the same API will also make sure all supported architectures provide the same features.
Different architectures are supported by having
#if defined
scattered around the codebase. Introducing a minimal platform abstraction API will simplify the code and lower its maintainance cost. E.g. turninginto
Where
platformSpecificFunction
is implemented in a separate file that can included only when relevant. Implementing the same API will also make sure all supported architectures provide the same features.This is rough sketch of platform-dependent APIs:
The text was updated successfully, but these errors were encountered: