use UniqSupply in FastString?

Nicolas Frisby nicolas.frisby at gmail.com
Sat Jul 6 02:24:39 CEST 2013


>
> In other words, we always "load" a tiny special plugin that does the
> 'reinitializeGlobals` call and is otherwise a noop. Since all plugins share
> the some dynamically loaded library, we just need 'reinitializeGlobals` to
> be called once, no matter how many plugins are loaded. Then the actual
> plugins wouldn't need to know about the whole fiasco.
>

Realized: this is bogus, isn't it? There's nothing prevent a plugin from
being compiled with its own "static" copy of libHSghc, is there? There
could be more than two images of libHSghc in play at any given time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130705/1e03279b/attachment.htm>


More information about the ghc-devs mailing list