Explanation
Explanation
Discussion that clarifies and illuminates. The “why” behind the code: the problem, the design choices, the costs, and the comparison with the project PWRS is modeled on.
The problem PyO3 does not have, the four mechanisms considered, and the one chosen.
The generated shell, the append-only vtable, the native exports, and the two rules that hold at the boundary.
What one invocation costs, piece by piece, and how each piece was measured.
How one build serves PowerShell 7 from 7.4 on and Windows PowerShell 5.1 on .NET Framework.
Concept by concept: what carried over, what had to change, what each has that the other lacks.