Dynamic/runtime loading with GHC

Andre Pang ozone@algorithm.com.au
Sun, 22 Sep 2002 00:19:11 +1000

Hi all,

I've whipped up an example tarball of how to do "runtime loading"
(similar to dynamic loading, a.k.a. dlopen() or LoadLibrary()) in
GHC.  You can find it here:


It's a little example stdin text filter program, that loads in .o
and .so "plugins" at runtime.  New in version 1.1 is the ability
to load .so files as plugins :).  I think that with a bit more
polish, we may even be able to rename this to a dynamic loader
one day.

Have fun!

#ozone/algorithm <ozone@algorithm.com.au>          - trust.in.love.to.save