SV: [Haskell-cafe] RFC: "Native -XCPP" Proposal
Brandon Allbery
allbery.b at gmail.com
Thu May 21 16:02:57 UTC 2015
On Thu, May 21, 2015 at 11:51 AM, Herbert Valerio Riedel <hvriedel at gmail.com
> wrote:
> Performance isn't (my) motivation for avoiding fork/exec (and the
> equivalent on Win32) but rather avoiding the added complexity of
> marshalling/IPC with fork/exec, as opposed to simply calling into a
> native Haskell function and crossing process boundaries and having to
> deal with the various things that can go wrong with the additional
> moving parts you encounter when controlling an external process. So this
> would IMO simplify code paths, and moreover I'd expect opportunities to
> actually make the Haskell cpphs API richer (in case it isn't already)
> and more tailored to GHC's lexer/parser pipeline and error-reporting.
Don't you still have to support -pgmF?
--
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://mail.haskell.org/pipermail/ghc-devs/attachments/20150521/9e76cc72/attachment.html>
More information about the ghc-devs
mailing list