[GHC] #14741: High-memory usage during compilation using Template Haskell

GHC ghc-devs at haskell.org
Wed Feb 7 00:47:30 UTC 2018


#14741: High-memory usage during compilation using Template Haskell
-------------------------------------+-------------------------------------
        Reporter:  donatello         |                Owner:  sighingnow
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4384
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by donatello):

 I want to embed some static assets used by my program (which is also built
 as a static binary), into the binary itself to enable easy
 distribution/deployment - simply download and execute a single (binary)
 file. It is quite common in some other languages (e.g.
 https://github.com/elazarl/go-bindata-assetfs#readme).

 Due to this issue, I am currently reading the static assets in at start,
 but I would prefer to build all the assets into the binary itself.

 The PPA does not seem to have the most recent commits, so I will for it to
 be updated before I try this out.

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


More information about the ghc-tickets mailing list