Business Logic Architecture | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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)

21st Aug 2020, 6:12 PM
Yuval Toledo
Yuval Toledo - avatar
2 Answers
0
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.
25th Aug 2020, 12:27 AM
Benjamin Alejandro Luna
Benjamin Alejandro Luna - avatar
0
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.
26th Aug 2020, 10:10 AM
Yuval Toledo
Yuval Toledo - avatar