[Haskell-cafe] External representation of GHC bytecode

Brandon Allbery allbery.b at gmail.com
Tue Dec 9 11:02:45 UTC 2014

On Tue, Dec 9, 2014 at 5:27 AM, Sean Seefried <sean.seefried at gmail.com>

> If the bytecode could be made
> to be platform independent -- and I know this would be a *lot* of work --
> then we'd have a pretty good solution for Template Haskell with cross
> compilers, wouldn't we?

I think you're missing the point a bit; such a setup would work for runghc,
but TH needs to be aware of both the host (in this case that'd be a
platform-independent VM bytecode) and the target (since it is generating
AST splices for a specific target). The latter is much harder than the

brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141209/ffc7fa7d/attachment.html>

More information about the Haskell-Cafe mailing list