[Haskell-cafe] Design of an extensible system

Paul aquagnu at gmail.com
Tue Jul 24 12:15:46 UTC 2018


24.07.2018 13:29, Marc Busqué wrotes:
> On Tue, 24 Jul 2018, Paul wrote:
>
>> you can not load them dynamically, but can turn-on/off dynamically
>> (from a list of pre-installed plugins).
>
> Sorry if it's an obvious question, but, how do you do it?
Depends on architecture. Suppose, plugins will be compiled with the 
application and will be "registered" in some container (list, for 
example). So, the turn-off will remove them from the list / will mark 
them with some flag as "disabled". So, your pipeline will skip them.

As I understand you have cases:
- plugins are DLLs
- plugins are statically linked with application but can be disabled 
individually
- plugins are EXEs, so easy can be found/called...

> Marc Busqué
> http://waiting-for-dev.github.io/about/



More information about the Haskell-Cafe mailing list