Dynamically loading and unloading (C) object files
Andrew Farmer
afarmer at ittc.ku.edu
Fri Nov 1 15:50:19 UTC 2013
The published version of that paper in the ACM digital library...
http://dl.acm.org/citation.cfm?id=1017478
On Thu, Oct 31, 2013 at 5:10 PM, Edward Z. Yang <ezyang at mit.edu> wrote:
> > So that leads me to wonder: are there limitations that we should be
> > aware of? Have I simply been lucky so far?
>
> If you are loading Haskell code, you will need to be very careful to
> make sure you load all of the dependencies as well. There are a number
> of plugins packages and a paper:
> http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.9.7627
>
> GHC API changes a lot, so it's easy for these packages to get bitrotted.
>
> The upcoming release of GHC will run constructors (link-time
> initializers), but will not run destructors.
>
> There is only partial support for weak symbols.
> http://ghc.haskell.org/trac/ghc/ticket/3333
>
> Edward
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20131101/be995a8d/attachment.html>
More information about the ghc-devs
mailing list