[GHC] #14882: memchr#

GHC ghc-devs at haskell.org
Fri Mar 9 14:34:47 UTC 2018


#14882: memchr#
-------------------------------------+-------------------------------------
        Reporter:  andrewthad        |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4472
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 So I'm a bit unsure of how to proceed. On one hand, I can see the argument
 for consistency and having a uniform interface to these primitives across
 Haskell implementations (e.g. GHC, GHCJS, an eventual WebAssembly
 implementation, Eta) is nice. On the other, this uniform interface could
 likely be as-easily provided in a library.

 Given the relatively small size of the patch and the fact that we seem to
 agree that this will be the last such primop (since this is indeed the
 only C99 memory primitive that we lack), I'm not particularly opposed to
 merging it.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14882#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list