Thank you all for the help. May be I worded wrongly. I was not looking
for dynamic loading of plugin, but static. I read Apache server is
written in C, and still uses modules/plugins for extending basic
functionality. I do not mind changing the configuration file and
recompiling when I install new plugin. What I really was looking for a
go way of implementing an architecture where others can extend the
core functionality through plugins. I have very basic idea of hooks
and template pattern, but if there an implementation in go as an
example, I could see how to do it idiomatic go.
thanks
On Oct 4, 3:55 pm, Alexey Gokhberg <express...@unicorn-
enterprises.com> wrote:
> There is little to say about the plugin architecture in Go since the
> present Go implementations do not (yet?) support dynamic module
> loading.
>
> Here however you can find a description of the virtual machine that
> has been used with one of Go predecessors did support dynamic modules:
>
>
http://doc.cat-v.org/inferno/4th_edition/dis_VM_specification
>
> Diligent study of this text can reveal a lot about the design of
> architectures of this kind.
>
> And this is a classical book describing in the very detail design and
> architecture of another system based on dynamic modules:
>
>
http://www.amazon.de/Project-Oberon-Design-Operating-Compiler/dp/0201...