Business Logic Architecture
What is the best approach in order to build business logic using c++ in today's platform.(AWS, Google, etc..) The main approach is that code should be movable in a very easy way from one platform to the other? (The only solution that I found that the hybrid approach using Microsoft based VMs along with the above platforms will fullfill it)
8/21/2020 6:12:36 PMYuval Toledo
2 AnswersNew Answer
Virtual machines are very bad ideas, is easy but they don't really fullfill. As an example, months ago I was traying to run a code that requires access to GPU, with the virtual machine that was imposible. The best approach (as I can see) is conditional compilation.
From my point of view, it is imperative to make sure that c++ business logic will remain the same in different environments. (AWS, Google, Azure,etc...) The conditional compilation will not assist me to fulfill this purpose. On the other hand, there are ways to make sure to run from the VM that hosts c++ code using visual studio 2019 along with 3rd party tools.