This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: OOP and Relationship to the Guile Module System



> Here is beefed up version, ready for inspection.
> It supplies a CLOS like interface, inheritance,
> blah, blah, blah!  Have fun.  
> 
> Oh yah, it was slightly tested on Guile 1.3a.

This is completely astonishing... now you should re-implement the
module system in terms of your object system!  I'll bet they don't do
things like this on the Perl list, by golly.

Actually...

Mikael Djurfeldt was really hot to give Guile a Meta-Object Protocol,
which is (if my very shaky understanding serves me) a way to customize
the implementation of the object system itself, in a class-like
manner.  So, although the current module system isn't designed right
to give things like this reasonable performance, it's conceivable
that, by using different meta-classes, you could implement classes
this way and get decent performance.

But I must admit that I don't really understand the art of the
meta-object protocol... which I should...