[ghc-steering-committee] Winapi pseudo calling conv (#277) --- recommendation: accept

Simon Marlow marlowsd at gmail.com
Mon Sep 23 07:05:48 UTC 2019


Sounds good to me.

Cheers
Simon

On Sun, 22 Sep 2019 at 07:44, Sandy Maguire <sandy at sandymaguire.me> wrote:

> Hi all,
>
> Proposal 277 is on the topic of a psuedo calling convention for windows,
> where on x86 you need to use `stdcall`, but on x86_64 it should be `ccall`.
> The base and Win32 packages both use extensive amounts of CPP to work
> around this.
>
> This proposal is to add a `winapi` calling convention that does the right
> thing regardless of the platform architecture.
>
> With the caveat that I am not well versed in FFI or Windows, *my
> recommendation is to accept. *This is a very small proposal that can
> immediately be used to clean up over 650 CPP invocations throughout the
> ecosystem. It's clearly a problem that people are running into, and we
> should focus on easy quality of life improvements.
>
> As usual, silence will be considered assent!
>
> Best,
> Sandy
>
> --
> I'm currently travelling the world, sleeping on people's couches and doing
> full-time collaboration on Haskell projects. If this seems interesting to
> you, please consider signing up as a host!
> https://isovector.github.io/erdos/
> _______________________________________________
> ghc-steering-committee mailing list
> ghc-steering-committee at haskell.org
> https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-steering-committee/attachments/20190923/a97ed86d/attachment.html>


More information about the ghc-steering-committee mailing list