[Grace-core] Dialect Design Proposal

James Noble kjx at ecs.vuw.ac.nz
Mon Nov 26 20:20:32 PST 2012


On 27/11/2012, at 9:20 AM, Marco Servetto wrote:

> Well, my understanding was that new instances of modules was created

we can't really "instantiate" modules as the design is currently

> and that the communication between modules
> was the "functional" communication of the outer module that uses the
> submodules to work.
> What other kind of communication we are thinking about supporting?

so lets say one module provides access to GTK.
There may be global state associated with GTK (or a database or whatever)
that will be anchored in the module object...

> If we support statefull modules, sharing the instance of (private)
> submodules is going to have unpredictable behavior and/or breaking
> encapsulation.

well that's up to whoever programmed the module…

J


More information about the Grace-core mailing list