DataCon tag value convention

Sebastian Graf sgraf1337 at gmail.com
Wed Feb 12 19:34:14 UTC 2020


You probably couldn't do pointer tagging
<https://gitlab.haskell.org/ghc/ghc/wikis/commentary/rts/haskell-execution/pointer-tagging>
anymore, which is probably a substantial performance loss.

Am Mi., 12. Feb. 2020 um 19:58 Uhr schrieb Csaba Hruska <
csaba.hruska at gmail.com>:

> Hello,
>
> In theory could GHC codegen work if every data constructor in the whole
> program  have a globally unique tag value instead of starting from 1 for
> each algebraic data type?
> Would this break any GHC design decision?
>
> Regards,
> Csaba
> _______________________________________________
> 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/20200212/58bce4b8/attachment.html>


More information about the ghc-devs mailing list