This is what Microsoft did to make C# interop with Python including pip installl integration etc. They share memory to avoid heap duplication.