I'm sure I'm not the only one who has been thinking about trying this, but I haven't really seen anyone discuss it. Let me explain: I work from home sitting in front of my own personal desktop PC. I RDP into my Windows laptop, running a decent i7 10th gen with 6 cores and 12 threads. However, my desktop is far better with an i9-12900K, and it completely dominates my work laptop, when it comes to compiling.
However, because of network rules and such, I cannot develop using my desktop PC at home, because my PC isn't on the same network (my work laptop is connected to a VPN). If I actually do run the project, I cannot connect to anything.
Therefore I was thinking, if it was possible to develop on the laptop, as I am doing right now, but whenever I want to compile, build, run with debugging enabled, and so on, all of that is handled on my desktop PC instead. It would speed up compilation time by a lot, which means I can develop faster and not wait for my IDE to respond.
Is something like this feasible? I'm guessing no, because of the complexity, but something like press build on work laptop -> PC at home builds -> PC at home ships binaries, DLLs, etc. back to work laptop -> work laptop starts debugger
should be doable.. but it's probably not something anyone has tried, because it sounds stupid.
EDIT: I should also clarify: We should not be running the code on our home machines. The company owns the code and its IP, and in some countries and areas, it would probably be considered stealing, if you have the code on your own machine. We will not be using our home PCs to cross compile, but rather something in Azure or in our local datacenter, just to remove as much stress from our laptops as possible.