New primitive types?

Carter Schonwald carter.schonwald at gmail.com
Sun Sep 10 06:10:32 UTC 2017


I think it should be mostly fine... memory alignment is my main bugbear of
a worry, but I guess that requires experimentation 😊😊

On Sun, Aug 27, 2017 at 6:50 PM Michal Terepeta <michal.terepeta at gmail.com>
wrote:

> > On Thu, Aug 3, 2017 at 2:28 AM Sylvain Henry <sylvain at haskus.fr> wrote:
> > Hi,
> >
> > I also think we should do this but it has a lot of ramifications:
> contant folding in Core, codegen, TH, etc.
> >
> > Also it will break codes that use primitive types directly, so maybe
> it's worth a ghc proposal.
>
> Ok, a short proposal sounds reasonable.
>
> I don't think this would break a lot of code - based on a few searches
> it seems that people don't really extract `Int#` from
> `Int8/Int16/Int32` (similarly with words).
> Or am I missing something?
>
> Thanks,
> Michal
>
> PS. Sorry for slow reply - I was traveling.
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170910/f1ef62e4/attachment.html>


More information about the ghc-devs mailing list