
On Tue, 2007-09-25 at 11:18 +0100, Joel Holdsworth wrote:
I have felt though, for several reasons for quite some time that if at all possible, it would be much better to load python as a library, rather than as a process. First, because in windows processes take a long time to start, so the interactivity of extensions will always be very bad. Second, because of this window problem. Third, because it seems much more elegant to introduce the parameter values programmatically rather than as arguments on a command line. It would be quite a change, but I think the python-as-a-library approach would represent a substantial improvement.
I agree. Time is the only restricting factor on this.
But, not to confuse the issue, there are two things that we can talk about on this subject. One, is the execution of our current effects in an embedded python instance. This would allow them to parse once, and make live preview much faster. Two, is adding the ability for python scripts when running in Inkscape to access more Inkscape internals.
I believe that one could, and should, be implemented before two. Also, that it would provide significant benefit to users.
--Ted