On Sat, Sep 5, 2009 at 2:24 PM, Robert Dodier<[email protected]> wrote: > > Nils Bruin wrote: > >> WARNING: ecl is written to provide only one instance of its workspace. >> So whatever code is run will have to play nice with other components. >> In particular, it is not possible to have two maxima instances running >> in the same processes. I don't know how much global state maxima >> relies on. Probably by carefully encoding symbols, this problem can be >> minimized. > > Maxima has a lot of unorganized global state -- just a lot of so- > called > special variables. So there isn't any way at present to have multiple > independent instances in the same ECL process. > > At present all Maxima symbols are in the package (i.e. namespace) > named MAXIMA. It seems theoretically possible to create a new > package when Maxima is launched and define all symbols in that > new package. Then separate instances would have separate namespaces. > > The easiest way to get independent instances is via fork/exec. > I think ECL has those and other POSIX-ish functions. > Dunno if they work on Windows, if they exist. > > Thanks for your work on the Maxima/ECL/Sage combo. >
For the record, I don't think it will be any problem at all for Sage if there is exactly one Maxima/ECL library namespace. -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
