[C++-sig] Re: Re: sub module support in V2

holger krekel pyth at devel.trillke.net
Fri Jun 7 23:26:39 CEST 2002


David Abrahams wrote:
> [me]
> > Ralf W. Grosse-Kunstleve wrote:
> > > Interesting discussion. I am still wondering, though, why support for
> > > sub-modules is important. What can be done with sub-modules that cannot
> be done
> > > within the framework of a regular Python package?
> >
> > IMO submodules allow nice grouping of related classes/functions internal
> > to a module. Isn't this question semantically similar to the question of
> > why to have namespaces like ns1::subns:anothersubns... in C++?
> 
> Sure, but you can do that with packages and separately-compiled extension
> modules for each submodule. Is there some great advantage to being able to
> compile a bunch of submodules into a single object?

well, actually i don't know because i haven't tried. i am going to try
to use boost::python to wrap up parts of ACE (adaptive communication
environment) putting it all together with SCons. Maybe after my first
attempts i can say if there any advantages on either side :-)

btw, when do you think would be a good time to try to use V2 "seriously"?
i am willing to bleed but not to die :-)

> > Just wondering,
> >
> me-too-ly y'rs,

me-still-ly y'rs,

    holger





More information about the Cplusplus-sig mailing list