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: Markus Mottl <markus@o...>
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.

Best regards,
Markus Mottl

-- 
Markus Mottl                                             markus@oefai.at
Austrian Research Institute
for Artificial Intelligence                  http://www.oefai.at/~markus
-------------------
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