[IronPython] Questions and Best Practices for Script Runtime and Script Engine

2008-10-08 Thread Marty Nelson
I have a ScriptingService static class that reuses the same ScriptRuntime instance. Is there any reason not to do this? What would be the boundary conditions at which I would want to use a different ScriptRuntime? Does the call to scriptRuntime.GetEngine(py) always return the same engine

Re: [IronPython] Questions and Best Practices for Script Runtime and Script Engine

2008-10-08 Thread Dino Viehland
Each ScriptRuntime is isolated from each other. So the reasons to use multiple ones would come down to wanting to set different global options, have scripts belonging to different users running, have scripts running on multiple threads which are isolated, etc...It can also be useful to run