Version française
Home     About     Download     Resources     Contact us    
Browse thread
RE: [Caml-list] choosing modules at runtime
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sebastien.deMentendeHorne@e...
Subject: RE: [Caml-list] choosing modules at runtime


> 
> On Tue, 24 Sep 2002, Sebastien.deMentendeHorne@electrabel.com wrote:
> > Hmmm, by the way, if a plugin architecture is needed, are 
> we facing the same
> > problem ?
> 
> It depends. In most cases higher-order modules (i.e. 
> functors) are perfect
> tools for creating plugin architectures. Problems only sometimes arise
> when "plugins" are dynamically selected or even generated, 
> e.g. depending
> on some command-line switches. Then they can become somewhat 
> cumbersome
> to use. In such cases first-class modules would be fine.
> 
I looked at functors and they suffered of staticity.
The plugin we use are dynamically (runtime) selected and they should/could
be even generated at runtime, compiled, loaded and selected... I think that
plugins are most often used in a dynamic way so definitely, first-class
modules would be great.
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners