[Haskell-cafe] Caching functions compiled with llvm-hs

Tom Westerhout kot.tom97 at gmail.com
Sun Jul 12 10:35:24 UTC 2020

On 12/07/2020, Henning Thielemann <lemming at henning-thielemann.de> wrote:
> On Sun, 12 Jul 2020, Tom Westerhout wrote:
>> The part that feels wrong here is that one has to create a new Module
>> for every single function. I always thought of LLVM Modules as kind of
>> compilation units.
> Right. Your module can contain multiple functions and they are compiled
> and optimized together by LLVM. But if you want to cache every single
> function then a one-function-module is fine.

Ah that settles it then. Thanks a lot!


More information about the Haskell-Cafe mailing list