[Haskell-cafe] Re: Some great results on fused code with the LLVM backend

Felipe Lessa felipe.lessa at gmail.com
Wed Feb 24 20:22:23 EST 2010


On Wed, Feb 24, 2010 at 01:28:56PM -0500, Edward Kmett wrote:
> > * GHC/LLVM bytecode with JIT-option?
>
> There is little preventing this one.

Oh, what a great idea!  C code being inlined into Haskell
functions! :D

If clang were used to compile the C code into LLVM IR, and
everything were linked by LLVM, bang!, the link-time optimizer
would take care of inlining cheap functions into Haskell code
that uses them.

Cheers, =)

--
Felipe.


More information about the Haskell-Cafe mailing list